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