Releases: sarugaku/requirementslib
Releases · sarugaku/requirementslib
Release 1.5.10
Version 1.5.10
Release 1.5.9
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)
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 frompip
due to deprecated invocation. #230 Requirementslib
will now ensure thatPEP508
style direct URL lines are preserved as being direct URL references when converting to and fromRequirementslib.requirement
instances. #232- Fix a bug that
1.x
specifiers can't be parsed correctly. #234
1.5.7 (2020-04-23)
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)
1.5.6 (2020-04-22)
Features
- Added
requirementslib.models.metadata
module withget_package
,get_package_version
, andget_package_from_requirement
interfaces. #219
Bug Fixes
1.5.5 (2020-03-31)
1.5.4 (2020-03-25)
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 toplette
model misalignment. #182 - Fixed failed calls to
.lower
ontomlkit
'sBool
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-removedpkg_resources.extern.requirements
. #185 - Fixed an issue which prevented loading
Lockfile
-based references to local paths when callingas_requirements()
on arequirementslib.models.lockfile.Lockfile
instance. #188 - Updated references to
Link
instances which no longer have theis_artifact
property. #190 - Updated all references to newly shimmed code to fix breakages due to
pip 19.3
release:- Fixed references to
Command
object frompip
in favor ofInstallCommand
which is now properly shimmed viapip-shims
- Fixed invocation of
VcsSupport
andVersionControl
objects for compatibility - Removed addition of options to
Command
as they are redundant when usingInstallCommand
- Cut
get_finder
andstart_resolver
over to newly shimmed approaches inpip-shims
#191
- Fixed references to
- Fixed a bug in parsing of
Pipfiles
with missing or misnamedsource
sections which could causetomlkit
errors when loading legacyPipfiles
. #194 - Corrected an unexpected behavior which resulted in a
KeyError
when attempting to call__getitem__
on aPipfile
instance with a section that was not present. #195 - Fixed an issue in
Lockfile
path and model auto-detection when called without theload
classmethod which caused initialization to fail due to anAttributeError
. #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)
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
1.5.2 (2019-06-25)
1.5.2 (2019-06-25)
Bug Fixes
- Added support to the AST parser for discovering non-standard invocations of
setup
insetup.py
, e.g. using the fully qualified function name. #163 - Fixed an issue which caused dynamic references in
setup.cfg
to fail whenpackage_dir
was specified insetup.py
. #165 - Fixed handling of
@
-signs infile:
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 toLine
objects and expanded test coverage to incorporate hypothesis. #174, #77