CHANGELOG

v0.9.0 (2024-04-03)

Feature

  • feat: handle hashes without error (thanks to @dymart via #67) (#98)

Signed-off-by: Paul Horton &lt;paul.horton@owasp.org&gt; (``a9aafc9` <https://github.com/madpah/requirements-parser/commit/a9aafc9a36caa77df6fad6c2dd9a076d72668c28>`_)

v0.8.0 (2024-04-03)

Feature

  • feat: Add support for Python 3.12 #93 via #94

feat: Drop support for Python 3.7 as part of #91

fix: Publish anciliary files only to sdist #66 via #87 (thanks to Maxwell G &lt;maxwell@gtmx.me&gt;)

fix: Type of Requirement.specs was incorrect #78

fix: -e in requirements.txt did not handle local paths correctly #97

chore(dev-deps): Updated all development dependencies

chore(deps): include types-setuptools as dependency

Signed-off-by: Paul Horton &lt;paul.horton@owasp.org&gt; (``16ffe88` <https://github.com/madpah/requirements-parser/commit/16ffe88b71502c7b41b62893cf6f1408439ba35d>`_)

Unknown

  • 0.7.0 Release (#95)

Signed-off-by: Paul Horton &lt;paul.horton@owasp.org&gt; Co-authored-by: Maxwell G &lt;maxwell@gtmx.me&gt; (``5c3442a` <https://github.com/madpah/requirements-parser/commit/5c3442a103e6e6e3c06bc875023da25c5ac9f572>`_)

v0.7.0 (2024-03-28)

Chore

  • chore: update release workflow to run from main

Signed-off-by: Paul Horton &lt;paul.horton@owasp.org&gt; (``c363b80` <https://github.com/madpah/requirements-parser/commit/c363b805cf88c4cd52947a0cfc428e92468c7961>`_)

  • chore: update release workflow to run from main

Signed-off-by: Paul Horton &lt;paul.horton@owasp.org&gt; (``10f0c07` <https://github.com/madpah/requirements-parser/commit/10f0c07ddc372e638e46d9481a40ec402414f66d>`_)

Feature

  • feat: Drop support for Python 3.6, add support for Python 3.11 (#92)

Signed-off-by: Paul Horton &lt;paul.horton@owasp.org&gt; (``1a455be` <https://github.com/madpah/requirements-parser/commit/1a455be331eff38dc19108da7f13c3129dcba43d>`_)

v0.6.0 (2024-03-27)

Chore

  • chore: revert CHANGELOG

Signed-off-by: Paul Horton &lt;paul.horton@owasp.org&gt; (``2c52fef` <https://github.com/madpah/requirements-parser/commit/2c52fef60a49bee60587f7212a4e9c1a9ddf97b4>`_)

  • chore: updates for semantic versioning

Signed-off-by: Paul Horton &lt;paul.horton@owasp.org&gt; (``e27c717` <https://github.com/madpah/requirements-parser/commit/e27c717e24181d8c102fd1d3e29996d2dbf3d081>`_)

  • chore: update publishing to PyPi to use Trusted Publishing

Signed-off-by: Paul Horton &lt;paul.horton@owasp.org&gt; (``1a09ab9` <https://github.com/madpah/requirements-parser/commit/1a09ab950d94d049c3279cf56372453eb87c9dc1>`_)

Feature

  • feat: upgrade CI workflows to get them running again (#90)

  • ci: update actions to latest for all workflows

Signed-off-by: Paul Horton &lt;paul.horton@owasp.org&gt; (``e76a3f5` <https://github.com/madpah/requirements-parser/commit/e76a3f553d145bcd9fdcb2c8aa7424b607056ee0>`_)

Unknown

  • 0.6.0

Automatically generated by python-semantic-release (``d6755f2` <https://github.com/madpah/requirements-parser/commit/d6755f2f39884d80dd8147b42969fce1a2ae0562>`_)

Automatically generated by python-semantic-release (``3724009` <https://github.com/madpah/requirements-parser/commit/3724009b7d10804fc0938c47950f9967ffe86ed3>`_)

  • doc: install requirements.txt before building docs

Signed-off-by: Paul Horton &lt;paul.horton@owasp.org&gt; (``1ce9236` <https://github.com/madpah/requirements-parser/commit/1ce923617147dd984c280d56cb1f02fcd3589a7c>`_)

  • doc: minor doc improvements

Signed-off-by: Paul Horton &lt;paul.horton@owasp.org&gt; (``ee91237` <https://github.com/madpah/requirements-parser/commit/ee9123745ca3cd78826b2eddd3abe2644920d15c>`_)

v0.5.0 (2022-01-20)

Chore

  • chore: added license header to source files

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``b8d5c56` <https://github.com/madpah/requirements-parser/commit/b8d5c5630c2297d298064c012e352816eb420e86>`_)

Feature

  • feat: support all documented options in requirements files #62 (#63)

  • feat: support all documented options in requirements files #62

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt;

  • fixed type bug

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``f92c0c0` <https://github.com/madpah/requirements-parser/commit/f92c0c079bce03b1860c78852d2c8c48cf32d539>`_)

Unknown

  • 0.5.0

Automatically generated by python-semantic-release (``19e3ddf` <https://github.com/madpah/requirements-parser/commit/19e3ddf21e600f92ac29a83811beaff94f8f5410>`_)

v0.4.0 (2022-01-18)

Chore

  • chore: removed dependency not yet required

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``5184747` <https://github.com/madpah/requirements-parser/commit/51847473358f567be245ae0f993a1ee924ec06ee>`_)

  • chore: exclude built docs from git

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``24463ba` <https://github.com/madpah/requirements-parser/commit/24463ba19a88265fc8aa0003c2b7f33f9ef88e93>`_)

  • chore: exclude built docs from git

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``9487044` <https://github.com/madpah/requirements-parser/commit/948704494fa8003b5d400f6594d5276400c76e85>`_)

