- feat: replace deprecated
pkg_resources
withpackaging
(#105) - thanks to @oh2fih
Signed-off-by: Esa Jokinen <[email protected]>
- Fix errors discovered with the unit tests
- Hashable type required. Convert list to tuple.
- Ignore incompatible types.
- Remove comments before passing the line to Req().
- Extras should be in lower case.
- Complete the list of comparison operators with '!'.
Signed-off-by: Esa Jokinen <[email protected]>
Signed-off-by: Esa Jokinen <[email protected]> (19dddfa
)
- fix: support extras and more chars in names for VCS lines (#103) - thanks @theCapypara
Signed-off-by: Marco "Capypara" Köpcke <[email protected]> (90e7f9e
)
- fix: ValueError when parsing
-e .
(#99) thanks to @vergenzt
Signed-off-by: Tim Vergenz <[email protected]> (0e037a4
)
-
chore(ci): use non-latest macos runner (
93b2a85
) -
chore(doc): Updated README
Signed-off-by: Paul Horton <[email protected]> (6736727
)
- feat: added support for alias @ <vcs_url> syntax (#101) - thanks to @Glizzus
Signed-off-by: Cal Crosby <[email protected]> (2927e00
)
- feat: handle hashes without error (thanks to @dymart via #67) (#98)
Signed-off-by: Paul Horton <[email protected]> (a9aafc9
)
- 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 <[email protected]>)
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 <[email protected]> (16ffe88
)
- 0.7.0 Release (#95)
Signed-off-by: Paul Horton <[email protected]>
Co-authored-by: Maxwell G <[email protected]> (5c3442a
)
- chore: update release workflow to run from main
Signed-off-by: Paul Horton <[email protected]> (c363b80
)
- chore: update release workflow to run from main
Signed-off-by: Paul Horton <[email protected]> (10f0c07
)
- feat: Drop support for Python 3.6, add support for Python 3.11 (#92)
Signed-off-by: Paul Horton <[email protected]> (1a455be
)
- chore: revert CHANGELOG
Signed-off-by: Paul Horton <[email protected]> (2c52fef
)
- chore: updates for semantic versioning
Signed-off-by: Paul Horton <[email protected]> (e27c717
)
- chore: update publishing to PyPi to use Trusted Publishing
Signed-off-by: Paul Horton <[email protected]> (1a09ab9
)
- chore: Revert CHANGELOG.md (
d71ab54
)
-
feat: upgrade CI workflows to get them running again (#90)
-
ci: update actions to latest for all workflows
Signed-off-by: Paul Horton <[email protected]> (e76a3f5
)
- 0.6.0
Automatically generated by python-semantic-release (d6755f2
)
-
Merge branch 'master' of github.com:madpah/requirements-parser (
58d5e50
) -
0.6.0
Automatically generated by python-semantic-release (3724009
)
- doc: install requirements.txt before building docs
Signed-off-by: Paul Horton <[email protected]> (1ce9236
)
- doc: minor doc improvements
Signed-off-by: Paul Horton <[email protected]> (ee91237
)
- chore: added license header to source files
Signed-off-by: Paul Horton <[email protected]> (b8d5c56
)
-
feat: support all documented options in requirements files #62 (#63)
-
feat: support all documented options in requirements files #62
Signed-off-by: Paul Horton <[email protected]>
- fixed type bug
Signed-off-by: Paul Horton <[email protected]> (f92c0c0
)
- 0.5.0
Automatically generated by python-semantic-release (19e3ddf
)
- chore: removed dependency not yet required
Signed-off-by: Paul Horton <[email protected]> (5184747
)
- chore: exclude built docs from git
Signed-off-by: Paul Horton <[email protected]> (24463ba
)
- chore: exclude built docs from git
Signed-off-by: Paul Horton <[email protected]> (9487044
)
-
feat: library is now typed according to PEP561
-
chore: added static analysis to CI
Signed-off-by: Paul Horton <[email protected]> (0e1bb6a
)
- 0.4.0
Automatically generated by python-semantic-release (a16fd0b
)
- doc: readthedocs config
Signed-off-by: Paul Horton <[email protected]> (793ce91
)
- doc: readthedocs config
Signed-off-by: Paul Horton <[email protected]> (203a0ed
)
- doc: readthedocs config
Signed-off-by: Paul Horton <[email protected]> (9d22e23
)
- fix: readthedocs config
Signed-off-by: Paul Horton <[email protected]> (ac1e7fb
)
- 0.3.1
Automatically generated by python-semantic-release (186cfd4
)
- chore: added missing config for mypy
Signed-off-by: Paul Horton <[email protected]> (4fb1bf5
)
- chore: addressed flake8 reports
Signed-off-by: Paul Horton <[email protected]> (d3ee857
)
- chore: add poetry configuration
Signed-off-by: Paul Horton <[email protected]> (4b54c79
)
- chore: migrated to Apache 2.0 license
Signed-off-by: Paul Horton <[email protected]> (5b7a6e4
)
- chore: updated gitignore
Signed-off-by: Paul Horton <[email protected]> (07bea05
)
- ci: disable type static-code-analysis until we have typed the library
Signed-off-by: Paul Horton <[email protected]> (c8da36d
)
- ci: added GitHub workflow to release
requirements-parser
doc: updated license and changelog to work with new release process
Signed-off-by: Paul Horton <[email protected]> (068e3f8
)
- ci: temporarily disable min-requirements testing with tox
Signed-off-by: Paul Horton <[email protected]> (ae53393
)
- ci: temporarily disable min-requirements testing with tox
Signed-off-by: Paul Horton <[email protected]> (550f8af
)
- ci: added GitHub workflow for CI
Signed-off-by: Paul Horton <[email protected]> (ceba061
)
- feat: added some typing fix: corrected a regex
Signed-off-by: Paul Horton <[email protected]> (169ff6e
)
- feat: removed Python 2 code
Signed-off-by: Paul Horton <[email protected]> (82f9473
)
- fix: removed version from init
Signed-off-by: Paul Horton <[email protected]> (4e83b9d
)
- test: cleaned up some sample code
Signed-off-by: Paul Horton <[email protected]> (99ffc65
)
- test: migrated test_requirement to use unittest
Signed-off-by: Paul Horton <[email protected]> (e17734a
)
- test: migrated test_parser to unittest and added some minor test fixes
Signed-off-by: Paul Horton <[email protected]> (5d2eebe
)
- 0.3.0
Automatically generated by python-semantic-release (8760e01
)
- Merge pull request #56 from madpah/feat/migrate-to-poetry
Migration to Poetry and other updates after David kindly transferred to Paul (8833cdb
)
- doc: README is now in Markdown, not RST
Signed-off-by: Paul Horton <[email protected]> (3d78272
)
- doc: README is now in Markdown, not RST
Signed-off-by: Paul Horton <[email protected]> (2a9dcf7
)
- doc: updated doc generation and changelog generation
Signed-off-by: Paul Horton <[email protected]> (6f73ee5
)
- Merge pull request #27 from belak/belak/editable-eol-comments
Fix parsing lines using -e and end of line comments (ea3dbee
)
- Merge pull request #34 from chrislawlor/feature/requirement-equality
Adds equality (and inequality) testing to Requirement class (d8e6737
)
- Merge pull request #44 from jayvdb/sdist
MANIFEST.in: Add tests and docs (beda9cf
)
-
.travis.yml: Run Python 3.8 without coverage (
b265c38
) -
.travis.yml: Replace 3.3 with 3.7 & 3.8
Travis no longer provides 3.3 (772412a
)
-
MANIFEST.in: Add tests and docs (
ecabc1d
) -
Merge pull request #38 from cooperlees/master
Add setuptools as a install_requires Dependency (ad404ad
)
- 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
)
-
Increment version (
52f802c
) -
Update changelog for release (
2fd0faf
) -
Adds equality (and inequality) testing to Requirement class (
de158d7
) -
Merge pull request #33 from sbidoul/preserve-login-sbi
preserve login part of uri (caca172
)
-
preserve login part of uri (
c34f405
) -
Update the README (
a3dc6d2
) -
Add an authors file to credit helpful folks (
90571d3
) -
Merge branch 'subdirectory-sbi' of https://github.com/sbidoul/requirements-parser into sbidoul-subdirectory-sbi (
b9f0290
) -
Merge pull request #30 from ticosax/fix-vcs-extras_require
Fix vcs urls parsing with extras_require (f9e93d0
)
- Merge pull request #28 from ticosax/fix-master-py36
Produce more predictable output for tests (4aaeae7
)
-
support subdirectory fragment (
fd2c098
) -
[FIX] specs and extras are now unordered
Fix tests, reckoning that setuptools.parse does not
preserve ordering of specs and extras anymore. (5c8f85d
)
-
fixup! Extract extras from fragment's egg when vcs is specified (
cab9ebd
) -
Extract extras from fragment's egg when vcs is specified (
01b2f5c
) -
Produce expected output during tests
pkg_req.extras and pkg_req.specs are stored in Sets and thus ordering
can't be predicted. (44812d9
)
- Produce expected output during tests
pkg_req.extras and pkg_req.specs are stored in Sets and thus ordering
can't be predicted. (817229e
)
- Merge pull request #29 from ticosax/drop-python-3.2
Drop python 3.2 as it is not maintained since February 2016 (659c4af
)
- Drop python 3.2 as it is not maintained since February 2016
https://docs.python.org/devguide/devcycle.html#summary (bf11658
)
-
Drop Python2.6 support; Add 3.6 support (
e35b9f7
) -
Merge pull request #24 from mshenfield/issue-22-add-hash-information-to-requirements
Add hash and hash_name fragment (af136a1
)
-
Fix parsing lines using -e and end of line comments (
95006a3
) -
Flake8 3.0 dropped support for Python26 (
4a43544
) -
Add setup.py notes about 3.4-3.5 (
9e85381
) -
Travis CI updates
- Add Python 3.4-3.5
- fix an issue with old pip (
93428bb
)
- Add hash and hash_name from fragment
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
)
- Merge pull request #23 from mshenfield/issue-22-support-hashlib-hashes-in-uri-fragment
Parsing fragment supports arbitrary keys (b05c2ff
)
- Bump coverage for testing to < 4 to fix Travis 3.2 build
More information on the travis-ci issue tracker here (09379dc
)
- 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
)
- 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
)
-
Update versions (
c84b72a
) -
Update sphinx theme (
c54532c
) -
Update the year (
294959e
) -
Update the changelog (
8efccb2
) -
Merge pull request #19 from jaysonsantos/master
add ability to parse recursive requirements (5b1721f
)
-
Fix pep8 max column size (
8fefe15
) -
add ability to parse recursive requirements (
fa55463
) -
Merge pull request #17 from saschpe/master-underscores
Properly parse underscores (a6af275
)
- 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
)
-
Dated the changelog (
e2e13c4
) -
Bumped version (
e5c22ce
) -
Added usage for common examples (
e907e6c
) -
Added installation (
de70666
) -
Oops (
56e2cd7
) -
Added documentation (
8e11fdd
) -
✨ 2013 (I'm late) (
8c8131c
) -
Added coverage badge (
045c686
) -
Merge pull request #15 from davidfischer/coveralls
Added code coverage (57cbe4b
)
-
Added code coverage (
c36dc51
) -
Merge pull request #14 from davidfischer/parser-refactor
Big parser refactor (547106f
)
-
Switch to unicode literals (
b8810af
) -
Big parser refactor
-
broke the parser into a Requirement class
-
refactored the unit test suite
-
better handling of VCS (
a7a4910
) -
Merge pull request #13 from davidfischer/refactor-tests
Refactored tests into test files (a12ffae
)
- Refactored tests into test files
Each test has a txt file and an expected file (except "fails") (3058539
)
- Merge pull request #9 from valmet/master
Compiled regular expressions (9d8af15
)
-
It should be pass tests... please. (
a4cf621
) -
Oh, shi~... autopep8. (
28d483e
) -
Flags (
78b17aa
) -
Compiled regular expressions (
9adb0a5
) -
Introduce code quality (
26f1067
)
-
Version v0.0.4 ✨ (
3d7cc24
) -
Slight stylistic change (
51d0369
) -
Ignore file can handle multiple virtualenvs (
0f2246a
) -
Merge pull request #7 from davidfischer/pkg-resources
Use pkg_resources for parsing (48a8179
)
-
Added a couple tests (
a0a448f
) -
Finally got this right (
6d8200e
) -
Fixed typo (
b7fbb35
) -
Updated readme with new example (
de275bb
) -
Using pkg_resources to parse requirements
-
Backwards incompatible API change!
-
Using regex for URI/file/VCS requirements (
1e272de
) -
Permission fix (
cdc5b4b
)
-
Version 0.0.3 ✨ (
fc0a140
) -
Updated name in license (
f7ecdab
) -
Name change on travis (
ef38eb6
) -
Merge pull request #6 from davidfischer/name-change
Changed name to requirements parser (2c56a6b
)
- Changed name to requirements parser
Changed module name to requirements (d995b0c
)
However, the wall of superpowers at least checks for
Programming Language :: Python :: 3 (14bc67d
)
- Travis does not support Python 3.0 or Python 3.1
http://about.travis-ci.org/docs/user/ci-environment/#Python-VM-images (7971479
)
- Merge pull request #2 from treyhunner/add-manifest
Add manifest (d7649b6
)
-
Add MANIFEST file noting inclusion of rst files (
87fe595
) -
Bump version (between releases) (
426e337
) -
Merge pull request #1 from davidfischer/image-fix
Fix travis-ci link (85601b6
)
-
Fix travis-ci link (
944ae07
) -
Fixed copy/paste issues (
015058d
) -
Added classifiers for 3.x (
866a887
) -
Added unit testing for Python3 (
47c6742
) -
Added 3.x compatibility (
fe6789f
) -
Added travis-ci image (
e4b612e
) -
Added continuous integration (
8aa6e53
) -
Added additional test from crate.io reqs (
ad1ae22
)
-
Added license file (
f243bc5
) -
Added tests and fixed corresponding issues
- added RTFD req files as tests
- added tests for warnings and other tests
- updated parser to handle more edge cases (
8434fd2
)
- Added the first cut
- parse editables (svn+http...)
- parse file URIs
- parse "normal"
- parse extras (
d04253a
)
-
Added test for file-like obj (
819de98
) -
Added trivial version
- Added test for empty parse
- Added version info
- Added setup.py
- Added parser that always returns empty (
168d8c1
)
- Added README with proposed functionality
- Parse function accepts file or string
- CONSIDER: list of dicts instead of tuples (
0a0e4d7
)
- Added ignorefile (
e25c719
)