summaryrefslogtreecommitdiff
path: root/pkg_resources
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade packaging to 15.3Donald Stufft2015-08-014-4/+26
|
* Merge fixJason R. Coombs2015-06-081-6/+12
|\
| * Backed out unintended changes made in f572ec9, restoring use of 'imp' module ↵Jason R. Coombs2015-06-081-6/+12
| | | | | | | | for dynamic module creation originally committed in 06ac3674 and 4c121bd24f.
* | Add test capturing possible violation in expectation due to new Python ↵Jason R. Coombs2015-06-071-0/+16
| | | | | | | | 2.7.10 release. Ref #380.
* | Remove now deprecated test capturing failure of range comparison operators ↵Jason R. Coombs2015-06-071-3/+0
| | | | | | | | (Ref #380).
* | Merged in jamezpolley/setuptools (pull request #134)Jason R. Coombs2015-06-071-0/+4
|\ \ | | | | | | | | | Expand the range of valid operators to include comparators
| * | Expand the range of valid operators to include comparatorsJames Polley2015-05-221-0/+4
| | |
* | | Add tests capturing expectation for range comparison operators (Ref #380).Jason R. Coombs2015-06-071-0/+6
| | |
* | | Issue #378: Do not use internal importlib._bootstrap module.Arfrever Frehtes Taifersar Arahesis2015-05-281-8/+8
|/ /
* | Extract variable for clarity.Jason R. Coombs2015-05-031-3/+2
|/
* Replace ValueErrors containing implicit contract about the structure of the ↵Jason R. Coombs2015-05-031-16/+15
| | | | message with a RequirementParseError explicitly joining arguments for the string representation.
* Restore compatibility for Python 3.2 and earlier.Jason R. Coombs2015-04-261-1/+6
|
* Remove use of deprecated imp module, avoiding deprecation warnings.Jason R. Coombs2015-04-261-6/+7
|
* Partial appears to behave differently on Python 2.6. Also, this syntax is ↵15.2Jason R. Coombs2015-04-261-2/+2
| | | | more congruent and easier to read.
* Use _call_aside to signal early that the function is called immediately.Jason R. Coombs2015-04-261-6/+13
|
* Declare variables for nicer linting.Jason R. Coombs2015-04-261-0/+6
|
* Extract function for initializing the master working set. Fixes #373.Jason R. Coombs2015-04-261-17/+31
|
* Bump packaging version to 15.1Jason R. Coombs2015-04-153-30/+22
|
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2015-03-302-3/+3
|
* Merged in msabramo/setuptools/DistributionNotFound_list_requirers (pull ↵Jason R. Coombs2015-03-281-7/+26
|\ | | | | | | | | | | request #126) DistributionNotFound: Show requirers
| * DistributionNotFound: Move message template to classMarc Abramowitz2015-03-241-9/+25
| | | | | | | | | | --HG-- branch : DistributionNotFound_list_requirers
| * DistributionNotFound: Show requirersMarc Abramowitz2015-03-191-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is very helpful to know who required the missing package. E.g.: pkg_resources.DistributionNotFound: The 'colorama>=0.3.1' distribution was not found and is required by smlib.log. Note that there was a comment: "unfortunately, zc.buildout uses a str(err) to get the name of the distribution here..", but I did a search in the `buildout` code and I think that is no longer true, so I think that we're free to make the exception message more helpful without risk of breaking buildout: # In clone from https://github.com/buildout/buildout $ ag DistributionNotFound src/zc/buildout/buildout.py 686: except (ImportError, pkg_resources.DistributionNotFound): $ pip install --download=. --no-install zc.buildout ... Saved ./zc.buildout-2.3.1.tar.gz ... $ tar xf zc.buildout-2.3.1.tar.gz $ ag DistributionNotFound zc.buildout-2.3.1 zc.buildout-2.3.1/src/zc/buildout/buildout.py 686: except (ImportError, pkg_resources.DistributionNotFound): --HG-- branch : DistributionNotFound_list_requirers
* | Merge backoutJason R. Coombs2015-03-202-12/+1
|\ \
| * | Backed out changeset 6e045b2724d0 and 56d7ea3d42b2. Ref #307.Jason R. Coombs2015-03-202-12/+2
| | |
* | | Disable warning of LegacyVersion in parsed_version. This functionality ↵Jason R. Coombs2015-03-201-1/+0
| | | | | | | | | | | | should be called explicitly at whatever times are appropriate for the warning. Fixes #307.
* | | Prefer new string formatting. Re-use variable names.Jason R. Coombs2015-03-201-2/+3
| | |
* | | Reindent warning and use short circuits for flatter implementation.Jason R. Coombs2015-03-201-19/+23
| | |
* | | Extract method for warning of legacy versionJason R. Coombs2015-03-201-1/+5
| | |
* | | Reindent EGG_NAME to reflect structure.Jason R. Coombs2015-03-201-3/+11
|/ /
* | Update EGG_NAME regular expression matcher to allow names to include dashes. ↵Jason R. Coombs2015-03-201-2/+2
| | | | | | | | Fixes failing test and fixes #307.
* | Add test capturing failure to parse package names with hyphens. Ref #307Jason R. Coombs2015-03-201-0/+10
|/
* Remove unused parameter.Jason R. Coombs2015-03-151-2/+2
|
* Default to 755 permissions since checks later on test for non-group-writabilityVolker Braun2015-03-051-1/+1
|
* ensure py_version and platform are str in hashcmpMinRK2015-02-051-2/+2
| | | | avoids unorderable None, str when sorting dists on Python 3
* Add __ne__ method to Requirement classMarc Abramowitz2015-03-061-0/+3
| | | | | | It seems like if it has an `__eq__` method, it should probably have a `__ne__` method. I ran into this while working on pip -- see https://github.com/pypa/pip/pull/2493#discussion_r25955295
* Update warning to clarify when and how the instance should be use directly ↵Jason R. Coombs2015-01-291-2/+4
| | | | or what to do otherwise.
* Use pytest.raises for brevity and clarity of purpose.Jason R. Coombs2015-01-061-3/+2
|
* Use pytests parametrize to create separate tests for each specJason R. Coombs2015-01-061-6/+6
|
* Refactor for clarityJason R. Coombs2015-01-061-3/+2
|
* Equal signs are now allowed in entry point names.Jason R. Coombs2015-01-061-1/+1
|
* Restore support for printable characters in the entry point name. Fixes #327.Jason R. Coombs2015-01-062-1/+12
|
* Add EntryPoint.resolve and deprecate most usage of EntryPoint.load. Removed ↵11.3Jason R. Coombs2015-01-051-8/+14
| | | | EntryPoint._load.
* Merge deprecation warning fixJason R. Coombs2015-01-051-0/+1
|\
| * Bump stacklevel to 2 to inform the caller of the issue.Jason R. Coombs2015-01-051-0/+1
| |
* | Fix test failure on Python 2Jason R. Coombs2015-01-041-0/+2
| |
* | Add test capturing expectation when dependencies conflict during resolve. ↵Jason R. Coombs2015-01-041-0/+25
| | | | | | | | Fixes #281
* | Normalize whitespaceJason R. Coombs2015-01-041-4/+6
| |
* | Only raise a ContextualVersionConflict when dependent requirements are present.Jason R. Coombs2015-01-041-1/+11
| |
* | No need to mutate the set to a list; just use the set.Jason R. Coombs2015-01-041-2/+2
| |
* | Split out ContextualVersionConflictJason R. Coombs2015-01-041-11/+18
| |