Feature

  • feat: library is now typed according to PEP561

  • chore: added static analysis to CI

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``0e1bb6a` <https://github.com/madpah/requirements-parser/commit/0e1bb6a746857a59c50530155d24da487a40c4be>`_)

Unknown

  • 0.4.0

Automatically generated by python-semantic-release (``a16fd0b` <https://github.com/madpah/requirements-parser/commit/a16fd0b948e44526b8d228240a7692156498ef8e>`_)

  • doc: readthedocs config

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``793ce91` <https://github.com/madpah/requirements-parser/commit/793ce914074430882ba447782ae9127d8312d0bf>`_)

  • doc: readthedocs config

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``203a0ed` <https://github.com/madpah/requirements-parser/commit/203a0ed322f3a69ffbec2a1c54a27d457583a55d>`_)

  • doc: readthedocs config

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``9d22e23` <https://github.com/madpah/requirements-parser/commit/9d22e23317cd87cd73337b8af871c5655dd87fb7>`_)

v0.3.1 (2021-12-17)

Fix

  • fix: readthedocs config

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``ac1e7fb` <https://github.com/madpah/requirements-parser/commit/ac1e7fb616a2c15e83b8a5ca630ffd50aad4aedb>`_)

Unknown

  • 0.3.1

Automatically generated by python-semantic-release (``186cfd4` <https://github.com/madpah/requirements-parser/commit/186cfd4a0d90628915a4f6e3bd827a0fe2981ee7>`_)

v0.3.0 (2021-12-17)

Chore

  • chore: added missing config for mypy

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``4fb1bf5` <https://github.com/madpah/requirements-parser/commit/4fb1bf5d27ed530704823bf7ffee4cabba844bd5>`_)

  • chore: addressed flake8 reports

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``d3ee857` <https://github.com/madpah/requirements-parser/commit/d3ee857790a730821c8089f860595846b0ea855a>`_)

  • chore: add poetry configuration

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``4b54c79` <https://github.com/madpah/requirements-parser/commit/4b54c79bf703dd927ee686be4413a6eb6687d409>`_)

  • chore: migrated to Apache 2.0 license

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``5b7a6e4` <https://github.com/madpah/requirements-parser/commit/5b7a6e49e355a37fa6674876db4b692e8bf82943>`_)

  • chore: updated gitignore

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``07bea05` <https://github.com/madpah/requirements-parser/commit/07bea05c08da7e84e75557f6340fc80440d48f4c>`_)

