Requirementslib

Latest version: v3.0.0

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

Scan your dependencies

Page 10 of 15

1.1.9

==================

Bug Fixes
---------

- Fixed a bug in named requirement normalization which caused querying the index to fail when looking up requirements with dots in their names. 79

1.1.8

==================

Bug Fixes
---------

- Fixed a bug which caused VCS URIs to build incorrectly when calling ``VCSRequirement.as_line()`` in some cases. 73

- Fixed bug that editable package with ref by is not supported correctly 74

1.1.7

==================

Bug Fixes
---------

- Add space before environment markers ; to make editable packages can be installed by pip 70

1.1.6

==================

Features
--------

- ``Requirement.get_commit_hash`` and ``Requirement.update_repo`` will no longer clone local repositories to temporary directories or local src directories in order to determine commit hashes. 60

- Added ``Requirement.lock_vcs_ref()`` api for locking the VCS commit hash to the current commit (and obtaining it and determining it if necessary). 64

- ``Requirement.as_line()`` now offers the parameter ``as_list`` to return requirements more suited for passing directly to ``subprocess.run`` and ``subprocess.Popen`` calls. 67


Bug Fixes
---------

- Fixed a bug error formatting of the path validator method of local requirements. 57

- Fixed an issue which prevented successful loads of ``Pipfile`` objects missing entries in some sections. 59

- Fixed an issue which caused ``Requirement.get_commit_hash()`` to fail for local requirements. 67

1.1.5

==================

Bug Fixes
---------

- Fixed an issue which caused local file uri based VCS requirements to fail when parsed from the ``Pipfile`` format. 53

1.1.4

==================

Features
--------

- Improved ``Pipfile.lock`` loading time by lazily loading requirements in favor of quicker access to metadata and text. 51

Page 10 of 15

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.