1
0

43 Commits

Author SHA256 Message Date
41d70ee44f Accepting request 1330019 from devel:languages:python
- update to 26.0:
  * Features:
    - PEP 751: support pylock (PR #900)
    - PEP 794: import name metadata (PR #948)
    - Support for writing metadata to a file (PR #846)
    - Support __replace__ on Version (PR #1003)
    - Support positional pattern matching for Version and SpecifierSet (PR #1004)
  * Behavior adaptations:
    - PEP 440 handling of prereleases for Specifier.contains,
      SpecifierSet.contains, and SpecifierSet.filter (PR #897)
    - Handle PEP 440 edge case in SpecifierSet.filter (PR #942)
    - Adjust arbitrary equality intersection preservation in SpecifierSet (PR #951)
    - Return False instead of raising for .contains with invalid version (PR #932)
    - Support arbitrary equality on arbitrary strings for Specifier
      and SpecifierSet’s filter and contains method. (PR #954)
    - Only try to parse as Version on certain marker keys,
      return False on unequal ordered comparisons (PR #939)
  * Fixes:
    - Update _hash when unpickling Tag() (PR #860)
    - Correct comment and simplify implicit prerelease handling in
      Specifier.prereleases (PR #896)
    - Use explicit _GLibCVersion NamedTuple in _manylinux (PR #868)
    - Detect invalid license expressions containing () (PR #879)
    - Correct regex for metadata 'name' format (PR #925)
    - Improve the message around expecting a semicolon (PR #833)
    - Support nested parens in license expressions (PR #931)
    - Add space before at symbol in Requirements string (PR #953)
    - A root logger use found, use a packaging logger instead (PR #965)
    - Better support for subclassing Marker and Requirement (PR #1022)
    - Normalize all extras, not just if it comes first (PR #1024)
    - Don’t produce a broken repr if Marker fails to construct (PR #1033)
  * Performance:
    - Avoid recompiling regexes in the tokenizer for a 3x speedup (PR #1019)
    - Improve performance in _manylinux.py (PR #869)
    - Minor cleanups to Version (PR #913)
    - Skip redundant creation of Version’s in specifier comparison (PR #986)
    - Cache the Specifier’s Version (PR #985)
    - Make Version a little faster (PR #987)
    - Minor Version regex cleanup (PR #990)
    - Faster regex on Python 3.11.5+ for Version (PR #988, PR #1055)
    - Lazily calculate _key in Version (PR #989, PR #1048)
    - Faster canonicalize_version (PR #993)
    - Use re.fullmatch in a couple more places (PR #992, PR #1029)
    - Use map instead of generator (PR #996)
    - Deprecate ._version (_Version, a NamedTuple) (PR #995, PR #1062)
    - Avoid duplicate Version creation in canonicalize_version (PR #994)
    - Add __slots__ to core classes (PR #1001, PR #1002, PR #1032)
    - Use Version.__replace__ in specifier comparison (PR #999)
    - Use _get_spec_version in more places in Specifier (PR #1005)
    - Pull set construction out of function (PR #1012)
    - Letter normalization dict for prereleases and the like (PR #1014)
    - Use str.partition in _parse_project_urls (PR #1013)
    - Avoid normalizing extras again when comparing (PR #1028)
    - Speed up Version.__str__ by about 10% (PR #997)
    - Much faster canonicalize_name by avoiding a regex
      (PR #1030, PR #1047, PR #1064)
    - Faster zero stripping (PR #1058)
  * Type annotations:
    - Fix a type annotation (PR #907)
    - Fix type hint of function used with contextlib.contextmanager (PR #1046)
    - Fix tags return type in parse_wheel_filename docs (PR #973)
    - Add type hint for _version in .version.Version (PR #927)
    - Changed static type annotations in prereleases setter method
      in specifier.py (PR #930)
    - Statically type our test suite (PR #982)
  * Internal:
    - Test and declare support for Python 3.14 (PR #901)
    - Change our license metadata to use an SPDX license expression
      (PR #881, PR #924)
    - Expand the Ruff checks run on our codebase (PR #835, PR #957,
      PR #959, PR #963, PR #956, PR #961, PR #964, PR #958, PR #960,
      PR #968, PR #967, PR #966, PR #969, PR #980, PR #979, PR #962,
      PR #984, PR #972)
    - Add spell checking (PR #904, PR #910, PR #1015)
    - Improve links back to source in the documentation (PR #991)
    - Add case insensitivity tests for arbitrary equality (PR #975)
    - Fix incorrectly implicitly concatenated string in specifiers test (PR #946)
    - Simpler else instead of assert in a check (PR #1027, PR #1031)
    - Synchronize documentation and code for markers (PR #1008)
    - Use the GitHub Actions slim runner for the all pass check (PR #1021)
    - Use actionlint to check CI workflows (PR #1052)
    - Use Trusted Publishing (PR #893, PR #1043, PR #1045, PR #1051)
    - Use zizmor to check CI (PR #1035)
    - Test on first public release of CPython 3.11 and newer (PR #1056)
  Since the final release candidate: Faster canonicalize_name,
  especially on Python 3.12 and 3.13, where performance regressed
  previously (PR #1064), and reintroduce (deprecated) support for
  Version._.version (PR #1062).
- Move %sle15_python_module_pythons macro just above the Name, outside
  of all the if-else logic

OBS-URL: https://build.opensuse.org/request/show/1330019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=38
2026-02-05 16:57:07 +00:00
1f934b2c17 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=90 2026-01-30 12:00:52 +00:00
46172f2b08 - update to 26.0:
* Features:
    - PEP 751: support pylock (PR #900)
    - PEP 794: import name metadata (PR #948)
    - Support for writing metadata to a file (PR #846)
    - Support __replace__ on Version (PR #1003)
    - Support positional pattern matching for Version and SpecifierSet (PR #1004)
  * Behavior adaptations:
    - PEP 440 handling of prereleases for Specifier.contains,
      SpecifierSet.contains, and SpecifierSet.filter (PR #897)
    - Handle PEP 440 edge case in SpecifierSet.filter (PR #942)
    - Adjust arbitrary equality intersection preservation in SpecifierSet (PR #951)
    - Return False instead of raising for .contains with invalid version (PR #932)
    - Support arbitrary equality on arbitrary strings for Specifier
      and SpecifierSet’s filter and contains method. (PR #954)
    - Only try to parse as Version on certain marker keys,
      return False on unequal ordered comparisons (PR #939)
  * Fixes:
    - Update _hash when unpickling Tag() (PR #860)
    - Correct comment and simplify implicit prerelease handling in
      Specifier.prereleases (PR #896)
    - Use explicit _GLibCVersion NamedTuple in _manylinux (PR #868)
    - Detect invalid license expressions containing () (PR #879)
    - Correct regex for metadata 'name' format (PR #925)
    - Improve the message around expecting a semicolon (PR #833)
    - Support nested parens in license expressions (PR #931)
    - Add space before at symbol in Requirements string (PR #953)
    - A root logger use found, use a packaging logger instead (PR #965)
    - Better support for subclassing Marker and Requirement (PR #1022)
    - Normalize all extras, not just if it comes first (PR #1024)
    - Don’t produce a broken repr if Marker fails to construct (PR #1033)
  * Performance:
    - Avoid recompiling regexes in the tokenizer for a 3x speedup (PR #1019)
    - Improve performance in _manylinux.py (PR #869)
    - Minor cleanups to Version (PR #913)
    - Skip redundant creation of Version’s in specifier comparison (PR #986)
    - Cache the Specifier’s Version (PR #985)
    - Make Version a little faster (PR #987)
    - Minor Version regex cleanup (PR #990)
    - Faster regex on Python 3.11.5+ for Version (PR #988, PR #1055)
    - Lazily calculate _key in Version (PR #989, PR #1048)
    - Faster canonicalize_version (PR #993)
    - Use re.fullmatch in a couple more places (PR #992, PR #1029)
    - Use map instead of generator (PR #996)
    - Deprecate ._version (_Version, a NamedTuple) (PR #995, PR #1062)
    - Avoid duplicate Version creation in canonicalize_version (PR #994)
    - Add __slots__ to core classes (PR #1001, PR #1002, PR #1032)
    - Use Version.__replace__ in specifier comparison (PR #999)
    - Use _get_spec_version in more places in Specifier (PR #1005)
    - Pull set construction out of function (PR #1012)
    - Letter normalization dict for prereleases and the like (PR #1014)
    - Use str.partition in _parse_project_urls (PR #1013)
    - Avoid normalizing extras again when comparing (PR #1028)
    - Speed up Version.__str__ by about 10% (PR #997)
    - Much faster canonicalize_name by avoiding a regex
      (PR #1030, PR #1047, PR #1064)
    - Faster zero stripping (PR #1058)
  * Type annotations:
    - Fix a type annotation (PR #907)
    - Fix type hint of function used with contextlib.contextmanager (PR #1046)
    - Fix tags return type in parse_wheel_filename docs (PR #973)
    - Add type hint for _version in .version.Version (PR #927)
    - Changed static type annotations in prereleases setter method
      in specifier.py (PR #930)
    - Statically type our test suite (PR #982)
  * Internal:
    - Test and declare support for Python 3.14 (PR #901)
    - Change our license metadata to use an SPDX license expression
      (PR #881, PR #924)
    - Expand the Ruff checks run on our codebase (PR #835, PR #957,
      PR #959, PR #963, PR #956, PR #961, PR #964, PR #958, PR #960,
      PR #968, PR #967, PR #966, PR #969, PR #980, PR #979, PR #962,
      PR #984, PR #972)
    - Add spell checking (PR #904, PR #910, PR #1015)
    - Improve links back to source in the documentation (PR #991)
    - Add case insensitivity tests for arbitrary equality (PR #975)
    - Fix incorrectly implicitly concatenated string in specifiers test (PR #946)
    - Simpler else instead of assert in a check (PR #1027, PR #1031)
    - Synchronize documentation and code for markers (PR #1008)
    - Use the GitHub Actions slim runner for the all pass check (PR #1021)
    - Use actionlint to check CI workflows (PR #1052)
    - Use Trusted Publishing (PR #893, PR #1043, PR #1045, PR #1051)
    - Use zizmor to check CI (PR #1035)
    - Test on first public release of CPython 3.11 and newer (PR #1056)
  Since the final release candidate: Faster canonicalize_name,
  especially on Python 3.12 and 3.13, where performance regressed
  previously (PR #1064), and reintroduce (deprecated) support for
  Version._.version (PR #1062).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=89
2026-01-30 11:49:47 +00:00
5d5898d1d7 - Move %sle15_python_module_pythons macro just above the Name, outside
of all the if-else logic

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=88
2026-01-29 09:41:43 +00:00
1d17ea45ef Accepting request 1296839 from devel:languages:python
Forwarded request #1296769 from marec2000

update to 25.0

OBS-URL: https://build.opensuse.org/request/show/1296839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=37
2025-08-01 20:40:12 +00:00
4aaaf4970b update to 25.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=86
2025-07-31 15:40:58 +00:00
76970914e0 Accepting request 1277200 from devel:languages:python
- skip primary build only for Tumbleweed (adjust version)

  * Improve parser error messaging around mistakes in/around
- Ignore python3.6.2 since the test doesn't support it.
- Add Provides: for python*dist(packaging): work around boo#1186870
- add no-legacyversion-warning.patch to restore compatibility with 20.4
  * Fix a bug that caused a 32-bit OS that runs on a 64-bit ARM CPU
- add issue_254.patch to fix tests under non-x86_64 pplatforms
 * Add proper trove classifiers for PyPy support
 * Scale back depending on ctypes for manylinux support detection
 * Officially support Python 3.8
 * Add major, minor, and micro aliases to packaging.version.Version

OBS-URL: https://build.opensuse.org/request/show/1277200
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=36
2025-05-20 07:31:31 +00:00
7cfafd9a56 - skip primary build only for Tumbleweed (adjust version)
* Improve parser error messaging around mistakes in/around
- Ignore python3.6.2 since the test doesn't support it.
- Add Provides: for python*dist(packaging): work around boo#1186870
- add no-legacyversion-warning.patch to restore compatibility with 20.4
  * Fix a bug that caused a 32-bit OS that runs on a 64-bit ARM CPU
- add issue_254.patch to fix tests under non-x86_64 pplatforms
 * Add proper trove classifiers for PyPy support
 * Scale back depending on ctypes for manylinux support detection
 * Officially support Python 3.8
 * Add major, minor, and micro aliases to packaging.version.Version

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=84
2025-05-13 15:38:37 +00:00
fccaf018aa Accepting request 1223352 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1223352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=35
2024-11-28 21:42:11 +00:00
4baf058568 Accepting request 1223177 from home:benoit_monin:branches:devel:languages:python
update to 24.2

OBS-URL: https://build.opensuse.org/request/show/1223177
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=82
2024-11-11 11:41:46 +00:00
4d54196110 Accepting request 1181927 from devel:languages:python
- update to 24.1:
  * No unreleased changes.

OBS-URL: https://build.opensuse.org/request/show/1181927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=34
2024-06-21 14:02:07 +00:00
d8a9ec85a7 Accepting request 1158406 from devel:languages:python
- update to 24.0:
  * Do specifier matching correctly when the specifier contains
    an epoch number and has more components than the version
    (:issue:`683`)
  * Support the experimental --disable-gil builds in
    packaging.tags (:issue:`727`)
  * BREAKING: Make optional metadata.Metadata attributes default
    to None (:issue:`733`)
  * Fix errors when trying to access the
    description_content_type, keywords, and requires_python
    attributes on metadata.Metadata when those values have not
    been provided (:issue:`733`)
  * Fix a bug preventing the use of the built in ExceptionGroup
    on versions of Python that support it (:issue:`725`)

OBS-URL: https://build.opensuse.org/request/show/1158406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=33
2024-03-20 20:09:31 +00:00
5ed9bdac75 Accepting request 1125176 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1125176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=32
2023-11-13 21:15:41 +00:00
651be68e85 Accepting request 1109351 from devel:languages:python
- Update in SLE-15 (bsc#1199282, jsc#PM-3243, jsc#SLE-24629)

OBS-URL: https://build.opensuse.org/request/show/1109351
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=31
2023-09-07 19:12:53 +00:00
7dfe459705 Accepting request 1081847 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=30
2023-04-23 20:43:13 +00:00
31b9c00f77 Accepting request 1079575 from devel:languages:python
- update to 23.1
  * chore: add typed classifier
  * Improve parser error messaging around mistakes in/around 
    version specifiers
  * Upgrade to latest mypy
  * Delete print() from test_tags
  * Update our linters
  * Improve error for local version label with unsupported operators
  * Parse raw metadata
  * Handle prefix match with zeros at end of prefix correctly
  * Relax typing of _key on _BaseVersion
  * Replace spaces in platform names with underscores
  * Import underlying parser function as an underscored variable

OBS-URL: https://build.opensuse.org/request/show/1079575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=29
2023-04-17 15:40:56 +00:00
720101e230 Accepting request 1070509 from devel:languages:python
- Don't use :primary multibuild flavor for non-Tumbleweed
  * accomodates special SLE15 projects defininig extra flavors but
    not building for primary python3

OBS-URL: https://build.opensuse.org/request/show/1070509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=28
2023-03-12 15:22:16 +00:00
31bec3b69f Accepting request 1058762 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1058762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=27
2023-01-18 12:08:07 +00:00
cc5cbc0726 Accepting request 1046000 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1046000
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=26
2023-01-03 14:04:13 +00:00
97089a7c46 Accepting request 991965 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/991965
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=25
2022-08-08 06:45:02 +00:00
de3613e0d0 Accepting request 979721 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/979721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=24
2022-05-30 10:42:20 +00:00
4b2c3cddf2 Accepting request 972508 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/972508
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=23
2022-04-26 18:15:08 +00:00
89a5cd6b37 Accepting request 933621 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/933621
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=22
2021-11-28 20:29:51 +00:00
d770de5cb5 Accepting request 931435 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/931435
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=21
2021-11-21 22:51:36 +00:00
09aea2eb72 Accepting request 900727 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/900727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=20
2021-07-10 20:53:36 +00:00
3042bff1a0 Accepting request 879321 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/879321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=19
2021-03-17 19:13:54 +00:00
93a4db5b40 Accepting request 857114 from devel:languages:python
- 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/request/show/857114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=18
2021-02-01 12:26:30 +00:00
b9e5ecc6d3 Accepting request 810910 from devel:languages:python
- 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/request/show/810910
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=17
2020-06-05 17:59:50 +00:00
a28106bcaf Accepting request 800247 from devel:languages:python
- 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/request/show/800247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=16
2020-05-07 13:05:50 +00:00
f7735326b3 Accepting request 783881 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/783881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=15
2020-03-26 23:20:05 +00:00
Oliver Kurz
04de720a74 Accepting request 773191 from devel:languages:python
- add issue_254.patch to fix tests under non-x86_64 pplatforms 

- 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/request/show/773191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=14
2020-02-14 15:22:41 +00:00
c1e33e7a6b Accepting request 736042 from devel:languages:python
- 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/request/show/736042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=13
2019-10-10 09:51:41 +00:00
f01b7a83d2 Accepting request 724992 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/724992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=12
2019-08-27 13:22:44 +00:00
4fef503ba5 Accepting request 682976 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/682976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=11
2019-03-12 08:45:51 +00:00
188f29f19b Accepting request 661732 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/661732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=10
2019-01-05 13:40:00 +00:00
03e94662be Accepting request 590422 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/590422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=9
2018-03-26 10:32:04 +00:00
c866e31f53 Accepting request 493662 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/493662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=8
2017-05-17 08:46:09 +00:00
deb8a3e20d Accepting request 460252 from devel:languages:python
first batch of singlespec packages

OBS-URL: https://build.opensuse.org/request/show/460252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=7
2017-02-27 17:30:46 +00:00
14489cc9cc Accepting request 444113 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/444113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=6
2016-12-10 17:27:47 +00:00
387c0c9f3e Accepting request 400244 from devel:languages:python
- 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/400244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=5
2016-06-07 21:49:33 +00:00
4e76274ca8 Accepting request 368511 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/368511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=4
2016-03-11 08:38:22 +00:00
c824352f31 Accepting request 322367 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/322367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=3
2015-08-21 05:40:18 +00:00
Stephan Kulow
b93b41a42c Accepting request 314912 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/314912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=2
2015-07-05 16:02:42 +00:00
4 changed files with 150 additions and 18 deletions

Binary file not shown.

3
packaging-26.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,132 @@
-------------------------------------------------------------------
Fri Jan 30 10:34:36 UTC 2026 - ecsos <ecsos@opensuse.org>
- update to 26.0:
* Features:
- PEP 751: support pylock (PR #900)
- PEP 794: import name metadata (PR #948)
- Support for writing metadata to a file (PR #846)
- Support __replace__ on Version (PR #1003)
- Support positional pattern matching for Version and SpecifierSet (PR #1004)
* Behavior adaptations:
- PEP 440 handling of prereleases for Specifier.contains,
SpecifierSet.contains, and SpecifierSet.filter (PR #897)
- Handle PEP 440 edge case in SpecifierSet.filter (PR #942)
- Adjust arbitrary equality intersection preservation in SpecifierSet (PR #951)
- Return False instead of raising for .contains with invalid version (PR #932)
- Support arbitrary equality on arbitrary strings for Specifier
and SpecifierSets filter and contains method. (PR #954)
- Only try to parse as Version on certain marker keys,
return False on unequal ordered comparisons (PR #939)
* Fixes:
- Update _hash when unpickling Tag() (PR #860)
- Correct comment and simplify implicit prerelease handling in
Specifier.prereleases (PR #896)
- Use explicit _GLibCVersion NamedTuple in _manylinux (PR #868)
- Detect invalid license expressions containing () (PR #879)
- Correct regex for metadata 'name' format (PR #925)
- Improve the message around expecting a semicolon (PR #833)
- Support nested parens in license expressions (PR #931)
- Add space before at symbol in Requirements string (PR #953)
- A root logger use found, use a packaging logger instead (PR #965)
- Better support for subclassing Marker and Requirement (PR #1022)
- Normalize all extras, not just if it comes first (PR #1024)
- Dont produce a broken repr if Marker fails to construct (PR #1033)
* Performance:
- Avoid recompiling regexes in the tokenizer for a 3x speedup (PR #1019)
- Improve performance in _manylinux.py (PR #869)
- Minor cleanups to Version (PR #913)
- Skip redundant creation of Versions in specifier comparison (PR #986)
- Cache the Specifiers Version (PR #985)
- Make Version a little faster (PR #987)
- Minor Version regex cleanup (PR #990)
- Faster regex on Python 3.11.5+ for Version (PR #988, PR #1055)
- Lazily calculate _key in Version (PR #989, PR #1048)
- Faster canonicalize_version (PR #993)
- Use re.fullmatch in a couple more places (PR #992, PR #1029)
- Use map instead of generator (PR #996)
- Deprecate ._version (_Version, a NamedTuple) (PR #995, PR #1062)
- Avoid duplicate Version creation in canonicalize_version (PR #994)
- Add __slots__ to core classes (PR #1001, PR #1002, PR #1032)
- Use Version.__replace__ in specifier comparison (PR #999)
- Use _get_spec_version in more places in Specifier (PR #1005)
- Pull set construction out of function (PR #1012)
- Letter normalization dict for prereleases and the like (PR #1014)
- Use str.partition in _parse_project_urls (PR #1013)
- Avoid normalizing extras again when comparing (PR #1028)
- Speed up Version.__str__ by about 10% (PR #997)
- Much faster canonicalize_name by avoiding a regex
(PR #1030, PR #1047, PR #1064)
- Faster zero stripping (PR #1058)
* Type annotations:
- Fix a type annotation (PR #907)
- Fix type hint of function used with contextlib.contextmanager (PR #1046)
- Fix tags return type in parse_wheel_filename docs (PR #973)
- Add type hint for _version in .version.Version (PR #927)
- Changed static type annotations in prereleases setter method
in specifier.py (PR #930)
- Statically type our test suite (PR #982)
* Internal:
- Test and declare support for Python 3.14 (PR #901)
- Change our license metadata to use an SPDX license expression
(PR #881, PR #924)
- Expand the Ruff checks run on our codebase (PR #835, PR #957,
PR #959, PR #963, PR #956, PR #961, PR #964, PR #958, PR #960,
PR #968, PR #967, PR #966, PR #969, PR #980, PR #979, PR #962,
PR #984, PR #972)
- Add spell checking (PR #904, PR #910, PR #1015)
- Improve links back to source in the documentation (PR #991)
- Add case insensitivity tests for arbitrary equality (PR #975)
- Fix incorrectly implicitly concatenated string in specifiers test (PR #946)
- Simpler else instead of assert in a check (PR #1027, PR #1031)
- Synchronize documentation and code for markers (PR #1008)
- Use the GitHub Actions slim runner for the all pass check (PR #1021)
- Use actionlint to check CI workflows (PR #1052)
- Use Trusted Publishing (PR #893, PR #1043, PR #1045, PR #1051)
- Use zizmor to check CI (PR #1035)
- Test on first public release of CPython 3.11 and newer (PR #1056)
Since the final release candidate: Faster canonicalize_name,
especially on Python 3.12 and 3.13, where performance regressed
previously (PR #1064), and reintroduce (deprecated) support for
Version._.version (PR #1062).
-------------------------------------------------------------------
Thu Jan 29 09:25:25 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
- Move %sle15_python_module_pythons macro just above the Name, outside
of all the if-else logic
-------------------------------------------------------------------
Thu Jul 31 11:44:29 UTC 2025 - marec <marec@detebe.org>
- update to 25.0:
* PEP 751: Add support for extras and dependency_groups markers. (#885)
* PEP 738: Add support for Android platform tags. (#880)
-------------------------------------------------------------------
Tue May 13 15:38:23 UTC 2025 - Dirk Müller <dmueller@suse.com>
- skip primary build only for Tumbleweed (adjust version)
-------------------------------------------------------------------
Sun Nov 10 13:40:15 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr>
- update to 24.2:
* PEP 639: Implement License-Expression and License-File
(:issue:`828`)
* Use !r formatter for error messages with filenames
(:issue:`844`)
* Add support for PEP 730 iOS tags (:issue:`832`)
* Fix prerelease detection for > and < (:issue:`794`)
* Fix uninformative error message (:issue:`830`)
* Refactor canonicalize_version (:issue:`793`)
* Patch python_full_version unconditionally (:issue:`825`)
* Fix doc for canonicalize_version to mention strip_trailing_zero
and a typo in a docstring (:issue:`801`)
* Fix typo in Version __str__ (:issue:`817`)
* Support creating a SpecifierSet from an iterable of Specifier
objects (:issue:`775`)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 20 12:41:21 UTC 2024 - Dirk Müller <dmueller@suse.com> Thu Jun 20 12:41:21 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-packaging # spec file for package python-packaging
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2026 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
# in order to avoid rewriting for subpackage generator # in order to avoid rewriting for subpackage generator
%define mypython python %define mypython python
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if 0%{?suse_version} >= 1550 %if 0%{?suse_version} >= 1650
%if "%{flavor}" == "primary" %if "%{flavor}" == "primary"
# this one is goes into Ring0: Bootstrap for primary python stack # this one is goes into Ring0: Bootstrap for primary python stack
%define pprefix %{primary_python} %define pprefix %{primary_python}
@@ -42,8 +42,9 @@ ExclusiveArch: do-not-build
%else %else
%define pprefix python %define pprefix python
%endif %endif
%{?sle15_python_module_pythons}
%endif %endif
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define pprefix python %define pprefix python
%define psuffix -test %define psuffix -test
@@ -52,8 +53,9 @@ ExclusiveArch: do-not-build
%bcond_with test %bcond_with test
%endif %endif
%{?sle15_python_module_pythons}
Name: %{pprefix}-packaging%{?psuffix} Name: %{pprefix}-packaging%{?psuffix}
Version: 24.1 Version: 26.0
Release: 0 Release: 0
Summary: Core utilities for Python packages Summary: Core utilities for Python packages
License: Apache-2.0 AND BSD-2-Clause License: Apache-2.0 AND BSD-2-Clause
@@ -71,6 +73,7 @@ BuildArch: noarch
BuildRequires: %{python_module packaging = %{version}} BuildRequires: %{python_module packaging = %{version}}
BuildRequires: %{python_module pretend} BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pytest >= 6.2} BuildRequires: %{python_module pytest >= 6.2}
BuildRequires: %{python_module tomli-w}
%endif %endif
%if "%{flavor}" == "primary" %if "%{flavor}" == "primary"
# See boo#1186870, we can't provide ourselves to pythondistdeps.py # See boo#1186870, we can't provide ourselves to pythondistdeps.py