Ci

  • ci: disable type static-code-analysis until we have typed the library

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``c8da36d` <https://github.com/madpah/requirements-parser/commit/c8da36de4e6e16c12216a5b9bf0113bb990fe9aa>`_)

  • ci: added GitHub workflow to release requirements-parser doc: updated license and changelog to work with new release process

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``068e3f8` <https://github.com/madpah/requirements-parser/commit/068e3f8b8d55c0d51c721a6b001271b2613e14f5>`_)

  • ci: temporarily disable min-requirements testing with tox

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``ae53393` <https://github.com/madpah/requirements-parser/commit/ae5339399fed0e739ee152a3328f2c314ecb17ad>`_)

  • ci: temporarily disable min-requirements testing with tox

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``550f8af` <https://github.com/madpah/requirements-parser/commit/550f8af422cc772a5fd16cfa2f947754c4a54115>`_)

  • ci: added GitHub workflow for CI

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``ceba061` <https://github.com/madpah/requirements-parser/commit/ceba061868ee62083c6b2c02a1dd3357620ff6e9>`_)

Feature

  • feat: added some typing fix: corrected a regex

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``169ff6e` <https://github.com/madpah/requirements-parser/commit/169ff6e79657d8091e6e1a4e21c7da794d507832>`_)

  • feat: removed Python 2 code

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``82f9473` <https://github.com/madpah/requirements-parser/commit/82f94733f912e140fdcc0254020f4208d3e4a892>`_)

Fix

  • fix: removed version from init

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``4e83b9d` <https://github.com/madpah/requirements-parser/commit/4e83b9d3bdd5534da7adfdeb292ad2a1fae73ea8>`_)

Test

  • test: cleaned up some sample code

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``99ffc65` <https://github.com/madpah/requirements-parser/commit/99ffc65e7ad3d1a7842800cd489099cdf2681f88>`_)

  • test: migrated test_requirement to use unittest

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``e17734a` <https://github.com/madpah/requirements-parser/commit/e17734a9afec2ebd518baadca6db4e7da6848c25>`_)

  • test: migrated test_parser to unittest and added some minor test fixes

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``5d2eebe` <https://github.com/madpah/requirements-parser/commit/5d2eebec15e087a91594778090bcc06ce00d8927>`_)

Unknown

  • 0.3.0

Automatically generated by python-semantic-release (``8760e01` <https://github.com/madpah/requirements-parser/commit/8760e01d59c1bb60c65dfbc6321eab506d05fab7>`_)

  • Merge pull request #56 from madpah/feat/migrate-to-poetry

Migration to Poetry and other updates after David kindly transferred to Paul (``8833cdb` <https://github.com/madpah/requirements-parser/commit/8833cdb128ce7909c4d0dbe635fce2a410ff4023>`_)

  • doc: README is now in Markdown, not RST

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``3d78272` <https://github.com/madpah/requirements-parser/commit/3d78272588ab537e825cd32b37f8a6010d6f8d57>`_)

  • doc: README is now in Markdown, not RST

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``2a9dcf7` <https://github.com/madpah/requirements-parser/commit/2a9dcf768d5c7ca542456ad45a8664008ef1b861>`_)

  • doc: updated doc generation and changelog generation

Signed-off-by: Paul Horton &lt;phorton@sonatype.com&gt; (``6f73ee5` <https://github.com/madpah/requirements-parser/commit/6f73ee5e9478176c1efeb72087f3b1d9e9c4340c>`_)

  • Merge pull request #27 from belak/belak/editable-eol-comments

Fix parsing lines using -e and end of line comments (``ea3dbee` <https://github.com/madpah/requirements-parser/commit/ea3dbeec76628878f6b1bbcb865670c29957f2c2>`_)

  • Merge pull request #34 from chrislawlor/feature/requirement-equality

