summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_egg_info.py
Commit message (Collapse)AuthorAgeFilesLines
* Also update the Metadata-Version when adding Requires-PythonXavier Fernandez2016-07-211-2/+4
|
* Merge pull request #631 from xavfernandez/xfernandez/python_requiresJason R. Coombs2016-07-201-0/+24
|\ | | | | Add python_requires keywords to setup
| * Add basic tests and docs for python_requiresXavier Fernandez2016-07-141-0/+24
| |
* | Match closing bracket identation of opening bracket's line.stepshal2016-07-141-1/+1
|/
* Fix quantity of blank lines after code object.stepshal2016-07-131-0/+1
|
* 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
|
* Always use Python 3 version of mapJason R. Coombs2016-01-161-0/+2
|
* 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-251-23/+42
|\
| * 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-191-11/+12
| | | | | | | | And made use of it in test_egg_info.
* | Move test into pkg_resources testsJason R. Coombs2015-11-281-85/+0
| |
* | Add tests ref #419.Eric Larson2015-11-151-5/+91
|/
* Extract fixture for the environment.Jason R. Coombs2015-01-021-37/+47
|
* Use update to set the home environment variable.Jason R. Coombs2015-01-021-2/+3
|
* Extract method for _find_egg_info_files.Jason R. Coombs2015-01-021-5/+13
|
* Use trailing comma for consistency.Jason R. Coombs2015-01-021-1/+2
|
* Rewrite command construction for clarity.Jason R. Coombs2015-01-021-5/+8
|
* Rewrite config generationJason R. Coombs2015-01-021-2/+5
|
* Rewrite paths construction as generator expression.Jason R. Coombs2015-01-021-4/+6
|
* Use contexts for tempdir generationJason R. Coombs2015-01-021-7/+3
|
* Replace cluttered script generation with multiline stringsJason R. Coombs2015-01-021-10/+18
|
* Rewrite test using pytest.Jason R. Coombs2015-01-021-26/+13
|
* Removed svn support from setuptools. Ref #313.Jason R. Coombs2014-12-241-190/+1
|
* Use os.pathsep. Fixes failure on Windows8.1b1Jason R. Coombs2014-12-131-1/+1
|
* tests.egg_info: Test absolute egg-base install"W. Trevor King"2014-10-161-0/+58
| | | | | | Make sure this copies the appropriate metadata into EGG-INFO. This test currently fails, but the next commit fixes setuptools so it will pass.
* Implement PEP 440 by using the packaging libraryDonald Stufft2014-09-251-3/+3
|
* PY26 doesn't have assertInPhilip Thiem2014-05-171-2/+2
| | | | | | --HG-- branch : develop extra : rebase_source : a891af85b68115431db3fe42acf5a102e02aa8b9
* Add Regression Tests for svn tagging.Philip Thiem2014-04-231-0/+37
| | | | | | --HG-- branch : develop extra : rebase_source : a05d5f844416113562066786c697170ed85c48fd
* Modified setuptools.test.environment.ZipEnvironment to not choke on a bypassedPhilip Thiem2013-12-071-8/+13
| | | | | | | | setUp. test_egg_info, test_sdist, and test_svn all had tests that needed to be bypassed when svn was not present. tests.py26compat contains a SkipIf decorator for skipping. This worked after ironing a few wrinkles. The conditions is evaluated and stored in test_svn._svn_check.
* For .svn legacy fallback, look for the files in the .svn not the directory.Philip Thiem2013-11-111-1/+95
| | | | | | | | | | | | | | | | (Fixed unexpected deprecation warning from prombredanne) Also removed the warning from fallback, only a deprecation warning is issued. Environment.py whitespacing Created a specialized command executor for tests in Environment.py Legacy Test in test_egg_info now supresses the deprecation warning. PythonPath is now explicitly controlled to allow setup.py test on clean python installations. *Fixes Issue #101* Moved some dummy svn tests from test_sdist to test_egg_info since they are egg_info tests. Downgraded a with statement in a test since we haven't offically dropped 2.4 support, however, maybe it is time. Added a test case to ensure no extranuous output on sdist with a simple dummy package without rev ctrl.
* Added a legacy fallback testPhilip Thiem2013-09-281-0/+21
| | | | | | | | Added in code to after a deprecation warning parse the .svn files Should also parse externals. --HG-- extra : rebase_source : 9dd3bcf22cb56eb0826051f9e477f155e47cdbf6
* Additional Tests, Various fixes, and encoding dealingsPhilip Thiem2013-07-201-0/+13
| | | | | --HG-- extra : rebase_source : 2734e79e08e194923eab8c70f92cb77bce7daccf
* Add test capturing failure on Python 3 in egg_info.get_svn_revision (#20). ↵Jason R. Coombs2013-06-191-0/+40
egg_info.get_svn_revision is now a staticmethod.