Commit Graph

23 Commits

Author SHA256 Message Date
a9f25afd53 - update to 20.8:
* Revert back to setuptools for compatibility purposes for some Linux distros (:issue:`363`)
  * Do not insert an underscore in wheel tags when the interpreter version number
    is more than 2 digits (:issue:`372`)
  * Fix flit configuration, to include LICENSE files (:issue:`357`)
  * Make `intel` a recognized CPU architecture for the `universal` macOS platform tag (:issue:`361`)
  * Add some missing type hints to `packaging.requirements` (issue:`350`)
  * Officially support Python 3.9 (:issue:`343`)
  * Deprecate the ``LegacyVersion`` and ``LegacySpecifier`` classes (:issue:`321`)
  * Handle ``OSError`` on non-dynamic executables when attempting to resolve
    the glibc version string.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=44
2020-12-20 09:37:48 +00:00
bed30c1bba - update to 20.4:
* Canonicalize version before comparing specifiers. (:issue:`282`)
  * Change type hint for ``canonicalize_name`` to return
  ``packaging.utils.NormalizedName``.
  This enables the use of static typing tools (like mypy) to detect mixing of
  normalized and un-normalized names.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=42
2020-06-02 16:36:49 +00:00
Tomáš Chvátal
92c7af7df0 - Ignore clamav scan as it bogusly calls one file to be infected
while it is just a testcase of malformed binary:
  #!BuildIgnore: post-build-checks-malwarescan

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=40
2020-05-05 07:24:20 +00:00
Tomáš Chvátal
994385f026 Accepting request 783880 from home:mcalabkova:branches:devel:languages:python
- Update to 20.3
  * Fix a bug that caused a 32-bit OS that runs on a 64-bit ARM CPU 
    (e.g. ARM-v8, aarch64), to report the wrong bitness.
- Drop already upstreamed patch issue_254.patch

OBS-URL: https://build.opensuse.org/request/show/783880
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=38
2020-03-11 14:50:30 +00:00
b66212fb9c - add issue_254.patch to fix tests under non-x86_64 pplatforms
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=36
2020-02-10 14:52:07 +00:00
ab1b29be41 - Update to 20.1
* Fix a bug caused by reuse of an exhausted iterator.
 * Add type hints
 * Add proper trove classifiers for PyPy support 
 * Scale back depending on ctypes for manylinux support detection 
 * Use sys.implementation.name where appropriate for packaging.tags
 * Expand upon the API provded by packaging.tags
 * Officially support Python 3.8 
 * Add major, minor, and micro aliases to packaging.version.Version 
 * Properly mark packaging has being fully typed by adding a py.typed file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=35
2020-02-05 14:22:27 +00:00
Tomáš Chvátal
40afb832a6 - Update to 19.2:
* Many buildsystem tweaks to accomodate for distribution shipping
- Remove all the merged patches:
  * 0001-Fix-test-failures-test_linux_platforms_manylinux-for.patch
  * 0002-Fix-check-for-64-bit-OS.patch
  * 0003-Add-additional-test-to-get-100-branch-coverage.patch
  * 0004-Fix-test_macos_version_detection-failure-on-32-bit-L.patch
  * 0005-Drop-dependency-on-attrs.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=33
2019-10-08 09:28:23 +00:00
Tomáš Chvátal
e1805b374c Accepting request 724501 from home:dancermak:branches:devel:languages:python
drop dependency on attrs

OBS-URL: https://build.opensuse.org/request/show/724501
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=30
2019-08-19 08:32:10 +00:00
Tomáš Chvátal
b8f1af4c0c - Fix a bit the multibuild conversion
- Remove the attrs from the deps as they are no longer needed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=29
2019-08-15 08:35:40 +00:00
Tomáš Chvátal
585d4a79ce Accepting request 723243 from home:dancermak:branches:devel:languages:python
enable unit test run via _multibuild

OBS-URL: https://build.opensuse.org/request/show/723243
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=27
2019-08-14 09:33:53 +00:00
Tomáš Chvátal
4ba3c858e1 Accepting request 721714 from home:dancermak:branches:devel:languages:python
Add Requires:python-attrs as this is a new dependency