Adds equality (and inequality) testing to Requirement class (``d8e6737` <https://github.com/madpah/requirements-parser/commit/d8e67370cb96e535146c318ac9ec33d91f8231cc>`_)

  • Merge pull request #44 from jayvdb/sdist

MANIFEST.in: Add tests and docs (``beda9cf` <https://github.com/madpah/requirements-parser/commit/beda9cf56111bce73fbbc52ca971407fec46a9f1>`_)

Travis no longer provides 3.3 (``772412a` <https://github.com/madpah/requirements-parser/commit/772412a1d380517fed41d65889f20cfd828e3f5d>`_)

Add setuptools as a install_requires Dependency (``ad404ad` <https://github.com/madpah/requirements-parser/commit/ad404add0423d7e1f419c3a48dc884375d57f376>`_)

  • Add setuptools as a install_requires

pkg_resources is needed at runtime, lets be explicit and state that so pip etc. do the right thing. (``212078b` <https://github.com/madpah/requirements-parser/commit/212078ba15e8af7817461fb65e16c257061107fc>`_)

v0.2.0 (2018-11-15)

Unknown

preserve login part of uri (``caca172` <https://github.com/madpah/requirements-parser/commit/caca172b80d448c6175c1b4f5777781d583fc9b7>`_)

Fix vcs urls parsing with extras_require (``f9e93d0` <https://github.com/madpah/requirements-parser/commit/f9e93d0d057c0fe9a958c4b0dff1353074868835>`_)

  • Merge pull request #28 from ticosax/fix-master-py36

Produce more predictable output for tests (``4aaeae7` <https://github.com/madpah/requirements-parser/commit/4aaeae76275792f4161a22c4e8f6a07f829083a3>`_)

Fix tests, reckoning that setuptools.parse does not preserve ordering of specs and extras anymore. (``5c8f85d` <https://github.com/madpah/requirements-parser/commit/5c8f85d50d986b36392ec14a17bee53c8f12ab5f>`_)

pkg_req.extras and pkg_req.specs are stored in Sets and thus ordering can't be predicted. (``44812d9` <https://github.com/madpah/requirements-parser/commit/44812d907cc499618b2718bf3acf36812d70e514>`_)

  • Produce expected output during tests

pkg_req.extras and pkg_req.specs are stored in Sets and thus ordering can't be predicted. (``817229e` <https://github.com/madpah/requirements-parser/commit/817229ea4c8837995fcaab09c7c25691e764fde2>`_)

  • Merge pull request #29 from ticosax/drop-python-3.2

Drop python 3.2 as it is not maintained since February 2016 (``659c4af` <https://github.com/madpah/requirements-parser/commit/659c4af2c3c3b365e35b0462c2797ffd88f3761c>`_)

  • Drop python 3.2 as it is not maintained since February 2016

https://docs.python.org/devguide/devcycle.html#summary (``bf11658` <https://github.com/madpah/requirements-parser/commit/bf116582b6d737a6971445823b812b326d58f99f>`_)

Add hash and hash_name fragment (``af136a1` <https://github.com/madpah/requirements-parser/commit/af136a11123ebf3acc8eac983a3ef2c3586193a9>`_)

This supports retreiving hashing algorithms supported by pip. If multiple algorithms are present in the fragemnt portion of a url, the hashes included in the requirement will be non-deterministic. (``86c46b3` <https://github.com/madpah/requirements-parser/commit/86c46b32debb50f57284a06f010c27a30d646efd>`_)

  • Merge pull request #23 from mshenfield/issue-22-support-hashlib-hashes-in-uri-fragment

Parsing fragment supports arbitrary keys (``b05c2ff` <https://github.com/madpah/requirements-parser/commit/b05c2ffa806f72b1d4248a20423711bbe458fb5c>`_)

  • Bump coverage for testing to &lt; 4 to fix Travis 3.2 build

More information on the travis-ci issue tracker here (``09379dc` <https://github.com/madpah/requirements-parser/commit/09379dc16995b6cf2b88381a2830b1aa695cd08e>`_)

  • Added test for editable local files

