1
0

Compare commits

...

16 Commits

Author SHA256 Message Date
Ana Guerrero
8d45b0fbdd Accepting request 1228385 from devel:languages:python
Forwarded request #1228311 from glaubitz

- Update to 0.3.9
    * Merge #215: preload script wrappers on Windows to assist with a pip issue (thanks,
      Paul Moore).
    * Fix #220: Remove duplicated newline in shebang of windows launcher (thanks. A2uria).
    * Fix #230: Add handling for cross-compilation environments (thanks, Russell Keith-Magee).
    * Fix #224: Do not use the absolute path to cache wheel extensions (thanks, Stewart Miles).
    * Fix #222: Support mounting wheels that use extensions without an EXTENSIONS file (thanks,
      Stewart Miles).
    * Fix #225: Add support for wheel compatibility with the limited API (thanks, Stewart Miles).
  - Drop py313-interpreter-repr.patch, merged upstream

OBS-URL: https://build.opensuse.org/request/show/1228385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=16
2024-12-06 13:24:59 +00:00
7ee9e54174 - Update to 0.3.9
* Merge #215: preload script wrappers on Windows to assist with a pip issue (thanks,
    Paul Moore).
  * Fix #220: Remove duplicated newline in shebang of windows launcher (thanks. A2uria).
  * Fix #230: Add handling for cross-compilation environments (thanks, Russell Keith-Magee).
  * Fix #224: Do not use the absolute path to cache wheel extensions (thanks, Stewart Miles).
  * Fix #222: Support mounting wheels that use extensions without an EXTENSIONS file (thanks,
    Stewart Miles).
  * Fix #225: Add support for wheel compatibility with the limited API (thanks, Stewart Miles).
- Drop py313-interpreter-repr.patch, merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=32
2024-12-04 22:11:19 +00:00
Ana Guerrero
8191770fe5 Accepting request 1184219 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1184219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=15
2024-07-02 16:14:42 +00:00
Ana Guerrero
43224606ed Accepting request 1133992 from devel:languages:python
- update to 0.3.8:
  * Fix #209: use legacy version implementation for Python
    versions.
  * Fix #204: use symlinks in venv creation during test.
  * Fix #208: handle deprecation removals in Python 3.13.

  * Handle a single trailing comma following a version.
- drop python-distlib-2048-bit-key.patch (obsolete)

OBS-URL: https://build.opensuse.org/request/show/1133992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=14
2023-12-20 20:00:43 +00:00
Dominique Leuenberger
ffdb3b18b2 Accepting request 1102885 from devel:languages:python
- update to 0.3.7:
  * Handle newlines when parsing metadata.
  * Use version comparison logic for python_full_version.
  * Simplify code with a set comprehension.
  * Fix shebang computation for source builds of Python.
  * Extract tarfiles more safely by incorporating tarfile
    filters.
  * Check for 'has_cert' attribute before using it.
  * Fix #203: Handle parsing of export entries to allow script
    names such as "," or ",foo".
  * Fix #200: Improve conformance to PEP440.
  * In addition to the above, an SPDX license identifier is now
    used.

OBS-URL: https://build.opensuse.org/request/show/1102885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=13
2023-08-09 15:24:08 +00:00
Dominique Leuenberger
a091af6255 Accepting request 1081945 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=12
2023-04-22 20:01:19 +00:00
Dominique Leuenberger
b9f0bdef8e Accepting request 1007444 from devel:languages:python
- update to 0.3.6:
  - scripts
      - Fixed #175: Updated launcher executables to better handle the relationship
        between launcher and child process in the Job API.
  - database
      - Fixed #170: Corrected implementation of ``get_required_dists()``.
  - index
      - Updated coverage pragmas for tests relating to obsolete PyPI APIs.
  - locators
      - Changed the default locator configuration.
  - metadata
      - Updates in support of PEP 643 / Metadata 2.2.
  - scripts
      - Updated launcher executables. Thanks to Michael Bikovitsky for his help with
        the launcher changes.
      - Fixed #164: Improved support for reproducible builds by allowing a fixed
        date/time to be inserted into created .exe files. Thanks to Somber Night for the
        patch.
  - util
      - Fixed #161: Updated test case.
  - wheel
      - Updated to write archive path of RECORD to RECORD instead of staging path.
        Thanks to Pieter Pas for the patch.
      - Fixed #169: Removed usage of deprecated imp module in favour of importlib.
      - Fixed #172: Compute ABI correctly for Python < 3.8.