OBS-URL: https://build.opensuse.org/request/show/721714
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=26
2019-08-08 10:36:18 +00:00
Thomas Bechtold
37ce1c4c76 - update to 19.1:
* Add the ``packaging.tags`` module.
  * Correctly handle two-digit versions in ``python_version``

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=25
2019-08-06 05:00:23 +00:00
Tomáš Chvátal
94a06e9b84 Accepting request 682967 from home:jayvdb:coala:python3-bears
- Fix check that egg-info is a directory to work with %check enabled,
  and better explain how it works
- Remove unnecessary build dependency on base
- Re-add test dependency on pyparsing with minimum version defined upstream,
  and replace inline comment with GitHub issue URL
- Add LICENSE.APACHE LICENSE.BSD to %license
- Update to v19.0
  * Fix string representation of PEP 508 direct URL requirements with markers.
  * Better handling of file URLs
    This allows for using ``file:///absolute/path``, which was previously
    prevented due to the missing ``netloc``
    This allows for all file URLs that ``urlunparse`` turns back into the
    original URL to be valid
- from v18.0
  * Improve error messages when invalid requirements are given
- Drop pyparsing dependency as its not needed and creates circular
  dependency on older distributions
- Reduce amount of duplicities
- Update to version 17.1
  * Fix utils.canonicalize_version when supplying non PEP 440 versions.
