Skip to content

Releases: sarugaku/requirementslib

Release 1.5.10

01 Jun 08:02
Compare
Choose a tag to compare
Version 1.5.10

Release 1.5.9

19 May 21:06
5aebf79
Compare
Choose a tag to compare
Version 1.5.9

Bug Fixes
---------

- Subdirectory fragments on VCS URLs which also contain #egg= fragments will now be included correctly in requirements.  _

- Fixed a regression which caused collisions to occur between valid named requirements and invalid local filesystem paths.  _

- Fixed a bug in setup.py parsing in which setup.py files which passed a dictionary to the setup function returned metadata that could not be meaningfully processed.  _

1.5.8 (2020-05-14)

14 May 23:06
8653691
Compare
Choose a tag to compare

1.5.8 (2020-05-14)

Bug Fixes

  • Fix an issue where the list of not-supported python versions in a marker was being truncated. #228
  • Fixed a bug which prevented the use of wheel_cache instances from pip due to deprecated invocation. #230
  • Requirementslib will now ensure that PEP508 style direct URL lines are preserved as being direct URL references when converting to and from Requirementslib.requirement instances. #232
  • Fix a bug that 1.x specifiers can't be parsed correctly. #234

1.5.7 (2020-04-23)

23 Apr 21:44
9d60154
Compare
Choose a tag to compare

1.5.7 (2020-04-23)

Bug Fixes

  • Fixed a bug in AST parsing on python 2.7 which caused the parser to fail if any attributes could not be resolved. #226

1.5.6 (2020-04-22)

22 Apr 06:26
dd86961
Compare
Choose a tag to compare

1.5.6 (2020-04-22)

Features

  • Added requirementslib.models.metadata module with get_package, get_package_version, and get_package_from_requirement interfaces. #219

Bug Fixes

  • Fixed an issue in parsing setup files that incorrectly parsed the in operator and failed to properly expand referenced dictionaries. #222
  • Fixed an issue that did not take into account micro versions when generating markers from python_requires. #223

1.5.5 (2020-03-31)

31 Mar 21:12
6af538d
Compare
Choose a tag to compare

1.5.5 (2020-03-31)

Bug Fixes

  • Fixed an issue which prevented parsing of setup.cfg files using the setuptools native configuration reader. #216
  • URI instances will no longer print masked username fields when neither a username or password is supplied. #220

1.5.4 (2020-03-25)

25 Mar 19:46
c5c139b
Compare
Choose a tag to compare

1.5.4 (2020-03-25)

Features

  • Added support for hiding tokens from URLs when printing them to the screen. #192

Bug Fixes

  • Fix AST parsing when setup.py contains binary operators other than + and -. #179
  • Fix test failures due to updates to the pyparsing API. #181
  • Fixed an issue with loading Pipfile data due to plette model misalignment. #182
  • Fixed failed calls to .lower on tomlkit's Bool object during pipfile load as the API seems to have changed here. #183
  • Added import guards to prevent ImportErrors which could occur when attempting to import now-removed pkg_resources.extern.requirements. #185
  • Fixed an issue which prevented loading Lockfile-based references to local paths when calling as_requirements() on a requirementslib.models.lockfile.Lockfile instance. #188
  • Updated references to Link instances which no longer have the is_artifact property. #190
  • Updated all references to newly shimmed code to fix breakages due to pip 19.3 release:
    • Fixed references to Command object from pip in favor of InstallCommand which is now properly shimmed via pip-shims
    • Fixed invocation of VcsSupport and VersionControl objects for compatibility
    • Removed addition of options to Command as they are redundant when using InstallCommand
    • Cut get_finder and start_resolver over to newly shimmed approaches in pip-shims #191
  • Fixed a bug in parsing of Pipfiles with missing or misnamed source sections which could cause tomlkit errors when loading legacy Pipfiles. #194
  • Corrected an unexpected behavior which resulted in a KeyError when attempting to call __getitem__ on a Pipfile instance with a section that was not present. #195
  • Fixed an issue in Lockfile path and model auto-detection when called without the load classmethod which caused initialization to fail due to an AttributeError. #196
  • Fixed an issue which caused build directories to be deleted before dependencies could be determined for editable source reqiurements. #200
  • Fixed a bug which could cause parsing to fail for setup.cfg files on python 2. #202
  • Fixed an issue in binary operator mapping in the ast_parse_setup_py functionality of the dependency parser which could cause dependency resolution to fail. #204
  • Fixed an issue which prevented successful parsing of setup.py files which were not utf-8` encoded. #205
  • Fixed an issue which caused mappings of binary operators to fail to evaluate when parsing setup.py files. #206
  • Fixed mapping and evaluation of boolean operators and comparisons when evaluating setup.py files with AST parser to discover dependencies. #207

1.5.3 (2019-07-09)

21 Apr 22:50
Compare
Choose a tag to compare

1.5.3 (2019-07-09)

Features

  • Added support for parsing lists of variables as extras in [setup.py]{.title-ref} files via ast.BinOp traversal. #177

Bug Fixes

  • Fixed quoting of markers when formatting requirements as pip-compatible lines. #173
  • Quotes surrounding requirement lines will now be stripped only if matching pairs are found to ensure requirements can be parsed correctly. #176

1.5.2 (2019-06-25)

21 Apr 22:49
Compare
Choose a tag to compare

1.5.2 (2019-06-25)

Bug Fixes

  • Added support to the AST parser for discovering non-standard invocations of setup in setup.py, e.g. using the fully qualified function name. #163
  • Fixed an issue which caused dynamic references in setup.cfg to fail when package_dir was specified in setup.py. #165
  • Fixed handling of @-signs in file: URLs, unbreaking the use of local packages in e.g. Jenkins workspaces. #168
  • Fixed occassional recursion error when parsing function references using AST parser on setup.py files. #169
  • Fixed an intermittent issue caused by the use of lru_cache on a helper function in the translation of markers. #171
  • Added enhanced get_line() functionality to Line objects and expanded test coverage to incorporate hypothesis. #174, #77

1.5.1 (2019-05-19)

19 May 22:55
Compare
Choose a tag to compare

1.5.1 (2019-05-19)

Bug Fixes

  • Fixed a bug which caused local dependencies to incorrectly return
    wheel as their name. #158
  • Wheels which are succesfully built but which contain no valid
    metadata will now correctly be skipped over during requirements
    parsing in favor of sdists. #160