1
0

23 Commits

Author SHA256 Message Date
5fa3d1ed44 Accepting request 1278061 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1278061
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unearth?expand=0&rev=11
2025-05-20 07:35:30 +00:00
654d17fd09 - Update to 0.17.5
* Do not use Path.from_uri()
- from version 0.17.4
  * Git checkout with short commit hash

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unearth?expand=0&rev=23
2025-05-16 13:21:41 +00:00
d3d61a4140 Accepting request 1266819 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1266819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unearth?expand=0&rev=10
2025-04-03 14:50:38 +00:00
b665b4f299 - Update to 0.17.3
* Update contributing guidelines for rebase branch
  * Best match should be a pre-release if that's all the index has
  * Use stdlib Path <-> URL conversions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unearth?expand=0&rev=21
2025-04-03 09:01:58 +00:00
09b2e77232 Accepting request 1204011 from devel:languages:python
- Update to 0.17.2:
  * Really drop python<=3.7 support
  * Don't show warning message when no netrc exists
  * Show warning message when failing to parse netrc file
  * Report download status when checking out vcs repo
  * Allow using local file:// locations with find_links and index_urls
  * New method check_wheel_tags for override

OBS-URL: https://build.opensuse.org/request/show/1204011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unearth?expand=0&rev=9
2024-09-27 15:11:11 +00:00
cc07b1815e - Update to 0.17.2:
* Really drop python<=3.7 support
  * Don't show warning message when no netrc exists
  * Show warning message when failing to parse netrc file
  * Report download status when checking out vcs repo
  * Allow using local file:// locations with find_links and index_urls
  * New method check_wheel_tags for override

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unearth?expand=0&rev=19
2024-09-27 05:06:53 +00:00
12a2ead999 Accepting request 1185399 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1185399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unearth?expand=0&rev=8
2024-07-05 17:46:57 +00:00
ad401dcea6 Accepting request 1140258 from devel:languages:python
- update to 0.14.0:
  * Extract the wheel tag validation method
  * Remove the hashes argument from PackageFinder.build_evaluator
    that is deprecated before
  * Drop support for Python 3.7
  * Add PyPI as the default index in PackageFinder
  * Add a default timeout to the session
  * Support fetching from Git refs
  * Update hg.py to use the commit hash instead of the local
    identity

OBS-URL: https://build.opensuse.org/request/show/1140258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unearth?expand=0&rev=7
2024-01-21 22:09:52 +00:00
f9d1997e6c - update to 0.14.0:
* Extract the wheel tag validation method
  * Remove the hashes argument from PackageFinder.build_evaluator
    that is deprecated before
  * Drop support for Python 3.7
  * Add PyPI as the default index in PackageFinder
  * Add a default timeout to the session
  * Support fetching from Git refs
  * Update hg.py to use the commit hash instead of the local
    identity

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unearth?expand=0&rev=15
2024-01-21 10:46:03 +00:00
e0cb5c6e43 Accepting request 1130709 from devel:languages:python
- update to 0.12.1:
  * Match index url with the same netloc

