OLD | NEW |
(Empty) | |
| 1 packaging |
| 2 ========= |
| 3 |
| 4 Core utilities for Python packages |
| 5 |
| 6 |
| 7 Documentation |
| 8 ------------- |
| 9 |
| 10 `documentation`_ |
| 11 |
| 12 |
| 13 Discussion |
| 14 ---------- |
| 15 |
| 16 If you run into bugs, you can file them in our `issue tracker`_. |
| 17 |
| 18 You can also join ``#pypa`` on Freenode to ask questions or get involved. |
| 19 |
| 20 |
| 21 .. _`documentation`: https://packaging.pypa.io/ |
| 22 .. _`issue tracker`: https://github.com/pypa/packaging/issues |
| 23 |
| 24 |
| 25 Code of Conduct |
| 26 --------------- |
| 27 |
| 28 Everyone interacting in the packaging project's codebases, issue trackers, chat |
| 29 rooms, and mailing lists is expected to follow the `PyPA Code of Conduct`_. |
| 30 |
| 31 .. _PyPA Code of Conduct: https://www.pypa.io/en/latest/code-of-conduct/ |
| 32 |
| 33 Changelog |
| 34 --------- |
| 35 |
| 36 16.8 - 2016-10-29 |
| 37 ~~~~~~~~~~~~~~~~~ |
| 38 |
| 39 * Fix markers that utilize ``in`` so that they render correctly. |
| 40 |
| 41 * Fix an erroneous test on Python RC releases. |
| 42 |
| 43 |
| 44 16.7 - 2016-04-23 |
| 45 ~~~~~~~~~~~~~~~~~ |
| 46 |
| 47 * Add support for the deprecated ``python_implementation`` marker which was |
| 48 an undocumented setuptools marker in addition to the newer markers. |
| 49 |
| 50 |
| 51 16.6 - 2016-03-29 |
| 52 ~~~~~~~~~~~~~~~~~ |
| 53 |
| 54 * Add support for the deprecated, PEP 345 environment markers in addition to |
| 55 the newer markers. |
| 56 |
| 57 |
| 58 16.5 - 2016-02-26 |
| 59 ~~~~~~~~~~~~~~~~~ |
| 60 |
| 61 * Fix a regression in parsing requirements with whitespaces between the comma |
| 62 separators. |
| 63 |
| 64 |
| 65 16.4 - 2016-02-22 |
| 66 ~~~~~~~~~~~~~~~~~ |
| 67 |
| 68 * Fix a regression in parsing requirements like ``foo (==4)``. |
| 69 |
| 70 |
| 71 16.3 - 2016-02-21 |
| 72 ~~~~~~~~~~~~~~~~~ |
| 73 |
| 74 * Fix a bug where ``packaging.requirements:Requirement`` was overly strict when |
| 75 matching legacy requirements. |
| 76 |
| 77 |
| 78 16.2 - 2016-02-09 |
| 79 ~~~~~~~~~~~~~~~~~ |
| 80 |
| 81 * Add a function that implements the name canonicalization from PEP 503. |
| 82 |
| 83 |
| 84 16.1 - 2016-02-07 |
| 85 ~~~~~~~~~~~~~~~~~ |
| 86 |
| 87 * Implement requirement specifiers from PEP 508. |
| 88 |
| 89 |
| 90 16.0 - 2016-01-19 |
| 91 ~~~~~~~~~~~~~~~~~ |
| 92 |
| 93 * Relicense so that packaging is available under *either* the Apache License, |
| 94 Version 2.0 or a 2 Clause BSD license. |
| 95 |
| 96 * Support installation of packaging when only distutils is available. |
| 97 |
| 98 * Fix ``==`` comparison when there is a prefix and a local version in play. |
| 99 (`#41 <https://github.com/pypa/packaging/issues/41>`__). |
| 100 |
| 101 * Implement environment markers from PEP 508. |
| 102 |
| 103 |
| 104 15.3 - 2015-08-01 |
| 105 ~~~~~~~~~~~~~~~~~ |
| 106 |
| 107 * Normalize post-release spellings for rev/r prefixes. `#35 <https://github.com/
pypa/packaging/issues/35>`__ |
| 108 |
| 109 |
| 110 15.2 - 2015-05-13 |
| 111 ~~~~~~~~~~~~~~~~~ |
| 112 |
| 113 * Fix an error where the arbitary specifier (``===``) was not correctly |
| 114 allowing pre-releases when it was being used. |
| 115 |
| 116 * Expose the specifier and version parts through properties on the |
| 117 ``Specifier`` classes. |
| 118 |
| 119 * Allow iterating over the ``SpecifierSet`` to get access to all of the |
| 120 ``Specifier`` instances. |
| 121 |
| 122 * Allow testing if a version is contained within a specifier via the ``in`` |
| 123 operator. |
| 124 |
| 125 |
| 126 15.1 - 2015-04-13 |
| 127 ~~~~~~~~~~~~~~~~~ |
| 128 |
| 129 * Fix a logic error that was causing inconsistent answers about whether or not |
| 130 a pre-release was contained within a ``SpecifierSet`` or not. |
| 131 |
| 132 |
| 133 15.0 - 2015-01-02 |
| 134 ~~~~~~~~~~~~~~~~~ |
| 135 |
| 136 * Add ``Version().is_postrelease`` and ``LegacyVersion().is_postrelease`` to |
| 137 make it easy to determine if a release is a post release. |
| 138 |
| 139 * Add ``Version().base_version`` and ``LegacyVersion().base_version`` to make |
| 140 it easy to get the public version without any pre or post release markers. |
| 141 |
| 142 * Support the update to PEP 440 which removed the implied ``!=V.*`` when using |
| 143 either ``>V`` or ``<V`` and which instead special cased the handling of |
| 144 pre-releases, post-releases, and local versions when using ``>V`` or ``<V``. |
| 145 |
| 146 |
| 147 14.5 - 2014-12-17 |
| 148 ~~~~~~~~~~~~~~~~~ |
| 149 |
| 150 * Normalize release candidates as ``rc`` instead of ``c``. |
| 151 |
| 152 * Expose the ``VERSION_PATTERN`` constant, a regular expression matching |
| 153 a valid version. |
| 154 |
| 155 |
| 156 14.4 - 2014-12-15 |
| 157 ~~~~~~~~~~~~~~~~~ |
| 158 |
| 159 * Ensure that versions are normalized before comparison when used in a |
| 160 specifier with a less than (``<``) or greater than (``>``) operator. |
| 161 |
| 162 |
| 163 14.3 - 2014-11-19 |
| 164 ~~~~~~~~~~~~~~~~~ |
| 165 |
| 166 * **BACKWARDS INCOMPATIBLE** Refactor specifier support so that it can sanely |
| 167 handle legacy specifiers as well as PEP 440 specifiers. |
| 168 |
| 169 * **BACKWARDS INCOMPATIBLE** Move the specifier support out of |
| 170 ``packaging.version`` into ``packaging.specifiers``. |
| 171 |
| 172 |
| 173 14.2 - 2014-09-10 |
| 174 ~~~~~~~~~~~~~~~~~ |
| 175 |
| 176 * Add prerelease support to ``Specifier``. |
| 177 * Remove the ability to do ``item in Specifier()`` and replace it with |
| 178 ``Specifier().contains(item)`` in order to allow flags that signal if a |
| 179 prerelease should be accepted or not. |
| 180 * Add a method ``Specifier().filter()`` which will take an iterable and returns |
| 181 an iterable with items that do not match the specifier filtered out. |
| 182 |
| 183 |
| 184 14.1 - 2014-09-08 |
| 185 ~~~~~~~~~~~~~~~~~ |
| 186 |
| 187 * Allow ``LegacyVersion`` and ``Version`` to be sorted together. |
| 188 * Add ``packaging.version.parse()`` to enable easily parsing a version string |
| 189 as either a ``Version`` or a ``LegacyVersion`` depending on it's PEP 440 |
| 190 validity. |
| 191 |
| 192 |
| 193 14.0 - 2014-09-05 |
| 194 ~~~~~~~~~~~~~~~~~ |
| 195 |
| 196 * Initial release. |
| 197 |
| 198 |
OLD | NEW |