comparison env/lib/python3.9/site-packages/packaging-20.9.dist-info/METADATA @ 0:4f3585e2f14b draft default tip

"planemo upload commit 60cee0fc7c0cda8592644e1aad72851dec82c959"
author shellac
date Mon, 22 Mar 2021 18:12:50 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4f3585e2f14b
1 Metadata-Version: 2.1
2 Name: packaging
3 Version: 20.9
4 Summary: Core utilities for Python packages
5 Home-page: https://github.com/pypa/packaging
6 Author: Donald Stufft and individual contributors
7 Author-email: donald@stufft.io
8 License: BSD-2-Clause or Apache-2.0
9 Platform: UNKNOWN
10 Classifier: Development Status :: 5 - Production/Stable
11 Classifier: Intended Audience :: Developers
12 Classifier: License :: OSI Approved :: Apache Software License
13 Classifier: License :: OSI Approved :: BSD License
14 Classifier: Programming Language :: Python
15 Classifier: Programming Language :: Python :: 2
16 Classifier: Programming Language :: Python :: 2.7
17 Classifier: Programming Language :: Python :: 3
18 Classifier: Programming Language :: Python :: 3.4
19 Classifier: Programming Language :: Python :: 3.5
20 Classifier: Programming Language :: Python :: 3.6
21 Classifier: Programming Language :: Python :: 3.7
22 Classifier: Programming Language :: Python :: 3.8
23 Classifier: Programming Language :: Python :: 3.9
24 Classifier: Programming Language :: Python :: Implementation :: CPython
25 Classifier: Programming Language :: Python :: Implementation :: PyPy
26 Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
27 Description-Content-Type: text/x-rst
28 Requires-Dist: pyparsing (>=2.0.2)
29
30 packaging
31 =========
32
33 .. start-intro
34
35 Reusable core utilities for various Python Packaging
36 `interoperability specifications <https://packaging.python.org/specifications/>`_.
37
38 This library provides utilities that implement the interoperability
39 specifications which have clearly one correct behaviour (eg: :pep:`440`)
40 or benefit greatly from having a single shared implementation (eg: :pep:`425`).
41
42 .. end-intro
43
44 The ``packaging`` project includes the following: version handling, specifiers,
45 markers, requirements, tags, utilities.
46
47 Documentation
48 -------------
49
50 The `documentation`_ provides information and the API for the following:
51
52 - Version Handling
53 - Specifiers
54 - Markers
55 - Requirements
56 - Tags
57 - Utilities
58
59 Installation
60 ------------
61
62 Use ``pip`` to install these utilities::
63
64 pip install packaging
65
66 Discussion
67 ----------
68
69 If you run into bugs, you can file them in our `issue tracker`_.
70
71 You can also join ``#pypa`` on Freenode to ask questions or get involved.
72
73
74 .. _`documentation`: https://packaging.pypa.io/
75 .. _`issue tracker`: https://github.com/pypa/packaging/issues
76
77
78 Code of Conduct
79 ---------------
80
81 Everyone interacting in the packaging project's codebases, issue trackers, chat
82 rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.
83
84 .. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
85
86 Contributing
87 ------------
88
89 The ``CONTRIBUTING.rst`` file outlines how to contribute to this project as
90 well as how to report a potential security issue. The documentation for this
91 project also covers information about `project development`_ and `security`_.
92
93 .. _`project development`: https://packaging.pypa.io/en/latest/development/
94 .. _`security`: https://packaging.pypa.io/en/latest/security/
95
96 Project History
97 ---------------
98
99 Please review the ``CHANGELOG.rst`` file or the `Changelog documentation`_ for
100 recent changes and project history.
101
102 .. _`Changelog documentation`: https://packaging.pypa.io/en/latest/changelog/
103
104 Changelog
105 ---------
106
107 20.9 - 2021-01-29
108 ~~~~~~~~~~~~~~~~~
109
110 * Run [isort](https://pypi.org/project/isort/) over the code base (`#377 <https://github.com/pypa/packaging/issues/377>`__)
111 * Add support for the ``macosx_10_*_universal2`` platform tags (`#379 <https://github.com/pypa/packaging/issues/379>`__)
112 * Introduce ``packaging.utils.parse_wheel_filename()`` and ``parse_sdist_filename()``
113 (`#387 <https://github.com/pypa/packaging/issues/387>`__ and `#389 <https://github.com/pypa/packaging/issues/389>`__)
114
115 20.8 - 2020-12-11
116 ~~~~~~~~~~~~~~~~~
117
118 * Revert back to setuptools for compatibility purposes for some Linux distros (`#363 <https://github.com/pypa/packaging/issues/363>`__)
119 * Do not insert an underscore in wheel tags when the interpreter version number
120 is more than 2 digits (`#372 <https://github.com/pypa/packaging/issues/372>`__)
121
122 20.7 - 2020-11-28
123 ~~~~~~~~~~~~~~~~~
124
125 No unreleased changes.
126
127 20.6 - 2020-11-28
128 ~~~~~~~~~~~~~~~~~
129
130 .. note:: This release was subsequently yanked, and these changes were included in 20.7.
131
132 * Fix flit configuration, to include LICENSE files (`#357 <https://github.com/pypa/packaging/issues/357>`__)
133 * Make `intel` a recognized CPU architecture for the `universal` macOS platform tag (`#361 <https://github.com/pypa/packaging/issues/361>`__)
134 * Add some missing type hints to `packaging.requirements` (issue:`350`)
135
136 20.5 - 2020-11-27
137 ~~~~~~~~~~~~~~~~~
138
139 * Officially support Python 3.9 (`#343 <https://github.com/pypa/packaging/issues/343>`__)
140 * Deprecate the ``LegacyVersion`` and ``LegacySpecifier`` classes (`#321 <https://github.com/pypa/packaging/issues/321>`__)
141 * Handle ``OSError`` on non-dynamic executables when attempting to resolve
142 the glibc version string.
143
144 20.4 - 2020-05-19
145 ~~~~~~~~~~~~~~~~~
146
147 * Canonicalize version before comparing specifiers. (`#282 <https://github.com/pypa/packaging/issues/282>`__)
148 * Change type hint for ``canonicalize_name`` to return
149 ``packaging.utils.NormalizedName``.
150 This enables the use of static typing tools (like mypy) to detect mixing of
151 normalized and un-normalized names.
152
153 20.3 - 2020-03-05
154 ~~~~~~~~~~~~~~~~~
155
156 * Fix changelog for 20.2.
157
158 20.2 - 2020-03-05
159 ~~~~~~~~~~~~~~~~~
160
161 * Fix a bug that caused a 32-bit OS that runs on a 64-bit ARM CPU (e.g. ARM-v8,
162 aarch64), to report the wrong bitness.
163
164 20.1 - 2020-01-24
165 ~~~~~~~~~~~~~~~~~~~
166
167 * Fix a bug caused by reuse of an exhausted iterator. (`#257 <https://github.com/pypa/packaging/issues/257>`__)
168
169 20.0 - 2020-01-06
170 ~~~~~~~~~~~~~~~~~
171
172 * Add type hints (`#191 <https://github.com/pypa/packaging/issues/191>`__)
173
174 * Add proper trove classifiers for PyPy support (`#198 <https://github.com/pypa/packaging/issues/198>`__)
175
176 * Scale back depending on ``ctypes`` for manylinux support detection (`#171 <https://github.com/pypa/packaging/issues/171>`__)
177
178 * Use ``sys.implementation.name`` where appropriate for ``packaging.tags`` (`#193 <https://github.com/pypa/packaging/issues/193>`__)
179
180 * Expand upon the API provded by ``packaging.tags``: ``interpreter_name()``, ``mac_platforms()``, ``compatible_tags()``, ``cpython_tags()``, ``generic_tags()`` (`#187 <https://github.com/pypa/packaging/issues/187>`__)
181
182 * Officially support Python 3.8 (`#232 <https://github.com/pypa/packaging/issues/232>`__)
183
184 * Add ``major``, ``minor``, and ``micro`` aliases to ``packaging.version.Version`` (`#226 <https://github.com/pypa/packaging/issues/226>`__)
185
186 * Properly mark ``packaging`` has being fully typed by adding a `py.typed` file (`#226 <https://github.com/pypa/packaging/issues/226>`__)
187
188 19.2 - 2019-09-18
189 ~~~~~~~~~~~~~~~~~
190
191 * Remove dependency on ``attrs`` (`#178 <https://github.com/pypa/packaging/issues/178>`__, `#179 <https://github.com/pypa/packaging/issues/179>`__)
192
193 * Use appropriate fallbacks for CPython ABI tag (`#181 <https://github.com/pypa/packaging/issues/181>`__, `#185 <https://github.com/pypa/packaging/issues/185>`__)
194
195 * Add manylinux2014 support (`#186 <https://github.com/pypa/packaging/issues/186>`__)
196
197 * Improve ABI detection (`#181 <https://github.com/pypa/packaging/issues/181>`__)
198
199 * Properly handle debug wheels for Python 3.8 (`#172 <https://github.com/pypa/packaging/issues/172>`__)
200
201 * Improve detection of debug builds on Windows (`#194 <https://github.com/pypa/packaging/issues/194>`__)
202
203 19.1 - 2019-07-30
204 ~~~~~~~~~~~~~~~~~
205
206 * Add the ``packaging.tags`` module. (`#156 <https://github.com/pypa/packaging/issues/156>`__)
207
208 * Correctly handle two-digit versions in ``python_version`` (`#119 <https://github.com/pypa/packaging/issues/119>`__)
209
210
211 19.0 - 2019-01-20
212 ~~~~~~~~~~~~~~~~~
213
214 * Fix string representation of PEP 508 direct URL requirements with markers.
215
216 * Better handling of file URLs
217
218 This allows for using ``file:///absolute/path``, which was previously
219 prevented due to the missing ``netloc``.
220
221 This allows for all file URLs that ``urlunparse`` turns back into the
222 original URL to be valid.
223
224
225 18.0 - 2018-09-26
226 ~~~~~~~~~~~~~~~~~
227
228 * Improve error messages when invalid requirements are given. (`#129 <https://github.com/pypa/packaging/issues/129>`__)
229
230
231 17.1 - 2017-02-28
232 ~~~~~~~~~~~~~~~~~
233
234 * Fix ``utils.canonicalize_version`` when supplying non PEP 440 versions.
235
236
237 17.0 - 2017-02-28
238 ~~~~~~~~~~~~~~~~~
239
240 * Drop support for python 2.6, 3.2, and 3.3.
241
242 * Define minimal pyparsing version to 2.0.2 (`#91 <https://github.com/pypa/packaging/issues/91>`__).
243
244 * Add ``epoch``, ``release``, ``pre``, ``dev``, and ``post`` attributes to
245 ``Version`` and ``LegacyVersion`` (`#34 <https://github.com/pypa/packaging/issues/34>`__).
246
247 * Add ``Version().is_devrelease`` and ``LegacyVersion().is_devrelease`` to
248 make it easy to determine if a release is a development release.
249
250 * Add ``utils.canonicalize_version`` to canonicalize version strings or
251 ``Version`` instances (`#121 <https://github.com/pypa/packaging/issues/121>`__).
252
253
254 16.8 - 2016-10-29
255 ~~~~~~~~~~~~~~~~~
256
257 * Fix markers that utilize ``in`` so that they render correctly.
258
259 * Fix an erroneous test on Python RC releases.
260
261
262 16.7 - 2016-04-23
263 ~~~~~~~~~~~~~~~~~
264
265 * Add support for the deprecated ``python_implementation`` marker which was
266 an undocumented setuptools marker in addition to the newer markers.
267
268
269 16.6 - 2016-03-29
270 ~~~~~~~~~~~~~~~~~
271
272 * Add support for the deprecated, PEP 345 environment markers in addition to
273 the newer markers.
274
275
276 16.5 - 2016-02-26
277 ~~~~~~~~~~~~~~~~~
278
279 * Fix a regression in parsing requirements with whitespaces between the comma
280 separators.
281
282
283 16.4 - 2016-02-22
284 ~~~~~~~~~~~~~~~~~
285
286 * Fix a regression in parsing requirements like ``foo (==4)``.
287
288
289 16.3 - 2016-02-21
290 ~~~~~~~~~~~~~~~~~
291
292 * Fix a bug where ``packaging.requirements:Requirement`` was overly strict when
293 matching legacy requirements.
294
295
296 16.2 - 2016-02-09
297 ~~~~~~~~~~~~~~~~~
298
299 * Add a function that implements the name canonicalization from PEP 503.
300
301
302 16.1 - 2016-02-07
303 ~~~~~~~~~~~~~~~~~
304
305 * Implement requirement specifiers from PEP 508.
306
307
308 16.0 - 2016-01-19
309 ~~~~~~~~~~~~~~~~~
310
311 * Relicense so that packaging is available under *either* the Apache License,
312 Version 2.0 or a 2 Clause BSD license.
313
314 * Support installation of packaging when only distutils is available.
315
316 * Fix ``==`` comparison when there is a prefix and a local version in play.
317 (`#41 <https://github.com/pypa/packaging/issues/41>`__).
318
319 * Implement environment markers from PEP 508.
320
321
322 15.3 - 2015-08-01
323 ~~~~~~~~~~~~~~~~~
324
325 * Normalize post-release spellings for rev/r prefixes. `#35 <https://github.com/pypa/packaging/issues/35>`__
326
327
328 15.2 - 2015-05-13
329 ~~~~~~~~~~~~~~~~~
330
331 * Fix an error where the arbitary specifier (``===``) was not correctly
332 allowing pre-releases when it was being used.
333
334 * Expose the specifier and version parts through properties on the
335 ``Specifier`` classes.
336
337 * Allow iterating over the ``SpecifierSet`` to get access to all of the
338 ``Specifier`` instances.
339
340 * Allow testing if a version is contained within a specifier via the ``in``
341 operator.
342
343
344 15.1 - 2015-04-13
345 ~~~~~~~~~~~~~~~~~
346
347 * Fix a logic error that was causing inconsistent answers about whether or not
348 a pre-release was contained within a ``SpecifierSet`` or not.
349
350
351 15.0 - 2015-01-02
352 ~~~~~~~~~~~~~~~~~
353
354 * Add ``Version().is_postrelease`` and ``LegacyVersion().is_postrelease`` to
355 make it easy to determine if a release is a post release.
356
357 * Add ``Version().base_version`` and ``LegacyVersion().base_version`` to make
358 it easy to get the public version without any pre or post release markers.
359
360 * Support the update to PEP 440 which removed the implied ``!=V.*`` when using
361 either ``>V`` or ``<V`` and which instead special cased the handling of
362 pre-releases, post-releases, and local versions when using ``>V`` or ``<V``.
363
364
365 14.5 - 2014-12-17
366 ~~~~~~~~~~~~~~~~~
367
368 * Normalize release candidates as ``rc`` instead of ``c``.
369
370 * Expose the ``VERSION_PATTERN`` constant, a regular expression matching
371 a valid version.
372
373
374 14.4 - 2014-12-15
375 ~~~~~~~~~~~~~~~~~
376
377 * Ensure that versions are normalized before comparison when used in a
378 specifier with a less than (``<``) or greater than (``>``) operator.
379
380
381 14.3 - 2014-11-19
382 ~~~~~~~~~~~~~~~~~
383
384 * **BACKWARDS INCOMPATIBLE** Refactor specifier support so that it can sanely
385 handle legacy specifiers as well as PEP 440 specifiers.
386
387 * **BACKWARDS INCOMPATIBLE** Move the specifier support out of
388 ``packaging.version`` into ``packaging.specifiers``.
389
390
391 14.2 - 2014-09-10
392 ~~~~~~~~~~~~~~~~~
393
394 * Add prerelease support to ``Specifier``.
395 * Remove the ability to do ``item in Specifier()`` and replace it with
396 ``Specifier().contains(item)`` in order to allow flags that signal if a
397 prerelease should be accepted or not.
398 * Add a method ``Specifier().filter()`` which will take an iterable and returns
399 an iterable with items that do not match the specifier filtered out.
400
401
402 14.1 - 2014-09-08
403 ~~~~~~~~~~~~~~~~~
404
405 * Allow ``LegacyVersion`` and ``Version`` to be sorted together.
406 * Add ``packaging.version.parse()`` to enable easily parsing a version string
407 as either a ``Version`` or a ``LegacyVersion`` depending on it's PEP 440
408 validity.
409
410
411 14.0 - 2014-09-05
412 ~~~~~~~~~~~~~~~~~
413
414 * Initial release.
415
416
417 .. _`master`: https://github.com/pypa/packaging/
418
419