Commit Graph

31 Commits

Author SHA256 Message Date
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
46371e0252 - 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/package/show/devel:languages:python/python-distlib?expand=0&rev=28
2023-12-19 09:58:29 +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
1708c0c624 - 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/package/show/devel:languages:python/python-distlib?expand=0&rev=26
2023-08-08 11:08:11 +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
25cc5a94ba Accepting request 1081387 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081387
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=24
2023-04-21 14:44:38 +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
c1a7e14bdf - 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/package/show/devel:languages:python/python-distlib?expand=0&rev=22
2022-10-01 12:57:42 +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
09a9c6d456 Accepting request 939574 from home:bnavigator:python-rpm-macros
- actually drop remove-backports.patch

OBS-URL: https://build.opensuse.org/request/show/939574
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=21
2021-12-11 12:09:45 +00:00
5e3861ee6f Accepting request 939488 from home:bnavigator:branches:devel:languages:python
- update to 0.3.4
  * Fixed #153: Raise warnings in get_distributions() if bad
    metadata seen, but keep going.
  * Fixed #154: Determine Python versions correctly for Python >=
    3.10.
  * Updated launcher executables.
- Drop obsolete remove-backports.patch

OBS-URL: https://build.opensuse.org/request/show/939488
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=20
2021-12-11 11:55:54 +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
88543c0f00 * allowed a trailing comma in constraints, to better handle faulty metadata
already on PyPI

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=19
2021-11-07 18:24:44 +00:00
388eba103d - update to 0.3.3:
* Removed splituser() function which wasn't used and is deprecated.
  * Handle version comparisons correctly in environment markers.
  * Handle a single trailing comma following a version. 
  * Fix incorrect handling of epochs.
  * Reverted handling of tags for Python >= 3.10
    (use 310 rather than 3_10). This is because PEP 641 was rejected.
  * removed unused regular expression
  * allowed "Obsoletes" in more scenarios, to better handle faulty metadata
    already on PyPI.
  * added entry for SourcelessFileLoader to the finder registry.
  * allowed a trailing comma in constraints, to better handle faulty metadata already on PyP
- drop python-distlib-2048-bit-key.patch (obsolete)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=18
2021-11-07 18:24:30 +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
a2a2cbe19c Accepting request 870978 from home:pmonrealgonzalez:branches:devel:languages:python
To be evaluated in Staging:O, it fixes the build there.

OBS-URL: https://build.opensuse.org/request/show/870978
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=16
2021-02-10 21:11:56 +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
Steve Kowalik
e58e030537 - 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/package/show/devel:languages:python/python-distlib?expand=0&rev=14
2020-10-08 03:48:25 +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
Tomáš Chvátal
9c5905b605 - Update to 0.3.0:
* small bugfixes
- Remove patch merged upstream:
  * correct_large_version_number.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=12
2020-03-13 08:44:40 +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
88e0f6195b - Add correct_large_version_number.patch fixing bt#pypa/distlib#129
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=10
2019-10-25 05:30:51 +00:00
f9abdb045b - Skip test_abi tests. bt#pypa/distlib#129
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=9
2019-10-24 19:35:24 +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
Tomáš Chvátal
bbe74b1d00 - 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/package/show/devel:languages:python/python-distlib?expand=0&rev=7
2019-09-13 08:57:12 +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
Tomáš Chvátal
9e6b06c5b2 Accepting request 691516 from home:jayvdb:branches:devel:languages:python
- Remove Windows executables

OBS-URL: https://build.opensuse.org/request/show/691516
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=5
2019-04-04 12:32:51 +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
Tomáš Chvátal
c71c9dd75f Accepting request 688208 from home:jayvdb:branches:home:jayvdb:soe
- Add upstream merged pypi-url-update.patch to replace pypi.python.org
  with pypi.org

OBS-URL: https://build.opensuse.org/request/show/688208
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=3
2019-03-25 11:39:45 +00:00
Stephan Kulow
3b9bdbe573 Accepting request 682878 from devel:languages:python
- Convert to single spec
- Activate test suite
- Change license to Python-2.0 to match sdist
- Update URL to https://bitbucket.org/pypa/distlib
- Remove unnecessary build dependency on python-devel
- Add fdupes
- Remove unnecessary backports with remove-backports.patch
- Update to v0.2.8
  * database
    + Fixed #108: Updated metadata scan to look for the METADATA file as well
      as the JSON formats.
  * locators
    + Handled wheel tags and platform-dependent downloads correctly
      in SimpleScrapingLocator.
  * metadata
    + Updated documentation on testing to include information on
      setting PYTHONHASHSEED.
  * scripts
    + Avoided unnecessary newlines in script preambles, which caused
      problems with detecting encoding declarations.
  * util
    + Removed existing files (which might have been symlinks) before
      overwriting.
- from v0.2.7
  * compat
    + cache_from_source is now imported from importlib.util where
      available.
  * database
    + InstalledDistributions now have a modules attribute which
      is a list of top-level modules as read from top_level.txt, if that is in
      the distribution info.
  * locators
    + Fixed #103: Thanks to Saulius Žemaitaitis for the patch.
  * metadata
    + Added support for PEP 566 / Metadata 1.3.
  * scripts
    + Updated launcher binaries.
