summaryrefslogtreecommitdiff
path: root/pkg_resources/tests/test_resources.py
Commit message (Collapse)AuthorAgeFilesLines
* Handle Python3.12a7 compatibility problemsAnderson Bravalheri2023-04-191-0/+4
|
* Add DeprecationWarning to `pkg_resources.declare_namespace`Anderson Bravalheri2023-02-131-4/+7
|
* Replace invalid local version with a valid form.Jason R. Coombs2021-11-151-1/+1
|
* Fix tests with pytest 6.2Chih-Hsuan Yen2020-12-131-2/+2
| | | | | | | | The latest pytest deprecates pytest.yield_fixture in favor of pytest.fixture [1]. The changelog [2] says that both are the same. [1] https://github.com/pytest-dev/pytest/pull/7988 [2] https://docs.pytest.org/en/stable/changelog.html#pytest-6-2-0-2020-12-12
* Remove Python 2 compatibilityJason R. Coombs2020-08-161-4/+0
|
* 👹 Feed the hobgoblins (delint).Jason R. Coombs2020-01-191-2/+1
|
* Merge pull request #1814 from benoit-pierre/fix_requirement_hash/equalityJason R. Coombs2019-10-271-0/+17
|\ | | | | pkg_resources: fix ``Requirement`` hash/equality implementation
| * pkg_resources: fix ``Requirement`` hash/equality implementationBenoit Pierre2019-08-131-0/+17
| | | | | | | | Take PEP 508 direct URL into account.
* | Fixes for python3.10Anthony Sottile2019-08-171-1/+1
|/
* Add unit tests for PkgResourcesDeprecationWarningrobinjhuang2018-10-281-1/+10
|
* Drop support for EOL Python 3.3Hugo2018-05-241-3/+3
|
* python 2.7 does not implement object.__dir__()jeffrey k eliasen2018-05-151-0/+11
|
* testsjeffrey k eliasen2018-05-151-0/+18
|
* Extract version comparisons as pytest parameters.Jason R. Coombs2018-03-171-84/+51
|
* Feed the hobgoblins (delint).Jason R. Coombs2018-03-061-12/+29
|
* Merge branch 'master' into drop-py26Jason R. Coombs2017-09-031-1/+1
|\
| * Merge branch 'master' into feature/re-vendor-sadfaceJason R. Coombs2017-05-301-1/+1
| |\
| | * Python 3.6 invalid escape sequence deprecation fixesVille Skyttä2017-02-241-1/+1
| | |
| * | Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-241-2/+2
| |/ | | | | | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
| * Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-011-2/+2
| |
* | Drop support for Python 2.6, removing lots of compatibility code for a ↵Jason R. Coombs2016-12-091-18/+10
|/ | | | leaner, cleaner codebase. Fixes #878.
* Fix quantity of blank lines.stepshal2016-10-181-5/+2
|
* fix for extra names containing '-'Gabi Davar2016-08-231-0/+18
|
* Fix quantity of blank lines after code object, class of function definition.stepshal2016-08-201-0/+4
|
* Add missing whitespace after comma.stepshal2016-08-181-35/+35
|
* Merge pull request #744 from stepshal/comparisonJason R. Coombs2016-08-171-1/+1
|\ | | | | Fix comparison with None.
| * Fix comparison with None.insiv2016-08-171-1/+1
| |
* | Merge pull request #743 from stepshal/block-commentJason R. Coombs2016-08-171-1/+1
|\ \ | | | | | | Fix spacing after comment hash.
| * | Fix spacing after comment hash.insiv2016-08-171-1/+1
| |/
* | Merge pull request #741 from stepshal/operatorsJason R. Coombs2016-08-171-6/+6
|\ \ | | | | | | Add missing whitespace around operators.
| * | Add missing whitespace around operators.insiv2016-08-171-6/+6
| |/
* | Remove whitespace around parameter = sign.insiv2016-08-171-1/+1
|/
* Mark failing tests as xfail until they can be resolved. Ref #591.Jason R. Coombs2016-07-231-0/+5
|
* Always inject extra into the environment when evaluating markers. Fixes #544.Jason R. Coombs2016-04-151-9/+1
|
* Merge pull request #533 from s-t-e-v-e-n-k/compare-ep-attributesJason R. Coombs2016-04-071-1/+4
|\ | | | | Stop comparing repr()'s in TestEntryPoint
| * Stop comparing repr()'s in TestEntryPointSteve Kowalik2016-04-061-1/+4
| | | | | | | | | | | | | | | | | | In Python 3, the default order of iterables can not determined, so comparing the repr of objects that include tuples is not static like it is under Python 2. Compare the attributes of EntryPoint instead, making sure to sort .attrs and .extras. Closes: #526
* | Adjust expectation that 'extra' is not in the marker evaluation if no extras ↵Jason R. Coombs2016-04-071-3/+5
| | | | | | | | demanded the requirement.
* | Extract _ReqExtras to encapsulate that functionality and decouple it from ↵Jason R. Coombs2016-04-071-4/+19
| | | | | | | | WorkingSet.
* | Reinstate the or guard in WorkingSet._markers_passSteve Kowalik2016-04-061-0/+6
|/
* Restore evaluating environment markers in WorkingSetSteve Kowalik2016-04-051-5/+74
| | | | | | | | | | Correctly deal with parsed requirements that include extras as a marker inside WorkingSet that are populated from METADATA inside wheels, like we get from pip>=7. This partially reverts commit 04d10ff025e1cbef7ec93a2008c930e856045c8a. Closes: #523
* Drop unused safe_repr functionSteve Kowalik2016-04-011-11/+0
| | | | | When _assertIn was removed from test_resources, the safe_repr function was not dropped, leaving it with no callers, so drop it.
* Bypass environment marker evaluation in requirements resolution. Ref #523.Jason R. Coombs2016-03-311-0/+1
|
* Extract separate test for test_environment_markers in test_resources. Remove ↵Jason R. Coombs2016-03-311-2/+6
| | | | unused variable.
* Merge https://bitbucket.org/pypa/setuptools/pull-requests/185.Jason R. Coombs2016-03-291-0/+5
|\
| * Support environment markers in *_requires, via WorkingSet.Steve Kowalik2016-03-241-0/+5
| |
* | Update most bitbucket references to point to Github now. Fixes #422.Jason R. Coombs2016-03-291-1/+1
|/
* Add in a test that checks comparsion of Requirement with markersSteve Kowalik2016-03-081-0/+22
|
* Change pkg_resources.Requirement to be a subclass of packagingSteve Kowalik2016-03-071-1/+1
|
* Shift requirement parsing inside RequirementSteve Kowalik2016-03-011-12/+13
|
* Add test capturing expectation that spaces between version specifiers should ↵Jason R. Coombs2016-02-251-0/+4
| | | | be allowed. Ref #502.