Distlib

Latest version: v0.3.9

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

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.

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.