- Update to version 17.0
  * Drop support for python 2.6, 3.2, and 3.3.
  * Define minimal pyparsing version to 2.0.2 (#91).
  * Add epoch, release, pre, dev, and post attributes to Version and LegacyVersion (#34).
  * Add Version().is_devrelease and LegacyVersion().is_devrelease to make it easy to determine if a release is a development release.
  * Add utils.canonicalize_version to canonicalize version strings or Version instances (#121).
- fix pyparsing requirement
- update for single-spec
- drop setuptools dependency, as this is itself now a dependency
  of setuptools
- run tests conditionally, to minimize dependency tree
- ensure egg-info is a directory (distutils would install it as file)
- update to 16.8:
  * Fix markers that utilize ``in`` so that they render correctly.
  * Fix an erroneous test on Python RC releases.
- update to 16.7:
  * Add support for the deprecated ``python_implementation`` marker which was
    an undocumented setuptools marker in addition to the newer markers.
  * Add support for the deprecated, PEP 345 environment markers in addition to
    the newer markers.
- update to 16.5:
  * Fix a regression in parsing requirements with whitespaces between the comma
    separators.
  * Fix a regression in parsing requirements like ``foo (==4)``.
  * Fix a bug where ``packaging.requirements:Requirement`` was overly strict when
    matching legacy requirements.
  * Add a function that implements the name canonicalization from PEP 503.
  * Implement requirement specifiers from PEP 508.
  * Relicense so that packaging is available under *either* the Apache License,
    Version 2.0 or a 2 Clause BSD license.
  * Support installation of packaging when only distutils is available.
  * Fix ``==`` comparison when there is a prefix and a local version in play.
    (:issue:`41`).
  * Implement environment markers from PEP 508.
- Adjust Requires according to requires.txt
- update to 15.3:
  * Normalize post-release spellings for rev/r prefixes. :issue:`35`
- update to 15.2:
  * Fix an error where the arbitary specifier (``===``) was not correctly
    allowing pre-releases when it was being used.
  * Expose the specifier and version parts through properties on the
    ``Specifier`` classes.
  * Allow iterating over the ``SpecifierSet`` to get access to all of the
    ``Specifier`` instances.
  * Allow testing if a version is contained within a specifier via the ``in``
    operator.
- Initial packaging

OBS-URL: https://build.opensuse.org/request/show/682967
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=23
2019-03-09 07:47:44 +00:00
51897b504b Accepting request 661731 from home:pluskalm:branches:devel:languages:python
- Drop pyparsing depndency as its not needed and creates circular
  dependency on older distributions
- Reduce amount of duplicities

OBS-URL: https://build.opensuse.org/request/show/661731
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=21
2018-12-28 08:57:58 +00:00
Todd R
5004914bfa Accepting request 590421 from home:TheBlackCat:branches:devel:languages:python
- Update to version 17.1
  * Fix utils.canonicalize_version when supplying non PEP 440 versions.
- Update to version 17.0
  * Drop support for python 2.6, 3.2, and 3.3.
  * Define minimal pyparsing version to 2.0.2 (#91).
  * Add epoch, release, pre, dev, and post attributes to Version and LegacyVersion (#34).
  * Add Version().is_devrelease and LegacyVersion().is_devrelease to make it easy to determine if a release is a development release.
  * Add utils.canonicalize_version to canonicalize version strings or Version instances (#121).

OBS-URL: https://build.opensuse.org/request/show/590421
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=19
2018-03-22 20:43:19 +00:00
d3ba2f0100 - fix pyparsing requirement
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=17
2017-05-02 08:41:38 +00:00
Jan Matejek
05d0d79017 - update for single-spec
- drop setuptools dependency, as this is itself now a dependency
  of setuptools
- run tests conditionally, to minimize dependency tree
- ensure egg-info is a directory (distutils would install it as file)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=14
2017-02-23 13:18:40 +00:00
aa0bdf3adc Accepting request 443229 from home:tbechtold:branches:devel:languages:python
- update to 16.8:
  * Fix markers that utilize ``in`` so that they render correctly.
  * Fix an erroneous test on Python RC releases.

OBS-URL: https://build.opensuse.org/request/show/443229
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=12
2016-12-06 12:06:37 +00:00
6379d80d1a Accepting request 397926 from Cloud:OpenStack:Master
- update to 16.7:
  * Add support for the deprecated ``python_implementation`` marker which was
    an undocumented setuptools marker in addition to the newer markers.
  * Add support for the deprecated, PEP 345 environment markers in addition to
    the newer markers.

OBS-URL: https://build.opensuse.org/request/show/397926
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=9
2016-05-25 16:34:46 +00:00
Todd R
cfddb61bac Accepting request 368433 from home:tbechtold:branches:devel:languages:python
- update to 16.5:
  * Fix a regression in parsing requirements with whitespaces between the comma
    separators.
  * Fix a regression in parsing requirements like ``foo (==4)``.
  * Fix a bug where ``packaging.requirements:Requirement`` was overly strict when
    matching legacy requirements.
  * Add a function that implements the name canonicalization from PEP 503.
  * Implement requirement specifiers from PEP 508.
  * Relicense so that packaging is available under *either* the Apache License,
    Version 2.0 or a 2 Clause BSD license.
  * Support installation of packaging when only distutils is available.
  * Fix ``==`` comparison when there is a prefix and a local version in play.
    (:issue:`41`).
  * Implement environment markers from PEP 508.
- Adjust Requires according to requires.txt

OBS-URL: https://build.opensuse.org/request/show/368433
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=7
2016-03-08 15:38:19 +00:00
Todd R
38f22d74b8 Accepting request 321790 from home:tbechtold:branches:devel:languages:python
- update to 15.3:
  * Normalize post-release spellings for rev/r prefixes. :issue:`35`

OBS-URL: https://build.opensuse.org/request/show/321790
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=5
2015-08-13 11:20:57 +00:00
8c58561cd9 Accepting request 313618 from home:tbechtold:branches:devel:languages:python
- update to 15.2:
  * Fix an error where the arbitary specifier (``===``) was not correctly
    allowing pre-releases when it was being used.
  * Expose the specifier and version parts through properties on the
    ``Specifier`` classes.
  * Allow iterating over the ``SpecifierSet`` to get access to all of the
    ``Specifier`` instances.
  * Allow testing if a version is contained within a specifier via the ``in``
    operator.

OBS-URL: https://build.opensuse.org/request/show/313618
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=2
2015-06-25 09:01:38 +00:00
Denisart Benjamin
347c4fd816 Accepting request 298854 from home:tbechtold
Initial packaging

OBS-URL: https://build.opensuse.org/request/show/298854
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=1
2015-04-24 14:31:25 +00:00