summaryrefslogtreecommitdiff
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove all but ez_setup.py from bootstrap branch.Jason R. Coombs2016-04-2628-3371/+0
|
* Correction for expected dict order when PYTHONHASHSEED=0Jason R. Coombs2016-04-201-6/+6
|
* Add docstrings explaining the intention of the test. Ref #553.Jason R. Coombs2016-04-201-0/+13
|
* It's not necessary to build a file with an empty egg_info.Jason R. Coombs2016-04-201-5/+0
|
* Move Python 2.6 exception into specific test, capturing that the expected ↵Jason R. Coombs2016-04-201-6/+12
| | | | order is different on Python 2.6, not because of the lack of OrderedDict, but because of different behavior in RawConfigParser. Ref #553.
* Extract method for validating the order.Jason R. Coombs2016-04-201-8/+14
|
* Remove superfluous sliceJason R. Coombs2016-04-201-2/+2
|
* DedentJason R. Coombs2016-04-201-16/+16
|
* Remove unused importJason R. Coombs2016-04-201-5/+0
|
* Use OrderedDict to retain deterministic ordering of version info in egg_info ↵Jason R. Coombs2016-04-201-1/+1
| | | | command. Remove lexicographic ordering in setopt.edit_config. Ref #553
* Preserve order of egg_info section in setup.cfgDavanum Srinivas2016-04-191-0/+62
| | | | | | | | | | | | egg_info is the dictionary with information that is injected into setup.cfg. edit_config uses RawConfigParser which uses collections.OrderedDict for all the data. When we use a simple dict(), when we loop through items in edit_config, we see random behavior as a result the fields tag_svn_revision/tag_date/tag_build are added to the setup.cfg randomly. So if we sort the items by key when we traverse items we will get deterministic output as RawConfigParser uses OrderedDict internally by default.
* Restore evaluating environment markers in WorkingSetSteve Kowalik2016-04-051-3/+0
| | | | | | | | | | 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
* Bypass environment marker evaluation in requirements resolution. Ref #523.Jason R. Coombs2016-03-311-0/+3
|
* Extract separate test for test_environment_markers in test_resources. Remove ↵Jason R. Coombs2016-03-311-2/+2
| | | | unused variable.
* Support environment markers in *_requires, via WorkingSet.Steve Kowalik2016-03-241-8/+55
|
* Shift requirement parsing inside RequirementSteve Kowalik2016-03-011-1/+3
|
* Merge pull request series from Steve Kowalik for updated and unified marker ↵Jason R. Coombs2016-02-192-64/+0
|\ | | | | | | implementation. Fixes #122.
| * Merge from master, resolving conflicts.Steve Kowalik2016-02-166-74/+178
| |\
| * \ Merge from default.Steve Kowalik2016-01-079-45/+49
| |\ \
| * \ \ Merge pull request #164. Fixes #122.Jason R. Coombs2015-12-252-64/+0
| |\ \ \
| | * \ \ Merge from master.Steve Kowalik2015-12-101-9/+9
| | |\ \ \
| | * | | | First shot at removing usage of _markerlib and switching to the PEP 508 ↵Steve Kowalik2015-12-102-64/+0
| | | | | | | | | | | | | | | | | | | | | | | | implementation in packaging.
* | | | | | Remove unused importsJason R. Coombs2016-02-191-2/+1
| | | | | |
* | | | | | Use pytest tmpdir fixture for simplicity and clarity.Jason R. Coombs2016-02-191-8/+4
| |_|_|_|/ |/| | | |
* | | | | Merged in darjus/setuptools (pull request #169)Jason R. Coombs2016-01-231-45/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Remove JythonCommandSpec as it's not required on Jython 2.7 and setuptools no longer supports anything 2.5, but had to test for 'Jython on Windows' in two other places
| * | | | | Remove JythonCommandSpec as it's not required on Jython 2.7 and setuptools ↵Darjus Loktevic2016-01-111-45/+0
| | |_|_|/ | |/| | | | | | | | | | | | | no longer supports anything 2.5, but had to test for 'Jython on Windows' in two other places
* | | | | Add test capturing failure. Ref #486.Jason R. Coombs2016-01-231-0/+10
| | | | |
* | | | | Get VersionConflict from pkg_resources.19.4Jason R. Coombs2016-01-161-1/+1
| | | | |
* | | | | Re-use tarfile_open for Python 2.6 compatibilty.Jason R. Coombs2016-01-161-6/+2
| | | | |
* | | | | Just use BytesIOJason R. Coombs2016-01-161-7/+1
| | | | |
* | | | | Merged in embray/setuptools (pull request #167)Jason R. Coombs2016-01-162-29/+173
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Possible fix for #207
| * | | | | Adds the regression test for distribute issue 323 that I attached to #207. ↵Erik Bray2015-12-312-29/+173
| |/ / / / | | | | | | | | | | | | | | | This is to ensure that any fix to #207 does not introduce another regression.
* | | | | Always use Python 3 version of mapJason R. Coombs2016-01-163-0/+5
|/ / / /
* | | | Modeling after Astropy's technique for bundling libraries, the imports are ↵Jason R. Coombs2015-12-318-54/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | now much cleaner. Thanks @embray. Ref #229. --HG-- branch : feature/issue-229
* | | | Update vendoring technique to match that used for packaging. Ref #229.Jason R. Coombs2015-12-3110-12/+56
| | | | | | | | | | | | | | | | | | | | --HG-- branch : feature/issue-229
* | | | Merge with master. Ref #229.Jason R. Coombs2015-12-3114-380/+660
|\ \ \ \ | |/ / / | | | | | | | | | | | | --HG-- branch : feature/issue-229
| * | | Wrap the result in a DirList to avoid tuple unpacking and unused variablesJason R. Coombs2015-12-251-3/+8
| | | |
| * | | Merged pull request #151 - prep work for issue #450.Jason R. Coombs2015-12-252-23/+74
| |\ \ \
| | * | | Added test to ensure that egg_info applies MANIFEST.inLuke Plant2015-10-191-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | The 'self.read_template()' line of manifest_maker was previously uncovered by any test, and the test suite passed if you commented it out.
| | * | | Pulled out some test code for re-use.Luke Plant2015-10-191-12/+14
| | | | |
| | * | | Added test utility for building files quickly.Luke Plant2015-10-192-11/+44
| | | | | | | | | | | | | | | | | | | | And made use of it in test_egg_info.
| * | | | Fix failing test on Windows due to path formatting bugsErik Bray2015-12-241-3/+8
| | | | |
| * | | | Fix failing test on Windows due to path separatorErik Bray2015-12-231-1/+1
| | | | |
| * | | | Use RawConfigParser instead of SafeConfigParser in PyPIConfig class. ↵Jason R. Coombs2015-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | Interpolated values are no longer supported. Since backward compatibility could not be retained in either case, prefer the simpler, more direct format. Ref #442.
| * | | | Use SafeConfigParser in PyPIConfig file. Allows percent signs to be ↵Jason R. Coombs2015-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | specified using two percent signs. Fixes #442.
| * | | | Add test capturing InterpolationSyntaxError on Python 3. Ref #442Jason R. Coombs2015-12-141-1/+1
| | | | |
| * | | | Add test capturing InterpolationSyntaxError on Python 3 and KeyError on Python 2Jason R. Coombs2015-12-141-0/+21
| | | | |
| * | | | Add another test capturing violated expectation that SandboxViolation would ↵Jason R. Coombs2015-12-131-0/+21
| | | | | | | | | | | | | | | | | | | | be raised in a sandbox/hidden_setuptools context. Ref #440.
| * | | | caught is a better name hereJason R. Coombs2015-12-131-2/+2
| | | | |
| * | | | Refine test to not make additional references to exceptions in ↵Jason R. Coombs2015-12-131-4/+12
| | | | | | | | | | | | | | | | | | | | setuptools.sandbox, but instead create a bespoke unpickleable exception. Ref #440.