14
0

- Update 0.4.1:

* feat: provider selector by @frostming in #20
  * feat: add support for RyeProvider
  * feat: Add way to filter providers by @bluss in #18
  * feat: add register_provider function and change ALL_PROVIDERS to a map
  * fix: don't import site-packages when running in-process scripts
  * Make GET_VERSION_TIMEOUT settable via env vars
  * Support allow_prereleases option
- Add patch revert-back-to-pdm-pep517.patch:
  * We need to use pdm-pep517, to avoid circular requirements.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-findpython?expand=0&rev=15
This commit is contained in:
2023-12-11 07:19:35 +00:00
committed by Git OBS Bridge
parent e169dc34d1
commit 482f1c4d7a
5 changed files with 33 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0fd473b4265e7e0e7843ec76feac8c0c441b869571f465befe9e695949069fe
size 16147

3
findpython-0.4.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d7d014558681b3761d57a5b2342a713a8bf302f6c1fc9d99f81b9d8bd1681b04
size 17487

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Dec 11 07:18:35 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update 0.4.1:
* feat: provider selector by @frostming in #20
* feat: add support for RyeProvider
* feat: Add way to filter providers by @bluss in #18
* feat: add register_provider function and change ALL_PROVIDERS to a map
* fix: don't import site-packages when running in-process scripts
* Make GET_VERSION_TIMEOUT settable via env vars
* Support allow_prereleases option
- Add patch revert-back-to-pdm-pep517.patch:
* We need to use pdm-pep517, to avoid circular requirements.
-------------------------------------------------------------------
Thu Jun 15 12:45:30 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -18,12 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-findpython
Version: 0.2.5
Version: 0.4.1
Release: 0
Summary: Utility to find python versions on your system
License: MIT
URL: https://github.com/frostming/findpython
Source: https://files.pythonhosted.org/packages/source/f/findpython/findpython-%{version}.tar.gz
# PATCH-FIX-OPENSUSE pdm requires findpython, so we need to use pdm-pep517
Patch0: revert-back-to-pdm-pep517.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module packaging >= 20}
BuildRequires: %{python_module pdm-pep517}

View File

@@ -0,0 +1,13 @@
Index: findpython-0.4.1/pyproject.toml
===================================================================
--- findpython-0.4.1.orig/pyproject.toml
+++ findpython-0.4.1/pyproject.toml
@@ -81,6 +81,6 @@ known-first-party = [
[build-system]
requires = [
- "pdm-backend",
+ "pdm-pep517",
]
-build-backend = "pdm.backend"
+build-backend = "pdm.pep517.api"