| 1 |
Change log for ``distlib`` |
| 2 |
-------------------------- |
| 3 |
|
| 4 |
0.4.4 (future) |
| 5 |
~~~~~~~~~~~~~~ |
| 6 |
|
| 7 |
Released: Not yet. |
| 8 |
|
| 9 |
0.4.3 |
| 10 |
~~~~~ |
| 11 |
|
| 12 |
Released: Not yet. |
| 13 |
|
| 14 |
- resources |
| 15 |
|
| 16 |
- Removed too-restrictive check for escaping resources. |
| 17 |
|
| 18 |
0.4.2 |
| 19 |
~~~~~ |
| 20 |
|
| 21 |
Released: 2026-06-08 |
| 22 |
|
| 23 |
- locators |
| 24 |
|
| 25 |
- Fix URL percent-encoding using space-padding instead of zero-padding. Thanks to |
| 26 |
Kadir Can Ozden for the patch. |
| 27 |
|
| 28 |
- Harden decompression against malicious input. Thanks to tonghuaroot for the patch, |
| 29 |
which was adapted slightly. |
| 30 |
|
| 31 |
- manifest |
| 32 |
|
| 33 |
- Use os.lstat in findall to correctly detect symlinked directories. Thanks to |
| 34 |
Kadir Can Ozden for the patch. |
| 35 |
|
| 36 |
- metadata |
| 37 |
|
| 38 |
- Improve logic to incorporate newer metadata versions. |
| 39 |
|
| 40 |
- resources |
| 41 |
|
| 42 |
- Ensure that constructed resource paths don't escape the package. Thanks to |
| 43 |
tonghuaroot for the patch. |
| 44 |
|
| 45 |
- util |
| 46 |
|
| 47 |
- Fix #255: Update cache_from_source() for Python 3.15. Thanks to Victor Stinner |
| 48 |
for the patch. |
| 49 |
|
| 50 |
- Check during unarchiving that the destination directory isn't escaped via symlinks. |
| 51 |
Thanks to tonghuaroot for the patch. |
| 52 |
|
| 53 |
- Improved performance of normalize_name using dual replace. Thanks to |
| 54 |
Hugo van Kemenade for the patch. |
| 55 |
|
| 56 |
|
| 57 |
- wheel |
| 58 |
|
| 59 |
- Add checks that installed files don't escape the installation directory. Thanks to |
| 60 |
tonghuaroot for the patch. |
| 61 |
|
| 62 |
- Add checks when mounting extensions to ensure path containment. Thanks to |
| 63 |
tonghuaroot for the patch. |
| 64 |
|
| 65 |
0.4.1 |
| 66 |
~~~~~ |
| 67 |
|
| 68 |
Released: 2026-06-02 |
| 69 |
|
| 70 |
- scripts |
| 71 |
|
| 72 |
- Fix path traversal bug in handling entry points which allowed escaping the scripts directory. |
| 73 |
Thanks to tonghuaroot for the comprehensive report. |
| 74 |
|
| 75 |
- tests |
| 76 |
|
| 77 |
- Fix #251: Change test function following a reorganization which happened in the Python stdlib. |
| 78 |
|
| 79 |
0.4.0 |
| 80 |
~~~~~ |
| 81 |
|
| 82 |
Released: 2025-07-17 |
| 83 |
|
| 84 |
- markers |
| 85 |
|
| 86 |
- Add the ``interpret_parsed`` function. |
| 87 |
|
| 88 |
- wheel |
| 89 |
|
| 90 |
- Fix #238: Add build tag to wheel metadata if specified. |
| 91 |
|
| 92 |
- Fix #243: Update to support free-threading version of Python (3.13t). |
| 93 |
|
| 94 |
- Fix #246: Support subdirectories in the dist-info directory. Thanks to Pieter P for the patch. |
| 95 |
|
| 96 |
- Fix #248: Fix path normalisation issue caused by the fix for #246. |
| 97 |
|
| 98 |
- Move import in script wrapper to "if __name__ == 'main'" clause. |
| 99 |
|
| 100 |
- tests |
| 101 |
|
| 102 |
- Fix #245: Skip test_package_data if a SKIP_EXT_PACKAGE_DATA environment variable is present. |
| 103 |
|
| 104 |
0.3.9 |
| 105 |
~~~~~ |
| 106 |
|
| 107 |
Released: 2024-10-09 |
| 108 |
|
| 109 |
- scripts |
| 110 |
|
| 111 |
- Merge #215: preload script wrappers on Windows to assist with a pip issue (thanks, |
| 112 |
Paul Moore). |
| 113 |
|
| 114 |
- Fix #220: Remove duplicated newline in shebang of windows launcher (thanks. A2uria). |
| 115 |
|
| 116 |
- Fix #230: Add handling for cross-compilation environments (thanks, Russell Keith-Magee). |
| 117 |
|
| 118 |
- util |
| 119 |
|
| 120 |
- Fix #224: Do not use the absolute path to cache wheel extensions (thanks, Stewart Miles). |
| 121 |
|
| 122 |
- wheel |
| 123 |
|
| 124 |
- Fix #222: Support mounting wheels that use extensions without an EXTENSIONS file (thanks, |
| 125 |
Stewart Miles). |
| 126 |
|
| 127 |
- Fix #225: Add support for wheel compatibility with the limited API (thanks, Stewart Miles). |
| 128 |
|
| 129 |
0.3.8 |
| 130 |
~~~~~ |
| 131 |
|
| 132 |
Released: 2023-12-12 |
| 133 |
|
| 134 |
- markers |
| 135 |
|
| 136 |
- Fix #209: use legacy version implementation for Python versions. |
| 137 |
|
| 138 |
- tests |
| 139 |
|
| 140 |
- Fix #204: use symlinks in venv creation during test. |
| 141 |
|
| 142 |
- Fix #208: handle deprecation removals in Python 3.13. |
| 143 |
|
| 144 |
0.3.7 |
| 145 |
~~~~~ |
| 146 |
|
| 147 |
Released: 2023-07-17 |
| 148 |
|
| 149 |
- database |
| 150 |
|
| 151 |
- Handle newlines when parsing metadata. |
| 152 |
|
| 153 |
- markers |
| 154 |
|
| 155 |
- Use version comparison logic for python_full_version. Thanks to Albert |
| 156 |
Peschar for the patch. |
| 157 |
|
| 158 |
- Simplify code with a set comprehension. Thanks to Christian Clauss for |
| 159 |
the patch. |
| 160 |
|
| 161 |
- scripts |
| 162 |
|
| 163 |
- Fix shebang computation for source builds of Python. Thanks to Eli |
| 164 |
Schwartz for the patch. |
| 165 |
|
| 166 |
- util |
| 167 |
|
| 168 |
- Extract tarfiles more safely by incorporating tarfile filters. Thanks to |
| 169 |
Petr Viktorin for the patch. |
| 170 |
|
| 171 |
- Check for 'has_cert' attribute before using it. Thanks to Lumir Balhar for |
| 172 |
the patch. |
| 173 |
|
| 174 |
- Fix #203: Handle parsing of export entries to allow script names such as |
| 175 |
"," or ",foo". Thanks to Flavio Amurrio for the report. |
| 176 |
|
| 177 |
- versions |
| 178 |
|
| 179 |
- Fix #200: Improve conformance to PEP440. Thanks to GitHub user con-f-use |
| 180 |
for the report. |
| 181 |
|
| 182 |
In addition to the above, an SPDX license identifier is now used. |
| 183 |
|
| 184 |
0.3.6 |
| 185 |
~~~~~ |
| 186 |
|
| 187 |
Released: 2022-08-26 |
| 188 |
|
| 189 |
- scripts |
| 190 |
|
| 191 |
- Fixed #175: Updated launcher executables to better handle the relationship |
| 192 |
between launcher and child process in the Job API. |
| 193 |
|
| 194 |
0.3.5 |
| 195 |
~~~~~ |
| 196 |
|
| 197 |
Released: 2022-07-14 |
| 198 |
|
| 199 |
- database |
| 200 |
|
| 201 |
- Fixed #170: Corrected implementation of ``get_required_dists()``. |
| 202 |
|
| 203 |
- index |
| 204 |
|
| 205 |
- Updated coverage pragmas for tests relating to obsolete PyPI APIs. |
| 206 |
|
| 207 |
- locators |
| 208 |
|
| 209 |
- Changed the default locator configuration. |
| 210 |
|
| 211 |
- metadata |
| 212 |
|
| 213 |
- Updates in support of PEP 643 / Metadata 2.2. |
| 214 |
|
| 215 |
- scripts |
| 216 |
|
| 217 |
- Updated launcher executables. Thanks to Michael Bikovitsky for his help with |
| 218 |
the launcher changes. |
| 219 |
|
| 220 |
- Fixed #164: Improved support for reproducible builds by allowing a fixed |
| 221 |
date/time to be inserted into created .exe files. Thanks to Somber Night for the |
| 222 |
patch. |
| 223 |
|
| 224 |
- util |
| 225 |
|
| 226 |
- Fixed #161: Updated test case. |
| 227 |
|
| 228 |
- wheel |
| 229 |
|
| 230 |
- Updated to write archive path of RECORD to RECORD instead of staging path. |
| 231 |
Thanks to Pieter Pas for the patch. |
| 232 |
|
| 233 |
- Fixed #169: Removed usage of deprecated imp module in favour of importlib. |
| 234 |
|
| 235 |
- Fixed #172: Compute ABI correctly for Python < 3.8. |
| 236 |
|
| 237 |
In addition to the above, setup.py was replaced by setup.cfg and pyproject.toml. |
| 238 |
|
| 239 |
0.3.4 |
| 240 |
~~~~~ |
| 241 |
|
| 242 |
Released: 2021-12-08 |
| 243 |
|
| 244 |
- database |
| 245 |
|
| 246 |
- Fixed #153: Raise warnings in get_distributions() if bad metadata seen, but keep |
| 247 |
going. |
| 248 |
|
| 249 |
- markers |
| 250 |
|
| 251 |
- Fixed #154: Determine Python versions correctly for Python >= 3.10. |
| 252 |
|
| 253 |
- scripts |
| 254 |
|
| 255 |
- Updated launcher executables. |
| 256 |
|
| 257 |
Code relating to support for Python 2.6 was also removed. |
| 258 |
|
| 259 |
0.3.3 |
| 260 |
~~~~~ |
| 261 |
|
| 262 |
Released: 2021-09-22 |
| 263 |
|
| 264 |
- compat |
| 265 |
|
| 266 |
- Fixed #152: Removed splituser() function which wasn't used and is deprecated. |
| 267 |
|
| 268 |
- markers |
| 269 |
|
| 270 |
- Fixed #149: Handle version comparisons correctly in environment markers. |
| 271 |
|
| 272 |
- scripts |
| 273 |
|
| 274 |
- Add ARM-64 launchers and support code to use them. Thanks to Niyas Sait and |
| 275 |
Adrian Vladu for their contributions. |
| 276 |
|
| 277 |
- util |
| 278 |
|
| 279 |
- Fixed #148: Handle a single trailing comma following a version. Thanks to Blazej |
| 280 |
Floch for the report and suggested fix. |
| 281 |
|
| 282 |
- version |
| 283 |
|
| 284 |
- Fixed #150: Fix incorrect handling of epochs. |
| 285 |
|
| 286 |
- wheel |
| 287 |
|
| 288 |
- Reverted handling of tags for Python >= 3.10 (use 310 rather than 3_10). This is |
| 289 |
because PEP 641 was rejected. |
| 290 |
|
| 291 |
- tests |
| 292 |
|
| 293 |
- Made changes relating to implementing CI using GitHub Actions. |
| 294 |
|
| 295 |
0.3.2 |
| 296 |
~~~~~ |
| 297 |
|
| 298 |
Released: 2021-05-29 |
| 299 |
|
| 300 |
- locators |
| 301 |
|
| 302 |
- Fixed #141: removed unused regular expression. |
| 303 |
|
| 304 |
- metadata |
| 305 |
|
| 306 |
- Fixed #140: allowed "Obsoletes" in more scenarios, to better handle faulty |
| 307 |
metadata already on PyPI. |
| 308 |
|
| 309 |
- resources |
| 310 |
|
| 311 |
- Fixed #146: added entry for SourcelessFileLoader to the finder registry. |
| 312 |
|
| 313 |
- scripts |
| 314 |
|
| 315 |
- Made the generation of scripts more configurable: |
| 316 |
|
| 317 |
- the ``variant_separator`` attribute can be set to determine the separator used |
| 318 |
between a script basename and its X.Y variant. The default value is ``'-'`` |
| 319 |
and would result in a final script basename like ``'foo-X.Y'``, whereas |
| 320 |
setting it to ``''`` would result in a final script basename like |
| 321 |
``'fooX.Y'``. |
| 322 |
|
| 323 |
- You can also subclass and override the ``get_script_filenames()`` method to |
| 324 |
provide a more customised set of file basenames. |
| 325 |
|
| 326 |
- util |
| 327 |
|
| 328 |
- Fixed #140: allowed a trailing comma in constraints, to better handle faulty |
| 329 |
metadata already on PyPI. |
| 330 |
|
| 331 |
- Moved get_platform() logic from distutils to here. |
| 332 |
|
| 333 |
- Fixed #143: removed normcase() to avoid some problems on Windows. |
| 334 |
|
| 335 |
- wheel |
| 336 |
|
| 337 |
- Dropped any trailing data when computing the Python tag. |
| 338 |
|
| 339 |
- Added support for manylinux tags. |
| 340 |
|
| 341 |
- Changed handling of tags for Python >= 3.10 (use 3_10 rather than 310). |
| 342 |
|
| 343 |
- Fixed #147: permission bits are now preserved on POSIX when installing from a |
| 344 |
wheel. |
| 345 |
|
| 346 |
- tests |
| 347 |
|
| 348 |
- Fixed #139: improved handling of errors related to the test PyPI server. |
| 349 |
|
| 350 |
0.3.1 |
| 351 |
~~~~~ |
| 352 |
|
| 353 |
Released: 2020-06-27 |
| 354 |
|
| 355 |
The repository has been migrated to Git. References to earlier changesets (commits) in |
| 356 |
issue comments, etc. will be invalid. |
| 357 |
|
| 358 |
- scripts |
| 359 |
|
| 360 |
- Fixed #132: Added documentation to help with relative interpreter paths. Thanks |
| 361 |
to Paul Kienzle for the patch. |
| 362 |
|
| 363 |
- Fixed #134: Allowed specifying a different target Python version when generating |
| 364 |
scripts. |
| 365 |
|
| 366 |
- Fixed #135: Exposed the ``enquote_executable`` function previously implemented |
| 367 |
as an internal function. |
| 368 |
|
| 369 |
- Addressed #138: Improved metadata support for newer metadata versions. Thanks to |
| 370 |
James Tocknell for the patch. |
| 371 |
|
| 372 |
- wheel |
| 373 |
|
| 374 |
- Changed the output of flags in entry point definitions. Thanks to frostming (明希) |
| 375 |
for the patch. |
| 376 |
|
| 377 |
- Stopped writing JSON metadata. Only old-style metadata is written now. |
| 378 |
|
| 379 |
0.3.0 |
| 380 |
~~~~~ |
| 381 |
|
| 382 |
Released: 2019-10-29 |
| 383 |
|
| 384 |
- database |
| 385 |
|
| 386 |
- Issue #102 (partial): modules attribute of InstalledDistribution was |
| 387 |
incorrectly computed as a list of bytes, rather than a list of str. This |
| 388 |
has now been corrected. |
| 389 |
|
| 390 |
- locators |
| 391 |
|
| 392 |
- Updated Locator._get_digest to check PyPI JSON responses for a "digests" |
| 393 |
dictionary before trying "algo_digest" keys. Thanks to Jeffery To for the |
| 394 |
patch. |
| 395 |
|
| 396 |
- scripts |
| 397 |
|
| 398 |
- Fixed #123: Improved error message if a resource isn't found. |
| 399 |
|
| 400 |
- Fixed #124: Stopped norm-casing the executable written into shebangs, as |
| 401 |
it doesn't work for some non-ASCII paths. |
| 402 |
|
| 403 |
- Fixed #125: Updated launchers with versions that correctly report errors |
| 404 |
containing non-ASCII characters. The updated launchers now also support |
| 405 |
relative paths (see http://bit.ly/2JxmOoi for more information). |
| 406 |
|
| 407 |
- Changed Python version handling to accommodate versions like e.g. 3.10 |
| 408 |
(no longer assume a version X.Y where X and Y are single digits). |
| 409 |
|
| 410 |
- util |
| 411 |
|
| 412 |
- Fixed #127: Allowed hyphens in flags in export specifications. |
| 413 |
|
| 414 |
- wheel |
| 415 |
|
| 416 |
- Changed Python version handling to accommodate versions like e.g. 3.10 |
| 417 |
(no longer assume a version X.Y where X and Y are single digits). |
| 418 |
|
| 419 |
|
| 420 |
0.2.9 |
| 421 |
~~~~~ |
| 422 |
|
| 423 |
Released: 2019-05-14 |
| 424 |
|
| 425 |
- index |
| 426 |
|
| 427 |
- Updated default PyPI URL to https://pypi.org/pypi. |
| 428 |
|
| 429 |
- locators |
| 430 |
|
| 431 |
- Updated default PyPI URL to https://pypi.org/pypi. |
| 432 |
|
| 433 |
- metadata |
| 434 |
|
| 435 |
- Relaxed metadata format checks to ignore 'Provides'. |
| 436 |
|
| 437 |
- scripts |
| 438 |
|
| 439 |
- Fixed #33, #34: Simplified script template. |
| 440 |
|
| 441 |
- Updated Windows launchers. |
| 442 |
|
| 443 |
- util |
| 444 |
|
| 445 |
- Fixed #116: Corrected parsing of credentials from URLs. |
| 446 |
|
| 447 |
- wheel |
| 448 |
|
| 449 |
- Fixed #115: Relaxed check for '..' in wheel archive entries by not |
| 450 |
checking filename parts, only directory segments. |
| 451 |
|
| 452 |
- Skip entries in archive entries ending with '/' (directories) when |
| 453 |
verifying or installing. |
| 454 |
|
| 455 |
- docs |
| 456 |
|
| 457 |
- Updated default PyPI URL to https://pypi.org/pypi. |
| 458 |
|
| 459 |
- Commented out Disqus comment section. |
| 460 |
|
| 461 |
- Changed theme configuration. |
| 462 |
|
| 463 |
- Updated some out-of-date argument lists. |
| 464 |
|
| 465 |
- tests |
| 466 |
|
| 467 |
- Updated default PyPI URL to https://pypi.org/pypi. |
| 468 |
|
| 469 |
- Preserved umask on POSIX across a test. |
| 470 |
|
| 471 |
|
| 472 |
0.2.8 |
| 473 |
~~~~~ |
| 474 |
|
| 475 |
Released: 2018-10-01 |
| 476 |
|
| 477 |
- database |
| 478 |
|
| 479 |
- Fixed #108: Updated metadata scan to look for the METADATA file as well |
| 480 |
as the JSON formats. |
| 481 |
|
| 482 |
- locators |
| 483 |
|
| 484 |
- Fixed #112: Handled wheel tags and platform-dependent downloads correctly |
| 485 |
in SimpleScrapingLocator. |
| 486 |
|
| 487 |
- metadata |
| 488 |
|
| 489 |
- Fixed #107: Updated documentation on testing to include information on |
| 490 |
setting PYTHONHASHSEED. |
| 491 |
|
| 492 |
- scripts |
| 493 |
|
| 494 |
- Fixed #111: Avoided unnecessary newlines in script preambles, which caused |
| 495 |
problems with detecting encoding declarations. Thanks to Wim Glenn for the |
| 496 |
report and patch. |
| 497 |
|
| 498 |
- util |
| 499 |
|
| 500 |
- Fixed #109: Removed existing files (which might have been symlinks) before |
| 501 |
overwriting. |
| 502 |
|
| 503 |
|
| 504 |
0.2.7 |
| 505 |
~~~~~ |
| 506 |
|
| 507 |
Released: 2018-04-16 |
| 508 |
|
| 509 |
- compat |
| 510 |
|
| 511 |
- Fixed #105: cache_from_source is now imported from importlib.util where |
| 512 |
available. |
| 513 |
|
| 514 |
- database |
| 515 |
|
| 516 |
- Addressed #102: InstalledDistributions now have a modules attribute which |
| 517 |
is a list of top-level modules as read from top_level.txt, if that is in |
| 518 |
the distribution info. |
| 519 |
|
| 520 |
- locators |
| 521 |
|
| 522 |
- Fixed #103: Thanks to Saulius Žemaitaitis for the patch. |
| 523 |
|
| 524 |
- metadata |
| 525 |
|
| 526 |
- Added support for PEP 566 / Metadata 1.3. |
| 527 |
|
| 528 |
- scripts |
| 529 |
|
| 530 |
- Fixed #104: Updated launcher binaries. Thanks to Atsushi Odagiri for |
| 531 |
the diagnosis and fix. |
| 532 |
|
| 533 |
|
| 534 |
0.2.6 |
| 535 |
~~~~~ |
| 536 |
|
| 537 |
Released: 2017-10-28 |
| 538 |
|
| 539 |
- compat |
| 540 |
|
| 541 |
- Fixed #99: Updated to handle a case where sys.getfilesystemencoding() |
| 542 |
returns None. |
| 543 |
|
| 544 |
- database |
| 545 |
|
| 546 |
- Fixed #97: Eliminated a crash in EggInfoDistribution.list_distinfo_files() |
| 547 |
which was caused by trying to open a non-existent file. |
| 548 |
|
| 549 |
- Handled a case where an installed distribution didn't have 'Provides:' |
| 550 |
metadata. |
| 551 |
|
| 552 |
- locators |
| 553 |
|
| 554 |
- Fixed #96: SimpleScrapingLocator no longer fails prematurely when scraping |
| 555 |
links due to invalid versions. |
| 556 |
|
| 557 |
- markers |
| 558 |
|
| 559 |
- Improved error messages issued when interpreting markers |
| 560 |
|
| 561 |
- scripts |
| 562 |
|
| 563 |
- Improved the shebangs written into installed scripts when the interpreter |
| 564 |
path is very long or contains spaces (to cater for a limitation in shebang |
| 565 |
line parsing on Linux) |
| 566 |
|
| 567 |
- Updated launcher binaries. |
| 568 |
|
| 569 |
- tests |
| 570 |
|
| 571 |
- Numerous test refinements, not detailed further here. |
| 572 |
|
| 573 |
|
| 574 |
0.2.5 |
| 575 |
~~~~~ |
| 576 |
|
| 577 |
Released: 2017-05-06 |
| 578 |
|
| 579 |
- general |
| 580 |
|
| 581 |
- Changed regular expressions to be compatible with 3.6 as regards escape |
| 582 |
sequences. Thanks to Ville Skyttä for the patch. |
| 583 |
|
| 584 |
- closed some resource leaks related to XML-RPC proxies. |
| 585 |
|
| 586 |
- Removed Python 2.6 from the support list. |
| 587 |
|
| 588 |
- locators |
| 589 |
|
| 590 |
- Made downloadability a factor in scoring URLs for preferences. |
| 591 |
|
| 592 |
- markers |
| 593 |
|
| 594 |
- Replaced the implementation with code which parses requirements in |
| 595 |
accordance with PEP 508 and evaluates marker expressions according to |
| 596 |
PEP 508. |
| 597 |
|
| 598 |
- util |
| 599 |
|
| 600 |
- Changed _csv_open to use utf-8 across all platforms on Python 3.x. Thanks |
| 601 |
to Alastair McCormack for the patch. |
| 602 |
|
| 603 |
- wheel |
| 604 |
|
| 605 |
- Changed to look for metadata in metadata.json as well as pydist.json. |
| 606 |
|
| 607 |
- version |
| 608 |
|
| 609 |
- Updated requirement parsing in version matchers to use the new |
| 610 |
PEP 508-compliant code. |
| 611 |
|
| 612 |
- tests |
| 613 |
|
| 614 |
- Numerous test refinements, not detailed further here. |
| 615 |
|
| 616 |
|
| 617 |
0.2.4 |
| 618 |
~~~~~ |
| 619 |
|
| 620 |
Released: 2016-09-30 |
| 621 |
|
| 622 |
- compat |
| 623 |
|
| 624 |
- Updated to not fail on import if SSL is unavailable. |
| 625 |
|
| 626 |
- index |
| 627 |
|
| 628 |
- Switch from using gpg in preference to gpg2 for signing. This is |
| 629 |
to avoid gpg2's behaviour of prompting for passwords, which interferes |
| 630 |
with the tests on some machines. |
| 631 |
|
| 632 |
- locators |
| 633 |
|
| 634 |
- Changed project name comparisons to follow PEP 503. Thanks to Steven |
| 635 |
Arcangeli for the patch. |
| 636 |
|
| 637 |
- Added errors queue to Locator. |
| 638 |
|
| 639 |
- manifest |
| 640 |
|
| 641 |
- Changed match logic to work under Python 3.6, due to differences in |
| 642 |
how fnmatch.translate behaves. |
| 643 |
|
| 644 |
- resources |
| 645 |
|
| 646 |
- Updated finder registry logic to reflect changes in Python 3.6. |
| 647 |
|
| 648 |
- scripts |
| 649 |
|
| 650 |
- Fixed regular expression in generated script boilerplate. |
| 651 |
|
| 652 |
- util |
| 653 |
|
| 654 |
- Updated to not fail on import if SSL is unavailable. |
| 655 |
|
| 656 |
- Added normalize_name for project name comparisons using PEP 503. |
| 657 |
|
| 658 |
- tests |
| 659 |
|
| 660 |
- Updated to skip certain tests if SSL is unavailable. |
| 661 |
|
| 662 |
- Numerous other test refinements, not detailed further here. |
| 663 |
|
| 664 |
|
| 665 |
0.2.3 |
| 666 |
~~~~~ |
| 667 |
|
| 668 |
Released: 2016-04-30 |
| 669 |
|
| 670 |
- util |
| 671 |
|
| 672 |
- Changed get_executable to return Unicode rather than bytes. |
| 673 |
|
| 674 |
- Fixed #84: Allow + character in output script names. |
| 675 |
|
| 676 |
- Relaxed too-stringent test looking for application/json in headers. |
| 677 |
|
| 678 |
- wheel |
| 679 |
|
| 680 |
- sorted the entries in RECORD before writing to file. |
| 681 |
|
| 682 |
- tests |
| 683 |
|
| 684 |
- Numerous test refinements, not detailed further here. |
| 685 |
|
| 686 |
|
| 687 |
0.2.2 |
| 688 |
~~~~~ |
| 689 |
|
| 690 |
Released: 2016-01-30 |
| 691 |
|
| 692 |
- database |
| 693 |
|
| 694 |
- Issue #81: Added support for detecting distributions installed by wheel |
| 695 |
versions >= 0.23 (which use metadata.json rather than pydist.json). |
| 696 |
Thanks to Te-jé Rodgers for the patch. |
| 697 |
|
| 698 |
- locators |
| 699 |
|
| 700 |
- Updated default PyPI URL to https://pypi.python.org/pypi |
| 701 |
|
| 702 |
- metadata |
| 703 |
|
| 704 |
- Updated to use different formatting for description field for V1.1 |
| 705 |
metadata. |
| 706 |
|
| 707 |
- Corrected "classifier" to "classifiers" in the mapping for V1.0 |
| 708 |
metadata. |
| 709 |
|
| 710 |
- scripts |
| 711 |
|
| 712 |
- Improved support for Jython when quoting executables in output scripts. |
| 713 |
|
| 714 |
- util |
| 715 |
|
| 716 |
- Issue #77: Made the internal URL used for extended metadata fetches |
| 717 |
configurable via a module attribute. |
| 718 |
|
| 719 |
- Issue #78: Improved entry point parsing to handle leading spaces in |
| 720 |
ini-format files. |
| 721 |
|
| 722 |
- docs |
| 723 |
|
| 724 |
- Numerous documentation updates, not detailed further here. |
| 725 |
|
| 726 |
- tests |
| 727 |
|
| 728 |
- renamed environment variable SKIP_SLOW to SKIP_ONLINE in tests and |
| 729 |
applied to some more tests. |
| 730 |
|
| 731 |
- Numerous other test refinements, not detailed further here. |
| 732 |
|
| 733 |
|
| 734 |
0.2.1 |
| 735 |
~~~~~ |
| 736 |
|
| 737 |
Released: 2015-07-07 |
| 738 |
|
| 739 |
- locators |
| 740 |
|
| 741 |
- Issue #58: Return a Distribution instance or None from ``locate()``. |
| 742 |
|
| 743 |
- Issue #59: Skipped special keys when looking for versions. |
| 744 |
|
| 745 |
- Improved behaviour of PyPIJSONLocator to be analogous to that of other |
| 746 |
locators. |
| 747 |
|
| 748 |
- resource |
| 749 |
|
| 750 |
- Added resource iterator functionality. |
| 751 |
|
| 752 |
- scripts |
| 753 |
|
| 754 |
- Issue #71: Updated launchers to decode shebangs using UTF-8. This allows |
| 755 |
non-ASCII pathnames to be correctly handled. |
| 756 |
|
| 757 |
- Ensured that the executable written to shebangs is normcased. |
| 758 |
|
| 759 |
- Changed ScriptMaker to work better under Jython. |
| 760 |
|
| 761 |
- util |
| 762 |
|
| 763 |
- Changed the mode setting method to work better under Jython. |
| 764 |
|
| 765 |
- Changed get_executable() to return a normcased value. |
| 766 |
|
| 767 |
- wheel |
| 768 |
|
| 769 |
- Handled multiple-architecture wheel filenames correctly. |
| 770 |
|
| 771 |
- docs |
| 772 |
|
| 773 |
- Numerous documentation updates, not detailed further here. |
| 774 |
|
| 775 |
- tests |
| 776 |
|
| 777 |
- Numerous test refinements, not detailed further here. |
| 778 |
|
| 779 |
|
| 780 |
0.2.0 |
| 781 |
~~~~~ |
| 782 |
|
| 783 |
Released: 2014-12-17 |
| 784 |
|
| 785 |
- compat |
| 786 |
|
| 787 |
- Updated ``match_hostname`` to use the latest Python implementation. |
| 788 |
|
| 789 |
- database |
| 790 |
|
| 791 |
- Added `download_urls` and `digests` attributes to ``Distribution``. |
| 792 |
|
| 793 |
- locators |
| 794 |
|
| 795 |
- Issue #48: Fixed the problem of adding a tuple containing a set |
| 796 |
(unhashable) to a set, by wrapping with frozenset(). |
| 797 |
|
| 798 |
- Issue #55: Return multiple download URLs for distributions, if |
| 799 |
available. |
| 800 |
|
| 801 |
- manifest |
| 802 |
|
| 803 |
- Issue #57: Remove unhelpful warnings about pattern matches. |
| 804 |
|
| 805 |
- metadata |
| 806 |
|
| 807 |
- Updated to reflect changes to PEP 426. |
| 808 |
|
| 809 |
- resources |
| 810 |
|
| 811 |
- Issue #50: The type of the path needs to be preserved on 2.x. |
| 812 |
|
| 813 |
- scripts |
| 814 |
|
| 815 |
- Updated (including launchers) to support providing arguments to |
| 816 |
interpreters in shebang lines. |
| 817 |
|
| 818 |
- The launcher sources are now included in the repository and the |
| 819 |
source distribution (they are to be found in the PC directory). |
| 820 |
|
| 821 |
- Added frames support in IronPython (patch by Pawel Jasinski). |
| 822 |
|
| 823 |
- Issue #51: encode shebang executable using utf-8 rather than fsencode. |
| 824 |
|
| 825 |
- util |
| 826 |
|
| 827 |
- Removed reference to __PYVENV_LAUNCHER__ when determining executable |
| 828 |
for scripts (relevant only on macOS). |
| 829 |
|
| 830 |
- Updated to support changes to PEP 426. |
| 831 |
|
| 832 |
- version |
| 833 |
|
| 834 |
- Updated to reflect changes to versioning proposed in PEP 440. |
| 835 |
|
| 836 |
- wheel |
| 837 |
|
| 838 |
- Updated build() code to respect interpreter arguments in prebuilt |
| 839 |
scripts. |
| 840 |
|
| 841 |
- Updated to support changes to PEP 426 / PEP 440. |
| 842 |
|
| 843 |
- docs |
| 844 |
|
| 845 |
- Numerous documentation updates, not detailed further here. |
| 846 |
|
| 847 |
- tests |
| 848 |
|
| 849 |
- Numerous test refinements, not detailed further here. |
| 850 |
|
| 851 |
|
| 852 |
0.1.9 |
| 853 |
~~~~~ |
| 854 |
|
| 855 |
Released: 2014-05-19 |
| 856 |
|
| 857 |
- index |
| 858 |
|
| 859 |
- Added ``keystore`` keyword argument to signing and verification |
| 860 |
APIs. |
| 861 |
|
| 862 |
- scripts |
| 863 |
|
| 864 |
- Issue #47: Updated binary launchers to fix double-quoting bug where |
| 865 |
script executable paths have spaces. |
| 866 |
|
| 867 |
- docs |
| 868 |
|
| 869 |
- Numerous documentation updates, not detailed further here. |
| 870 |
|
| 871 |
- tests |
| 872 |
|
| 873 |
- Numerous test refinements, not detailed further here. |
| 874 |
|
| 875 |
|
| 876 |
0.1.8 |
| 877 |
~~~~~ |
| 878 |
|
| 879 |
Released: 2014-03-18 |
| 880 |
|
| 881 |
- index |
| 882 |
|
| 883 |
- Improved thread-safety in SimpleScrapingLocator (issue #45). |
| 884 |
|
| 885 |
- Replaced absolute imports with relative ones. |
| 886 |
|
| 887 |
- Added ``search`` method to ``PackageIndex``. |
| 888 |
|
| 889 |
- locators |
| 890 |
|
| 891 |
- Improved thread-safety in ``SimpleScrapingLocator`` (issue #45). |
| 892 |
|
| 893 |
- metadata |
| 894 |
|
| 895 |
- Fixed bug in add_requirements implementation. |
| 896 |
|
| 897 |
- resources |
| 898 |
|
| 899 |
- The ``Cache`` class was refactored into ``distlib.util.Cache`` |
| 900 |
and ``distlib.resources.ResourceCache`` classes. |
| 901 |
|
| 902 |
- scripts |
| 903 |
|
| 904 |
- Implement quoting for executables with spaces in them. |
| 905 |
|
| 906 |
- util |
| 907 |
|
| 908 |
- Gained the ``Cache`` class, which is also used in ``distlib.wheel``. |
| 909 |
|
| 910 |
- version |
| 911 |
|
| 912 |
- Allowed versions with a single numeric component and a local |
| 913 |
version component. |
| 914 |
|
| 915 |
- Adjusted pre-release computation for legacy versions to be the same as |
| 916 |
the logic in the setuptools documentation. |
| 917 |
|
| 918 |
- wheel |
| 919 |
|
| 920 |
- Added ``verify``, ``update``, ``is_compatible`` and ``is_mountable`` |
| 921 |
methods to the ``Wheel`` class. |
| 922 |
|
| 923 |
- Converted local version separators from '-' to '_' and back. |
| 924 |
|
| 925 |
- If SOABI not available, used Py_DEBUG, Py_UNICODE_SIZE and |
| 926 |
WITH_PYMALLOC to derive the ABI. |
| 927 |
|
| 928 |
- Added "exists" property to Wheel instances. |
| 929 |
|
| 930 |
- Factored out RECORD writing and zip building to separate methods. |
| 931 |
|
| 932 |
- Provided the ability to determine the location where extensions are |
| 933 |
extracted, by using the ``distlib.util.Cache`` class. |
| 934 |
|
| 935 |
- Avoided using ``pydist.json`` in 1.0 wheels (``bdist_wheel`` writes a |
| 936 |
non-conforming ``pydist.json``.) |
| 937 |
|
| 938 |
- Improved computation of compatible tags on macOS, and made COMPATIBLE_TAGS |
| 939 |
a set. |
| 940 |
|
| 941 |
- _backport/sysconfig |
| 942 |
|
| 943 |
- Replaced an absolute import with a relative one. |
| 944 |
|
| 945 |
- docs |
| 946 |
|
| 947 |
- Numerous documentation updates, not detailed further here. |
| 948 |
|
| 949 |
- tests |
| 950 |
|
| 951 |
- Numerous test refinements, not detailed further here. |
| 952 |
|
| 953 |
|
| 954 |
0.1.7 |
| 955 |
~~~~~ |
| 956 |
|
| 957 |
Released: 2014-01-16 |
| 958 |
|
| 959 |
- metadata |
| 960 |
|
| 961 |
- Added some more fields to the metadata for the index. |
| 962 |
|
| 963 |
- resources |
| 964 |
|
| 965 |
- Use native literal string in cache path. |
| 966 |
|
| 967 |
- Issue #40: Now does path adjustments differently for files and zips. |
| 968 |
|
| 969 |
- scripts |
| 970 |
|
| 971 |
- Improved checking for venvs when generating scripts. |
| 972 |
|
| 973 |
- util |
| 974 |
|
| 975 |
- Issue #39: Fall back to temporary directory for cache if home directory |
| 976 |
unavailable. |
| 977 |
|
| 978 |
- wheel |
| 979 |
|
| 980 |
- Use native literal string in cache path. |
| 981 |
|
| 982 |
0.1.6 |
| 983 |
~~~~~ |
| 984 |
|
| 985 |
Released: 2013-12-31 |
| 986 |
|
| 987 |
- scripts |
| 988 |
|
| 989 |
- Updated binary launchers because the wrong variant was shipped |
| 990 |
with the previous release. |
| 991 |
|
| 992 |
- version |
| 993 |
|
| 994 |
- Added support for local component in PEP 440 versions. |
| 995 |
|
| 996 |
- tests |
| 997 |
|
| 998 |
- Numerous test refinements, not detailed further here. |
| 999 |
|
| 1000 |
|
| 1001 |
0.1.5 |
| 1002 |
~~~~~ |
| 1003 |
|
| 1004 |
Released: 2013-12-15 |
| 1005 |
|
| 1006 |
- compat |
| 1007 |
|
| 1008 |
- Changed source of import for unescape in Python >= 3.4. |
| 1009 |
|
| 1010 |
- index |
| 1011 |
|
| 1012 |
- Used dummy_threading when threading isn't available. |
| 1013 |
|
| 1014 |
- Used https for default index. |
| 1015 |
|
| 1016 |
- locators |
| 1017 |
|
| 1018 |
- Used dummy_threading when threading isn't available. |
| 1019 |
|
| 1020 |
- scripts |
| 1021 |
|
| 1022 |
- Defaulted to setting script mode bits on POSIX. |
| 1023 |
|
| 1024 |
- Use uncompressed executable launchers, since some anti-virus |
| 1025 |
products raise false positive errors. |
| 1026 |
|
| 1027 |
- util |
| 1028 |
|
| 1029 |
- Used dummy_threading when threading isn't available. |
| 1030 |
|
| 1031 |
- docs |
| 1032 |
|
| 1033 |
- Updated out-of-date links in overview. |
| 1034 |
|
| 1035 |
- tests |
| 1036 |
|
| 1037 |
- Used dummy_threading when threading isn't available. |
| 1038 |
|
| 1039 |
|
| 1040 |
0.1.4 |
| 1041 |
~~~~~ |
| 1042 |
|
| 1043 |
Released: 2013-10-31 |
| 1044 |
|
| 1045 |
- scripts |
| 1046 |
|
| 1047 |
- Updated the logic for finding the distlib package using a relative, |
| 1048 |
rather than absolute method. This fixes a problem for pip, where |
| 1049 |
distlib is kept in the pip.vendor.distlib package. |
| 1050 |
|
| 1051 |
- _backport/sysconfig |
| 1052 |
|
| 1053 |
- The analogous change to that made for scripts, described above. |
| 1054 |
|
| 1055 |
0.1.3 |
| 1056 |
~~~~~ |
| 1057 |
|
| 1058 |
Released: 2013-10-18 |
| 1059 |
|
| 1060 |
- database |
| 1061 |
|
| 1062 |
- Added support for PEP 426 JSON metadata (pydist.json). |
| 1063 |
|
| 1064 |
- Generalised digests to support e.g. SHA256. |
| 1065 |
|
| 1066 |
- Fixed a bug in parsing legacy metadata from .egg directories. |
| 1067 |
|
| 1068 |
- Removed duplicated code relating to parsing "provides" fields. |
| 1069 |
|
| 1070 |
- index |
| 1071 |
|
| 1072 |
- Changes relating to support for PEP 426 JSON metadata (pydist.json). |
| 1073 |
|
| 1074 |
- locators |
| 1075 |
|
| 1076 |
- Changes relating to support for PEP 426 JSON metadata (pydist.json). |
| 1077 |
|
| 1078 |
- Fixed a bug in scoring download URLs for preference when multiple URLs |
| 1079 |
are available. |
| 1080 |
|
| 1081 |
- The legacy scheme is used for the default locator. |
| 1082 |
|
| 1083 |
- Made changes relating to parsing "provides" fields. |
| 1084 |
|
| 1085 |
- Generalised digests to support e.g. SHA256. |
| 1086 |
|
| 1087 |
- If no release version is found for a requirement, prereleases are |
| 1088 |
now considered even if not explicitly requested. |
| 1089 |
|
| 1090 |
- markers |
| 1091 |
|
| 1092 |
- Added support for markers as specified in PEP 426. |
| 1093 |
|
| 1094 |
- metadata |
| 1095 |
|
| 1096 |
- Added support for PEP 426 JSON metadata (pydist.json). The old |
| 1097 |
metadata class is renamed to LegacyMetadata, and the (new) |
| 1098 |
Metadata class wraps the JSON format (and also the legacy format, |
| 1099 |
through LegacyMetadata). |
| 1100 |
|
| 1101 |
- Removed code which was only used if docutils was installed. This code |
| 1102 |
implemented validation of .rst descriptions, which is not done in |
| 1103 |
distlib. |
| 1104 |
|
| 1105 |
- scripts |
| 1106 |
|
| 1107 |
- Updated the logic for writing executable files to deal as best we can |
| 1108 |
with files which are already in use and hence cannot be deleted on |
| 1109 |
Windows. |
| 1110 |
|
| 1111 |
- Changed the script generation when launchers are used to write a |
| 1112 |
single executable which wraps a script (whether pre-built or generated) |
| 1113 |
and includes a manifest to avoid UAC prompts on Windows. |
| 1114 |
|
| 1115 |
- Changed the interface for script generation options: the ``make`` and |
| 1116 |
``make_multiple`` methods of ``ScriptMaker`` now take an optional |
| 1117 |
``options`` dictionary. |
| 1118 |
|
| 1119 |
- util |
| 1120 |
|
| 1121 |
- Added extract_by_key() to copy selected keys from one dict to another. |
| 1122 |
|
| 1123 |
- Added parse_name_and_version() for use in parsing "provides" fields. |
| 1124 |
|
| 1125 |
- Made split_filename more flexible. |
| 1126 |
|
| 1127 |
- version |
| 1128 |
|
| 1129 |
- Added support for PEP 440 version matching. |
| 1130 |
|
| 1131 |
- Removed AdaptiveVersion, AdaptiveMatcher etc. as they don't add |
| 1132 |
sufficient value to justify keeping them in. |
| 1133 |
|
| 1134 |
- wheel |
| 1135 |
|
| 1136 |
- Added wheel_version kwarg to Wheel.build API. |
| 1137 |
|
| 1138 |
- Changed Wheel.install API (after consultation on distutils-sig). |
| 1139 |
|
| 1140 |
- Added support for PEP 426 JSON metadata (pydist.json). |
| 1141 |
|
| 1142 |
- Added lib_only flag to install() method. |
| 1143 |
|
| 1144 |
- docs |
| 1145 |
|
| 1146 |
- Numerous documentation updates, not detailed further here. |
| 1147 |
|
| 1148 |
- tests |
| 1149 |
|
| 1150 |
- Numerous test refinements, not detailed further here. |
| 1151 |
|
| 1152 |
|
| 1153 |
0.1.2 |
| 1154 |
~~~~~ |
| 1155 |
|
| 1156 |
Released: 2013-04-30 |
| 1157 |
|
| 1158 |
- compat |
| 1159 |
|
| 1160 |
- Added BaseConfigurator backport for 2.6. |
| 1161 |
|
| 1162 |
- database |
| 1163 |
|
| 1164 |
- Return RECORD path from write_installed_files (or None if dry_run). |
| 1165 |
|
| 1166 |
- Explicitly return None from write_shared_locations if dry run. |
| 1167 |
|
| 1168 |
- metadata |
| 1169 |
|
| 1170 |
- Added missing condition in :meth:`~distlib.metadata.Metadata.todict`. |
| 1171 |
|
| 1172 |
- scripts |
| 1173 |
|
| 1174 |
- Add variants and clobber flag for generation of foo/fooX/foo-X.Y. |
| 1175 |
|
| 1176 |
- Added .exe manifests for Windows. |
| 1177 |
|
| 1178 |
- util |
| 1179 |
|
| 1180 |
- Regularised recording of written files. |
| 1181 |
|
| 1182 |
- Added Configurator. |
| 1183 |
|
| 1184 |
- version |
| 1185 |
|
| 1186 |
- Tidyups, most suggested by Donald Stufft: Made key functions private, |
| 1187 |
removed _Common class, removed checking for huge version numbers, made |
| 1188 |
UnsupportedVersionError a ValueError. |
| 1189 |
|
| 1190 |
- wheel |
| 1191 |
|
| 1192 |
- Replaced absolute import with relative. |
| 1193 |
|
| 1194 |
- Handle None return from write_shared_locations correctly. |
| 1195 |
|
| 1196 |
- Fixed bug in Mounter for extension modules not in sub-packages. |
| 1197 |
|
| 1198 |
- Made dylib-cache Python version-specific. |
| 1199 |
|
| 1200 |
- docs |
| 1201 |
|
| 1202 |
- Numerous documentation updates, not detailed further here. |
| 1203 |
|
| 1204 |
- tests |
| 1205 |
|
| 1206 |
- Numerous test refinements, not detailed further here. |
| 1207 |
|
| 1208 |
- other |
| 1209 |
|
| 1210 |
- Corrected setup.py to ensure that sysconfig.cfg is included. |
| 1211 |
|
| 1212 |
|
| 1213 |
0.1.1 |
| 1214 |
~~~~~ |
| 1215 |
|
| 1216 |
Released: 2013-03-22 |
| 1217 |
|
| 1218 |
- database |
| 1219 |
|
| 1220 |
- Updated requirements logic to use extras and environment markers. |
| 1221 |
|
| 1222 |
- Made it easier to subclass Distribution and EggInfoDistribution. |
| 1223 |
|
| 1224 |
- locators |
| 1225 |
|
| 1226 |
- Added method to clear locator caches. |
| 1227 |
|
| 1228 |
- Added the ability to skip pre-releases. |
| 1229 |
|
| 1230 |
- manifest |
| 1231 |
|
| 1232 |
- Fixed bug which caused side-effect when sorting a manifest. |
| 1233 |
|
| 1234 |
- metadata |
| 1235 |
|
| 1236 |
- Updated to handle most 2.0 fields, though PEP 426 is still a draft. |
| 1237 |
|
| 1238 |
- Added the option to skip unset fields when writing. |
| 1239 |
|
| 1240 |
- resources |
| 1241 |
|
| 1242 |
- Made separate subclasses ResourceBase, Resource and ResourceContainer |
| 1243 |
from Resource. Thanks to Thomas Kluyver for the suggestion and patch. |
| 1244 |
|
| 1245 |
- scripts |
| 1246 |
|
| 1247 |
- Fixed bug which prevented writing shebang lines correctly on Windows. |
| 1248 |
|
| 1249 |
- util |
| 1250 |
|
| 1251 |
- Made get_cache_base more useful by parameterising the suffix to use. |
| 1252 |
|
| 1253 |
- Fixed a bug when reading CSV streams from .zip files under 3.x. |
| 1254 |
|
| 1255 |
- version |
| 1256 |
|
| 1257 |
- Added is_prerelease property to versions. |
| 1258 |
|
| 1259 |
- Moved to PEP 426 version formats and sorting. |
| 1260 |
|
| 1261 |
- wheel |
| 1262 |
|
| 1263 |
- Fixed CSV stream reading under 3.x and handled UTF-8 in zip entries |
| 1264 |
correctly. |
| 1265 |
|
| 1266 |
- Added metadata and info properties, and updated the install method to |
| 1267 |
return the installed distribution. |
| 1268 |
|
| 1269 |
- Added mount/unmount functionality. |
| 1270 |
|
| 1271 |
- Removed compatible_tags() function in favour of COMPATIBLE_TAGS |
| 1272 |
attribute. |
| 1273 |
|
| 1274 |
- docs |
| 1275 |
|
| 1276 |
- Numerous documentation updates, not detailed further here. |
| 1277 |
|
| 1278 |
- tests |
| 1279 |
|
| 1280 |
- Numerous test refinements, not detailed further here. |
| 1281 |
|
| 1282 |
|
| 1283 |
0.1.0 |
| 1284 |
~~~~~ |
| 1285 |
|
| 1286 |
Released: 2013-03-02 |
| 1287 |
|
| 1288 |
- Initial release. |