summaryrefslogtreecommitdiff
path: root/pkg_resources
Commit message (Collapse)AuthorAgeFilesLines
* Put main logic in the top-level body of the function.Jason R. Coombs2016-09-271-6/+7
|
* Merge fix for issue #719.Jason R. Coombs2016-09-271-8/+13
|\
| * Restore Python 2 compatibility. Ref #719.Jason R. Coombs2016-08-051-1/+2
| |
| * Forget the environment variable, and just log a warning when a metadata ↵Jason R. Coombs2016-08-051-10/+12
| | | | | | | | can't be decoded. Ref #719.
| * Allow an environment to suppress errors when reading metadata by setting ↵Jason R. Coombs2016-08-041-1/+3
| | | | | | | | PKG_RESOURCES_METADATA_ERRORS='replace'. Ref #719.
* | Upgrade pyparsing to version 2.1.9stepshal2016-09-182-29/+131
| |
* | Suppress ValueError in fixup_namespace_packages. Fixes #520. Fixes #513.Jason R. Coombs2016-09-141-1/+10
| |
* | Rely on appdirs for resolving a cache dir for Python-Eggs. Fixes #763.Jason R. Coombs2016-08-271-41/+9
| |
* | Add appdirs as vendored package. Ref #763.Jason R. Coombs2016-08-274-2/+555
| |
* | Make exactly one space after comma. (#756)stepshal2016-08-221-1/+1
| |
* | Fix quantity of blank lines after code object, class of function definition.stepshal2016-08-205-1/+69
| |
* | Merge pull request #747 from stepshal/comment_hashJason R. Coombs2016-08-191-1/+1
|\ \ | | | | | | Fix spacing after comment hash.
| * | Fix spacing after comment hash.stepshal2016-08-181-1/+1
| | |
* | | Add missing whitespace after comma.stepshal2016-08-182-52/+52
|/ /
* | Merge pull request #745 from stepshal/pyparsingJason R. Coombs2016-08-172-795/+2565
|\ \ | | | | | | Upgrade pyparsing to version 2.1.8
| * | Upgrade pyparsing to version 2.1.8insiv2016-08-172-795/+2565
| |/
* | 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-172-34/+34
|\ \ | | | | | | Add missing whitespace around operators.
| * | Add missing whitespace around operators.insiv2016-08-172-34/+34
| |/
* | Remove whitespace around parameter = sign.insiv2016-08-172-2/+2
|/
* Collapse two functions into one.Jason R. Coombs2016-08-041-10/+5
|
* fix NameError when initial working_set is emptyMin RK2016-07-291-0/+1
| | | by defining dist so there's something to delete
* insert(replace=False) should really be a no-op if path is foundMin RK2016-07-281-1/+5
| | | that includes removing duplicates.
* only call `dist.activate(True)` for *new* dists,Min RK2016-07-281-6/+16
| | | not those loaded by default.
* only insert eggs ahead of parent if not already on pathMin RK2016-07-281-3/+23
| | | | | | | | in `insert_on(replace=False)` and set `replace=False` by default in `activate()` Fixes pkg_resources modifying sys.path for all eggs with SETUPTOOLS_SYS_PATH_TECHINQUE=raw
* Mark failing tests as xfail until they can be resolved. Ref #591.Jason R. Coombs2016-07-231-0/+5
|
* Put colon-separated compound statement on separate lines.stepshal2016-07-211-1/+2
|
* Fix misspellingsstepshal2016-06-263-3/+3
|
* 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