- Update to 0.7.0
* Add an option to show the python path only * Separate free-threaded python from normal ones * Add support for uv installed python * Correct the uv python dir with platformdirs * Return the original python executable if resolve_symlink=True - Update BuildRequires and Requires from pyproject.toml OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-findpython?expand=0&rev=25
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
findpython-0.6.1.tar.gz
Normal file
3
findpython-0.6.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:56e52b409a92bcbd495cf981c85acf137f3b3e51cc769b46eba219bb1ab7533c
|
||||
size 17797
|
||||
3
findpython-0.6.2.tar.gz
Normal file
3
findpython-0.6.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e0c75ba9f35a7f9bb4423eb31bd17358cccf15761b6837317719177aeff46723
|
||||
size 17770
|
||||
3
findpython-0.6.3.tar.gz
Normal file
3
findpython-0.6.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5863ea55556d8aadc693481a14ac4f3624952719efc1c5591abb0b4a9e965c94
|
||||
size 17827
|
||||
3
findpython-0.7.0.tar.gz
Normal file
3
findpython-0.7.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8b31647c76352779a3c1a0806699b68e6a7bdc0b5c2ddd9af2a07a0d40c673dc
|
||||
size 18858
|
||||
103
python-findpython.changes
Normal file
103
python-findpython.changes
Normal file
@@ -0,0 +1,103 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 16 10:19:41 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 0.7.0
|
||||
* Add an option to show the python path only
|
||||
* Separate free-threaded python from normal ones
|
||||
* Add support for uv installed python
|
||||
* Correct the uv python dir with platformdirs
|
||||
* Return the original python executable if resolve_symlink=True
|
||||
- Update BuildRequires and Requires from pyproject.toml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 17:39:06 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 0.6.3
|
||||
* Refresh lockfile and fix deprecation warnings
|
||||
* Prefer 64bit Python interpreters
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 22 16:04:03 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.6.2:
|
||||
* Don't skip symlinks for rye provider
|
||||
* **ci**: Macos for old python versions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 20 14:05:16 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.6.1:
|
||||
* Ignore invalid version strinig from winreg
|
||||
- update to 0.6.0:
|
||||
* Support find by implementation
|
||||
- update to 0.5.0:
|
||||
* Add implementation property
|
||||
* Drop support for python 3.7
|
||||
* Find rye pythons with and without install directory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 5 17:47:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- drop revert-back-to-pdm-pep517.patch:
|
||||
try to resolve build cycle differently
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Use sle15_python_module_pythons
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 10 19:32:02 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.2.5:
|
||||
* UTF-8 encoding of shell command output on Windows
|
||||
* Findpython failed if PATH env contains folder
|
||||
with restricted access
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 15:18:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.2.4:
|
||||
* Check path access before is_dir to prevent PermissionError exceptions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 20 12:13:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.2.3:
|
||||
* Strip the local part in python version Fix #12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 8 00:26:09 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to 0.2.2
|
||||
* Prevent find_all exception when a clean pyenv is present - by @ferminho in #11
|
||||
* Don't parse as LegacyVersion - by @frostming (e3466)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 15 16:16:58 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.2.1
|
||||
* Fix the python detection logic to try the fast method first
|
||||
- Release 0.2.0
|
||||
* Allow provider to keep symlink even when resolve_symlinks is
|
||||
True
|
||||
- Fix requirements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 14 06:06:48 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Initial packaging for findpython 0.1.6.
|
||||
76
python-findpython.spec
Normal file
76
python-findpython.spec
Normal file
@@ -0,0 +1,76 @@
|
||||
#
|
||||
# spec file for package python-findpython
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-findpython
|
||||
Version: 0.7.0
|
||||
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
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module packaging >= 20}
|
||||
BuildRequires: %{python_module platformdirs >= 4.3.6}
|
||||
BuildRequires: %{python_module pdm-backend}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: git
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
Requires: python-platformdirs >= 4.3.6
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires: python-packaging >= 20
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Discover which versions of the Python interpreter are present on your
|
||||
system.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n findpython-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/findpython
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%post
|
||||
%python_install_alternative findpython
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative findpython
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/findpython
|
||||
%{python_sitelib}/findpython
|
||||
%{python_sitelib}/findpython-%{version}*-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user