- from v0.2.6
  * compat
    + Updated to handle a case where sys.getfilesystemencoding()
      returns None.
  * database
    + Eliminated a crash in EggInfoDistribution.list_distinfo_files()
      which was caused by trying to open a non-existent file.
    + Handled a case where an installed distribution didn't have 'Provides:'
      metadata.
  * locators
    + SimpleScrapingLocator no longer fails prematurely when scraping
      links due to invalid versions.
  * markers
    + Improved error messages issued when interpreting markers
  * scripts
    + Improved the shebangs written into installed scripts when the interpreter
      path is very long or contains spaces (to cater for a limitation in shebang
      line parsing on Linux)
    + Updated launcher binaries.
  * Numerous test refinements
- from v0.2.5
  * general
    + Changed regular expressions to be compatible with 3.6 as regards escape
      sequences.
    + Closed some resource leaks related to XML-RPC proxies.
    + Removed Python 2.6 from the support list.
  * locators
    + Made downloadability a factor in scoring URLs for preferences.
  * markers
    + Replaced the implementation with code which parses requirements in
      accordance with PEP 508 and evaluates marker expressions according to
      PEP 508.
  * util
    + Changed _csv_open to use utf-8 across all platforms on Python 3.x.
  * wheel
    + Changed to look for metadata in metadata.json as well as pydist.json.
  * version
    + Updated requirement parsing in version matchers to use the new
      PEP 508-compliant code.
  * Numerous test refinements
- from v0.2.4
  * compat
    + Updated to not fail on import if SSL is unavailable.
  * index
    + Switch from using gpg in preference to gpg2 for signing. This is
      to avoid gpg2's behaviour of prompting for passwords, which interferes
      with the tests on some machines.
  * locators
    + Changed project name comparisons to follow PEP 503.
    + Added errors queue to Locator.
  * manifest
    + Changed match logic to work under Python 3.6, due to differences in
      how fnmatch.translate behaves.
  * resources
    + Updated finder registry logic to reflect changes in Python 3.6.
  * scripts
    + Fixed regular expression in generated script boilerplate.
  * util
    + Updated to not fail on import if SSL is unavailable.
    + Added normalize_name for project name comparisons using PEP 503.
  * tests
    + Updated to skip certain tests if SSL is unavailable.
    + Numerous other test refinements.
- from v0.2.3
  * util
    + Changed get_executable to return Unicode rather than bytes.
    + Fixed #84: Allow + character in output script names.
    + Relaxed too-stringent test looking for application/json in headers.
  * wheel
    + sorted the entries in RECORD before writing to file.
  * Numerous test refinements.
- from v0.2.2
  * database
    + Added support for detecting distributions installed by wheel
      versions >= 0.23 (which use metadata.json rather than pydist.json).
  * locators
    + Updated default PyPI URL to https://pypi.python.org/pypi
  * metadata
    + Updated to use different formatting for description field for V1.1
      metadata.
    + Corrected "classifier" to "classifiers" in the mapping for V1.0
      metadata.
  * scripts
    + Improved support for Jython when quoting executables in output scripts.
  * util
    + Made the internal URL used for extended metadata fetches
      configurable via a module attribute.
    + Improved entry point parsing to handle leading spaces in
      ini-format files.
  * docs
    + Numerous documentation updates, not detailed further here.
  * tests
    + renamed environment variable SKIP_SLOW to SKIP_ONLINE in tests and
      applied to some more tests.
    + Numerous other test refinements.
- from v0.2.1
  * locators
    + Return a Distribution instance or None from ``locate()``.
    + Skipped special keys when looking for versions.
    + Improved behaviour of PyPIJSONLocator to be analogous to that of other
      locators.
  * resource
    + Added resource iterator functionality.
  * scripts
    + Updated launchers to decode shebangs using UTF-8. This allows
      non-ASCII pathnames to be correctly handled.
    + Ensured that the executable written to shebangs is normcased.
    + Changed ScriptMaker to work better under Jython.
  * util
    + Changed the mode setting method to work better under Jython.
    + Changed get_executable() to return a normcased value.
  * wheel
    + Handled multiple-architecture wheel filenames correctly.
  * docs
    + Numerous documentation updates, not detailed further here.
  * Numerous test refinements.
- Initial packaging of v0.2.0

OBS-URL: https://build.opensuse.org/request/show/682878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distlib?expand=0&rev=1
2019-03-10 08:40:33 +00:00
Tomáš Chvátal
16b404c14e Accepting request 682869 from home:jayvdb:coala:python3-bears
- Convert to single spec
- Activate test suite
- Change license to Python-2.0 to match sdist
- Update URL to https://bitbucket.org/pypa/distlib
- Remove unnecessary build dependency on python-devel
- Add fdupes
- Remove unnecessary backports with remove-backports.patch
- Update to v0.2.8

OBS-URL: https://build.opensuse.org/request/show/682869
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=1
2019-03-08 14:46:09 +00:00