This satisfies coveralls. Because I added lines of code to an untested portion of the codebase, the overall coverage went down. (``5db4fde` <https://github.com/madpah/requirements-parser/commit/5db4fde6d387c276f0d87c4e06bef309acedfd21>`_)

  • Parsing fragment supports arbitrary keys

This switches parsing the fragment (string following '#' at the end of a requirement) from looking for 'egg' at the beginning of the fragment to allowing any key value pair. These can be extracted as needed - right now only the 'egg' key is used to get the name of the package.

Tests include URI with a single fragment, and multiple fragments. (``f9559f7` <https://github.com/madpah/requirements-parser/commit/f9559f7c364c9ea8e9e4d3a888ee33266de69e40>`_)

v0.1.0 (2015-05-03)

Unknown

add ability to parse recursive requirements (``5b1721f` <https://github.com/madpah/requirements-parser/commit/5b1721fe82241d1f84a3c822b7d4bdc0eb12505a>`_)

Properly parse underscores (``a6af275` <https://github.com/madpah/requirements-parser/commit/a6af275c96523cd781fa6b1f6b1e1c7f697d504f>`_)

  • Properly parse underscores

pkg_resources.Requirement's constructor calls save_name() on the project_name member which converts underscores to hyphens. Thus use Requirement.unsafe_name (the pristine name) instead. (``6403d51` <https://github.com/madpah/requirements-parser/commit/6403d5145f1ad7b3705a624b614900eace5433eb>`_)

v0.0.6 (2013-08-17)

Unknown

v0.0.5 (2013-08-17)

Unknown

Added code coverage (``57cbe4b` <https://github.com/madpah/requirements-parser/commit/57cbe4b9f2981780b9b74b2d55eeea044fda1297>`_)

Big parser refactor (``547106f` <https://github.com/madpah/requirements-parser/commit/547106f67d92c82a2f5e0ea66c5881e7685a3c8a>`_)

Refactored tests into test files (``a12ffae` <https://github.com/madpah/requirements-parser/commit/a12ffae3b8204ed4b0978e605d3f811013f066a4>`_)

  • Refactored tests into test files

Each test has a txt file and an expected file (except "fails") (``3058539` <https://github.com/madpah/requirements-parser/commit/3058539596fe8fe851aae79e396a1223996ccbd3>`_)

  • Merge pull request #9 from valmet/master

Compiled regular expressions (``9d8af15` <https://github.com/madpah/requirements-parser/commit/9d8af15ce4dec6128aefdb793a29e85133884547>`_)

v0.0.4 (2013-05-29)

Unknown

Use pkg_resources for parsing (``48a8179` <https://github.com/madpah/requirements-parser/commit/48a81792130808883d30be0a6432aa5695a88c80>`_)

v0.0.3 (2013-05-28)

Unknown

Changed name to requirements parser (``2c56a6b` <https://github.com/madpah/requirements-parser/commit/2c56a6b66dfd7904debdc13a1b64fcb2c0455bc3>`_)

  • Changed name to requirements parser

Changed module name to requirements (``d995b0c` <https://github.com/madpah/requirements-parser/commit/d995b0cf6d5c1c852b5cf85a65bc2d03875a82aa>`_)

v0.0.2 (2013-05-27)

Unknown

However, the wall of superpowers at least checks for Programming Language :: Python :: 3 (``14bc67d` <https://github.com/madpah/requirements-parser/commit/14bc67d0e1eb5144b5219a7590d2d4aa4b7561ef>`_)

  • Travis does not support Python 3.0 or Python 3.1

http://about.travis-ci.org/docs/user/ci-environment/#Python-VM-images (``7971479` <https://github.com/madpah/requirements-parser/commit/7971479453716d4d8d67383eeeda7fafc1553ff9>`_)

  • Merge pull request #2 from treyhunner/add-manifest

Add manifest (``d7649b6` <https://github.com/madpah/requirements-parser/commit/d7649b607799566332b239ddea6197aea0d54e69>`_)

Fix travis-ci link (``85601b6` <https://github.com/madpah/requirements-parser/commit/85601b6ff1b665f18571a3986fd1d5eeff3a1b05>`_)

v0.0.1 (2012-11-25)

Unknown