summaryrefslogtreecommitdiff
path: root/pkg_resources
Commit message (Collapse)AuthorAgeFilesLines
* Update packaging to 16.7Geoffrey Sneddon2016-04-233-3/+12
| | | | | | This adds support for the deprecated python_implementation marker which was an undocumented setuptools marker prior to 20.2 in addition to the newer markers.
* Always inject extra into the environment when evaluating markers. Fixes #544.Jason R. Coombs2016-04-152-11/+3
|
* Instead of reasing a new exception, just augment the existing exception, ↵Jason R. Coombs2016-04-071-2/+5
| | | | avoiding any concerns about exception type, but still communicating the context necessary to trace the issue. Ref #537.
* Merge pull request #537 from ri0t/patch-1Jason R. Coombs2016-04-071-1/+4
|\ | | | | This helps finding packages with bad utf
| * This helps finding packages with bad utfriot2016-04-071-1/+4
| | | | | | Checking hundreds of possibly installed packages manually should NOT be expected of the user ;)
* | 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
* | Rely on short-circuit in 'or' rather than building a separate iterable.Jason R. Coombs2016-04-071-8/+1
| |
* | Adjust expectation that 'extra' is not in the marker evaluation if no extras ↵Jason R. Coombs2016-04-072-13/+17
| | | | | | | | demanded the requirement.
* | Extract _ReqExtras to encapsulate that functionality and decouple it from ↵Jason R. Coombs2016-04-072-28/+48
| | | | | | | | WorkingSet.
* | Reinstate the or guard in WorkingSet._markers_passSteve Kowalik2016-04-062-1/+7
|/
* Remove fallback value until there's something that explains or requires it.Jason R. Coombs2016-04-051-1/+1
|
* Extract method for testing marker evaluationJason R. Coombs2016-04-051-11/+24
|
* Restore evaluating environment markers in WorkingSetSteve Kowalik2016-04-052-8/+85
| | | | | | | | | | 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-312-2/+5
|
* Extract separate test for test_environment_markers in test_resources. Remove ↵Jason R. Coombs2016-03-311-2/+6
| | | | unused variable.
* Remove unused importsJason R. Coombs2016-03-311-7/+0
|
* Merge pull request #522 from s-t-e-v-e-n-k/update-packagingJason R. Coombs2016-03-303-3/+8
|\ | | | | Update vendored packaging to 16.6
| * Update vendored packaging to 16.6Steve Kowalik2016-03-303-3/+8
| | | | | | | | Closes #503
* | Merge https://bitbucket.org/pypa/setuptools/pull-requests/185.Jason R. Coombs2016-03-292-0/+9
|\ \
| * | Support environment markers in *_requires, via WorkingSet.Steve Kowalik2016-03-242-0/+9
| |/
* | Update most bitbucket references to point to Github now. Fixes #422.Jason R. Coombs2016-03-291-1/+1
|/
* Rename variables for clarity and easier troubleshooting (avoid masking ↵Jason R. Coombs2016-03-201-3/+4
| | | | intermediate 'parts' value).
* Add in a test that checks comparsion of Requirement with markersSteve Kowalik2016-03-081-0/+22
|
* Add in safe_name for project_name, which disappeared in my refactor.Steve Kowalik2016-03-071-1/+2
|
* Change pkg_resources.Requirement to be a subclass of packagingSteve Kowalik2016-03-072-15/+8
|
* Shift requirement parsing inside RequirementSteve Kowalik2016-03-012-36/+31
|
* Bump vendored packaging to 16.5. Fixes #502.Jason R. Coombs2016-02-274-8/+8
|
* Re-run vendoring on packaging 16.4 (adding utils.py module, apparently omitted).Jason R. Coombs2016-02-271-0/+14
|
* Add test capturing expectation that spaces between version specifiers should ↵Jason R. Coombs2016-02-251-0/+4
| | | | be allowed. Ref #502.
* Update to packaging 16.4. Fixes #499.Steve Kowalik2016-02-234-6/+8
|
* Add test capturing previously allowed usage. Ref #499.Jason R. Coombs2016-02-191-0/+3
|
* Fix typo, correcting failures on late Pythons when mock is not already ↵Jason R. Coombs2016-02-191-1/+1
| | | | installed.
* Correct tests under both Python 2 and 3.Steve Kowalik2016-02-192-4/+4
|
* Merge from master, resolving conflicts.Steve Kowalik2016-02-163-63/+146
|\
| * Fix failing tests on Python 220.0Jason R. Coombs2016-02-071-0/+2
| |
| * Fix syntax errors on Python 2Jason R. Coombs2016-02-071-1/+2
| |
| * Remove unused importsJason R. Coombs2016-02-031-2/+0
| |
| * Extract ns_str as class attributeJason R. Coombs2016-02-031-5/+5
| |
| * Use consistent numbering for clarity.Jason R. Coombs2016-02-031-3/+3
| |
| * Use py.path objects for cleaner setupJason R. Coombs2016-02-031-15/+15
| |
| * Extract variable for readabilityJason R. Coombs2016-02-031-3/+5
| |
| * Use py.path objects for cleaner setupJason R. Coombs2016-02-031-16/+12
| |
| * Rewrite setup/teardown methods as pytest fixtures, encapsulating concepts ↵Jason R. Coombs2016-02-031-42/+52
| | | | | | | | for clarity. Incidentally, this also fixes #231.
| * Use new style string formattingJason R. Coombs2016-01-311-3/+3
| |
| * Extract variable for template stringJason R. Coombs2016-01-311-11/+12
| |
| * Normalize all paths, not excluding ''. Fixes #491.Jason R. Coombs2016-01-311-1/+1
| |
| * Rename inner function and add docstringJason R. Coombs2016-01-311-3/+6
| |
| * Extract function _rebuild_mod_pathJason R. Coombs2016-01-311-10/+16
| |