OBS-URL: https://build.opensuse.org/request/show/1007444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=11
2022-10-03 11:44:29 +00:00
Dominique Leuenberger
ffe94f9b42 Accepting request 939575 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/939575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=10
2021-12-13 19:41:38 +00:00
Dominique Leuenberger
50620f9942 Accepting request 931422 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/931422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=9
2021-11-20 01:37:59 +00:00
Dominique Leuenberger
d1efed1032 Accepting request 870995 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/870995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=8
2021-02-15 22:11:34 +00:00
Dominique Leuenberger
4112e1bae4 Accepting request 840141 from devel:languages:python
- Update to 0.3.1:
  * scripts
    + Fixed #132: Added documentation to help with relative interpreter paths.
    + Fixed #134: Allowed specifying a different target Python version when
      generating scripts.
    + Fixed #135: Exposed the ``enquote_executable`` function previously
      implemented as an internal function.
    + Addressed #138: Improved metadata support for newer metadata versions.
  * wheel
    + Changed the output of flags in entry point definitions.
    + Stopped writing JSON metadata. Only old-style metadata is written now.
- Refreshed remove-backports.patch

OBS-URL: https://build.opensuse.org/request/show/840141
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=7
2020-10-29 08:46:51 +00:00
Dominique Leuenberger
1457850bf0 Accepting request 784576 from devel:languages:python
- Update to 0.3.0:
  * small bugfixes
- Remove patch merged upstream:
  * correct_large_version_number.patch

OBS-URL: https://build.opensuse.org/request/show/784576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=6
2020-03-16 09:16:58 +00:00
Dominique Leuenberger
b0f562856a Accepting request 742772 from devel:languages:python
- Add correct_large_version_number.patch fixing bt#pypa/distlib#129

- Skip test_abi tests. bt#pypa/distlib#129

OBS-URL: https://build.opensuse.org/request/show/742772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=5
2019-11-04 16:09:04 +00:00
Yuchen Lin
c702558621 Accepting request 730637 from devel:languages:python
- Update to 0.2.9.post0:
  * updated pypi urls
  * various small bugfixes
- Remove merged patches:
  * pypi-url-update.patch

OBS-URL: https://build.opensuse.org/request/show/730637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=4
2019-09-17 11:36:32 +00:00
Dominique Leuenberger
949caac42e Accepting request 691517 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/691517
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=3
2019-04-04 13:23:01 +00:00
Dominique Leuenberger
e75c0cdce5 Accepting request 688209 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/688209
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=2
2019-03-26 14:44:36 +00:00
5 changed files with 18 additions and 27 deletions

BIN
distlib-0.3.8.tar.gz (Stored with Git LFS)

Binary file not shown.

3
distlib-0.3.9.tar.gz Normal file
View File

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

View File

@ -1,22 +0,0 @@
From 1c08845b05d022692252ed45cb07e9cb9647caac Mon Sep 17 00:00:00 2001
From: Vinay Sajip <vinay_sajip@yahoo.co.uk>
Date: Wed, 14 Feb 2024 14:46:14 +0000
Subject: [PATCH] Fix #214: Update representation of interpreter in test.
---
tests/test_scripts.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_scripts.py b/tests/test_scripts.py
index 5c38687..74ee647 100644
--- a/tests/test_scripts.py
+++ b/tests/test_scripts.py
@@ -340,7 +340,7 @@ def test_script_run(self):
self.assertIn(b'<H3>Current Working Directory:</H3>', stdout)
self.assertIn(os.getcwd().encode('utf-8'), stdout)
else:
- self.assertIn(b'[Interpreter(id=0, isolated=None)]', stderr)
+ self.assertIn(b'[Interpreter(0)]', stderr)
self.assertEqual(p.returncode, 1)
@unittest.skipUnless(os.name == 'posix', 'Test only valid for POSIX')

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Dec 4 13:16:38 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.3.9
* Merge #215: preload script wrappers on Windows to assist with a pip issue (thanks,
Paul Moore).
* Fix #220: Remove duplicated newline in shebang of windows launcher (thanks. A2uria).
* Fix #230: Add handling for cross-compilation environments (thanks, Russell Keith-Magee).
* Fix #224: Do not use the absolute path to cache wheel extensions (thanks, Stewart Miles).
* Fix #222: Support mounting wheels that use extensions without an EXTENSIONS file (thanks,
Stewart Miles).
* Fix #225: Add support for wheel compatibility with the limited API (thanks, Stewart Miles).
- Drop py313-interpreter-repr.patch, merged upstream
-------------------------------------------------------------------
Mon Jul 1 08:04:02 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -18,13 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-distlib
Version: 0.3.8
Version: 0.3.9
Release: 0
Summary: Distribution utilities
License: Python-2.0
URL: https://github.com/pypa/distlib
Source: https://files.pythonhosted.org/packages/source/d/distlib/distlib-%{version}.tar.gz
Patch1: https://github.com/pypa/distlib/commit/1c08845b05d022692252ed45cb07e9cb9647caac.patch#/py313-interpreter-repr.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module testsuite}