OBS-URL: https://build.opensuse.org/request/show/1130709
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unearth?expand=0&rev=6
2023-12-04 22:01:41 +00:00
ee658810c1 - update to 0.12.1:
* Match index url with the same netloc

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unearth?expand=0&rev=13
2023-12-04 10:43:53 +00:00
0d935224ad Accepting request 1119610 from devel:languages:python
- update to 0.12.0 (bsc#1216480, CVE-2023-45805):
  * Add callback to report download status
  * Respect :all: in prefer_binary config
  * security: Validate the package name extracted from the part
    before the last hyphen
  * Also fallback on "token" username for KeyringCliProvider
  * Revert the handling of 403 and 404
  * Handle 403 same as 401, and look for credentials on 404 error
  * Close response files correctly
  * Change FormatControl to respect the priority of only_binary
    over no_binary
  * Include useful message if VCS command not found
  * Postpone the validation of hashes
  * Migrate from deprecated pdm.pep517 to pdm.backend
  * Tolerate invalid python requires
  * Fix the dist info link evaluation
  * PEP 714: rename the dist-info-metadata field to core-metadata

- Update to version 0.6.2

OBS-URL: https://build.opensuse.org/request/show/1119610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unearth?expand=0&rev=5
2023-10-23 21:41:08 +00:00
f2f9e7fdd8 - update to 0.12.0 (bsc#1216480, CVE-2023-45805):
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unearth?expand=0&rev=11
2023-10-23 11:14:21 +00:00
108b2d954b - update to 0.12.0:
* Add callback to report download status
  * Respect :all: in prefer_binary config
  * security: Validate the package name extracted from the part
    before the last hyphen
  * Also fallback on "token" username for KeyringCliProvider
  * Revert the handling of 403 and 404
  * Handle 403 same as 401, and look for credentials on 404 error
  * Close response files correctly
  * Change FormatControl to respect the priority of only_binary
    over no_binary
  * Include useful message if VCS command not found
  * Postpone the validation of hashes
  * Migrate from deprecated pdm.pep517 to pdm.backend
  * Tolerate invalid python requires
  * Fix the dist info link evaluation
  * PEP 714: rename the dist-info-metadata field to core-metadata
- Update to version 0.6.2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unearth?expand=0&rev=10
2023-10-23 11:13:22 +00:00
887d533eb5 Accepting request 1093373 from devel:languages:python
- Update to version 0.9.1
  * cli: Exposing requires-python, platform and abi interface for cli tools.  -
    by @frostming in #52 (b9935)
  * Evaluation issue when the requirement has no version specifier Close #50  -
    by @frostming in #50 (0a813)
  * Typo on json response field  -  by @frostming (3e767)
  * Update pdm.lock  -  by @github-actions[bot] and frostming in #44 (e4572)
  * Update pdm.lock  -  by @github-actions[bot] in #45 (a98b9)
  * Update pdm.lock  -  by @github-actions[bot] in #47 (e0ea7)
  * Update pdm.lock  -  by @github-actions[bot] and frostming in #49 (fc994)
  * Allow to order the index urls and find links together for PackageFinder  -
    by @frostming in #43 (dbe85)
  * Allow to set prefer_binary for individual packages.
- Use sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1093373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unearth?expand=0&rev=4
2023-06-16 14:55:01 +00:00
e54bf97d0a OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unearth?expand=0&rev=8 2023-06-15 20:35:13 +00:00
9ce9b4df5c Accepting request 1093319 from devel:languages:python:mailman:backports
- Update to version 0.9.1
  * cli: Exposing requires-python, platform and abi interface for cli tools.  -
    by @frostming in #52 (b9935)
  * Evaluation issue when the requirement has no version specifier Close #50  -
    by @frostming in #50 (0a813)
  * Typo on json response field  -  by @frostming (3e767)
  * Update pdm.lock  -  by @github-actions[bot] and frostming in #44 (e4572)
  * Update pdm.lock  -  by @github-actions[bot] in #45 (a98b9)
  * Update pdm.lock  -  by @github-actions[bot] in #47 (e0ea7)
  * Update pdm.lock  -  by @github-actions[bot] and frostming in #49 (fc994)
  * Allow to order the index urls and find links together for PackageFinder  -
    by @frostming in #43 (dbe85)
  * Allow to set prefer_binary for individual packages.
- Use sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1093319
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unearth?expand=0&rev=7
2023-06-15 20:34:17 +00:00
1c8f61b94e Accepting request 1043285 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1043285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unearth?expand=0&rev=3
2022-12-16 16:52:02 +00:00
5e16a4ad6c Accepting request 1043238 from home:Simmphonie:branches:devel:languages:python
- Update to version 0.7.0
  * Features
    + Suppress warnings for insecure requests  -  by @frostming (419df)
    + Support PEP 691: JSON simple API and PEP 658: static metadata in API  -  by @frostming in #28 (6dadc)
  * Bug Fixes
    + Fix the logger name to be zipapp friendly  -  by @frostming in #29 (5d930)
- Version 0.6.3
  * Bug Fixes
    + Skip invalid versions rejected by packaging 22.0  -  by @pdm-project in #26 (8fc2a)
  * Documentation
    + Update the version in docs  -  by @pdm-project (f2a02)

OBS-URL: https://build.opensuse.org/request/show/1043238
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unearth?expand=0&rev=5
2022-12-16 08:23:46 +00:00
69f9d82969 Accepting request 1040780 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1040780
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unearth?expand=0&rev=2
2022-12-07 16:35:09 +00:00
be0271c724 Accepting request 1040767 from home:yarunachalam:branches:devel:languages:python
- Update to version 0.6.2 
   * Features
   Log the file size when downloading  -  by @frostming in #22 (9514a)
   Use token as the username if not specified Close #18  -  by @frostming in #18 (6d2a6)
   Add more logs about the caches  -  by @frostming (e0000)
   * Bug Fixes
   Cache the index fetch result in memory  -  by @frostming (eacc0)
   * Chores
   Add python 3.11 to the test matrix  -  by @frostming (25338)

OBS-URL: https://build.opensuse.org/request/show/1040767
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unearth?expand=0&rev=3
2022-12-06 18:01:14 +00:00
91a65a931c Accepting request 995880 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/995880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-unearth?expand=0&rev=1
2022-08-20 18:28:11 +00:00
48f1302c3d Accepting request 995211 from home:bnavigator:branches:devel:languages:python
Required by pdm v2
now with packaged readme and license

OBS-URL: https://build.opensuse.org/request/show/995211
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-unearth?expand=0&rev=1
2022-08-16 06:47:43 +00:00
4 changed files with 34 additions and 13 deletions

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Fri May 16 08:28:31 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.17.5
* Do not use Path.from_uri()
- from version 0.17.4
* Git checkout with short commit hash
-------------------------------------------------------------------
Thu Apr 3 07:13:06 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.17.3
* Update contributing guidelines for rebase branch
* Best match should be a pre-release if that's all the index has
* Use stdlib Path <-> URL conversions
-------------------------------------------------------------------
Fri Sep 27 05:05:46 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.17.2:
* Really drop python<=3.7 support
* Don't show warning message when no netrc exists
* Show warning message when failing to parse netrc file
* Report download status when checking out vcs repo
* Allow using local file:// locations with find_links and index_urls
* New method check_wheel_tags for override
-------------------------------------------------------------------
Tue Jul 2 09:45:34 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-unearth
#
# Copyright (c) 2024 SUSE LLC
# 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
@@ -18,29 +18,23 @@
%{?sle15_python_module_pythons}
Name: python-unearth
Version: 0.15.5
Version: 0.17.5
Release: 0
Summary: A utility to fetch and download python packages
License: MIT
URL: https://unearth.readthedocs.io/
Source: https://files.pythonhosted.org/packages/source/u/unearth/unearth-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module cached-property >= 1.5.2 if %python-base < 3.8}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module packaging >= 20}
BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module requests >= 2.25}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-httpx
Requires: python-packaging >= 20
Requires: python-requests >= 2.25
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%if 0%{?python_version_nodots} < 38
Requires: python-cached-property >= 1.5.2
%endif
# SECTION test
BuildRequires: %{python_module Flask >= 2.1.2}
BuildRequires: %{python_module httpx}
@@ -87,6 +81,6 @@ They provide all the low-level functionalities that are needed to resolve and in
%license LICENSE
%python_alternative %{_bindir}/unearth
%{python_sitelib}/unearth
%{python_sitelib}/unearth-%{version}*-info
%{python_sitelib}/unearth-%{version}.dist-info
%changelog

View File

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

3
unearth-0.17.5.tar.gz Normal file
View File

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