commit 323c1fa3f32e1faa9a136e776eda0d2836901aa82c2b00754527bcbfa6a06783 Author: Nico Krapp Date: Tue Jun 3 13:33:20 2025 +0000 - Update to 0.6.3 * Refresh lockfile and fix deprecation warnings * Prefer 64bit Python interpreters OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-findpython?expand=0&rev=23 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/findpython-0.6.1.tar.gz b/findpython-0.6.1.tar.gz new file mode 100644 index 0000000..7a14629 --- /dev/null +++ b/findpython-0.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56e52b409a92bcbd495cf981c85acf137f3b3e51cc769b46eba219bb1ab7533c +size 17797 diff --git a/findpython-0.6.2.tar.gz b/findpython-0.6.2.tar.gz new file mode 100644 index 0000000..cd9af26 --- /dev/null +++ b/findpython-0.6.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0c75ba9f35a7f9bb4423eb31bd17358cccf15761b6837317719177aeff46723 +size 17770 diff --git a/findpython-0.6.3.tar.gz b/findpython-0.6.3.tar.gz new file mode 100644 index 0000000..a7e1918 --- /dev/null +++ b/findpython-0.6.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5863ea55556d8aadc693481a14ac4f3624952719efc1c5591abb0b4a9e965c94 +size 17827 diff --git a/python-findpython.changes b/python-findpython.changes new file mode 100644 index 0000000..5e2341d --- /dev/null +++ b/python-findpython.changes @@ -0,0 +1,92 @@ +------------------------------------------------------------------- +Mon Jun 2 17:39:06 UTC 2025 - John Paul Adrian Glaubitz + +- 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 + +- 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 + +- 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 + +- drop revert-back-to-pdm-pep517.patch: + try to resolve build cycle differently + +------------------------------------------------------------------- +Mon Dec 11 07:18:35 UTC 2023 - Steve Kowalik + +- 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 + +- Use sle15_python_module_pythons + +------------------------------------------------------------------- +Wed May 10 19:32:02 UTC 2023 - Dirk Müller + +- 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 + +- 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 + +- update to 0.2.3: + * Strip the local part in python version Fix #12 + +------------------------------------------------------------------- +Tue Nov 8 00:26:09 UTC 2022 - Yogalakshmi Arunachalam + +- 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 + +- 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 + +- Initial packaging for findpython 0.1.6. diff --git a/python-findpython.spec b/python-findpython.spec new file mode 100644 index 0000000..46eee7b --- /dev/null +++ b/python-findpython.spec @@ -0,0 +1,74 @@ +# +# 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.6.3 +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 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(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