You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.rst
+42-4Lines changed: 42 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,46 @@ Changelog
4
4
*unreleased*
5
5
~~~~~~~~~~~~
6
6
7
-
* `packaging` is now only compatible with Python 3.6 and above.
8
7
* Added ``packaging.utils.create_wheel_filename()`` and ``create_sdist_filename()`` (:issue:`408`)
8
+
* ``Marker.evaluate`` will now assume evaluation environment with empty ``extra``.
9
+
Evaluating markers like ``"extra == 'xyz'"`` without passing any extra in the
10
+
``environment`` will no longer raise an exception.
11
+
* Remove dependency on ``pyparsing``, by replacing it with a hand-written parser. This package now has no runtime dependencies (:issue:`468`)
12
+
* Update return type hint for ``Specifier.filter`` and ``SpecifierSet.filter``
13
+
to use ``Iterator`` instead of ``Iterable``
14
+
15
+
21.3 - 2021-11-17
16
+
~~~~~~~~~~~~~~~~~
17
+
18
+
* Add a ``pp3-none-any`` tag (:issue:`311`)
19
+
* Replace the blank pyparsing 3 exclusion with a 3.0.5 exclusion (:issue:`481`, :issue:`486`)
20
+
* Fix a spelling mistake (:issue:`479`)
21
+
22
+
21.2 - 2021-10-29
23
+
~~~~~~~~~~~~~~~~~
24
+
25
+
* Update documentation entry for 21.1.
26
+
27
+
21.1 - 2021-10-29
28
+
~~~~~~~~~~~~~~~~~
29
+
30
+
* Update pin to pyparsing to exclude 3.0.0.
31
+
32
+
21.0 - 2021-07-03
33
+
~~~~~~~~~~~~~~~~~
34
+
35
+
* PEP 656: musllinux support (:issue:`411`)
36
+
* Drop support for Python 2.7, Python 3.4 and Python 3.5.
37
+
* Replace distutils usage with sysconfig (:issue:`396`)
38
+
* Add support for zip files in ``parse_sdist_filename`` (:issue:`429`)
39
+
* Use cached ``_hash`` attribute to short-circuit tag equality comparisons (:issue:`417`)
40
+
* Specify the default value for the ``specifier`` argument to ``SpecifierSet`` (:issue:`437`)
41
+
* Proper keyword-only "warn" argument in packaging.tags (:issue:`403`)
42
+
* Correctly remove prerelease suffixes from ~= check (:issue:`366`)
43
+
* Fix type hints for ``Version.post`` and ``Version.dev`` (:issue:`393`)
44
+
* Use typing alias ``UnparsedVersion`` (:issue:`398`)
45
+
* Improve type inference for ``packaging.specifiers.filter()`` (:issue:`430`)
46
+
* Tighten the return type of ``canonicalize_version()`` (:issue:`402`)
9
47
10
48
20.9 - 2021-01-29
11
49
~~~~~~~~~~~~~~~~~
@@ -80,11 +118,11 @@ No unreleased changes.
80
118
81
119
* Use ``sys.implementation.name`` where appropriate for ``packaging.tags`` (:issue:`193`)
82
120
83
-
* Expand upon the API provded by ``packaging.tags``: ``interpreter_name()``, ``mac_platforms()``, ``compatible_tags()``, ``cpython_tags()``, ``generic_tags()`` (:issue:`187`)
121
+
* Expand upon the API provided by ``packaging.tags``: ``interpreter_name()``, ``mac_platforms()``, ``compatible_tags()``, ``cpython_tags()``, ``generic_tags()`` (:issue:`187`)
84
122
85
123
* Officially support Python 3.8 (:issue:`232`)
86
124
87
-
* Add ``major``, ``minor``, and ``micro`` aliases to ``packaging.version.Version`` (:issue:`226`)
125
+
* Add ``major``, ``minor``, and ``micro`` aliases to ``packaging.version.Version`` (:issue:`225`)
88
126
89
127
* Properly mark ``packaging`` has being fully typed by adding a `py.typed` file (:issue:`226`)
90
128
@@ -231,7 +269,7 @@ No unreleased changes.
231
269
15.2 - 2015-05-13
232
270
~~~~~~~~~~~~~~~~~
233
271
234
-
* Fix an error where the arbitary specifier (``===``) was not correctly
272
+
* Fix an error where the arbitrary specifier (``===``) was not correctly
235
273
allowing pre-releases when it was being used.
236
274
237
275
* Expose the specifier and version parts through properties on the
0 commit comments