aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | | Remove superfluous test and re-organize tests for clarity.Jason R. Coombs2020-03-151-6/+2
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Merge test from commit 'b6076' into feature/308-bypass-normalizationJason R. Coombs2020-03-151-0/+8
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | Add test capturing use-case for normalized version. Ref #308.Jason R. Coombs2020-03-151-0/+7
| |/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Add changelog entry.Jason R. Coombs2020-03-151-0/+1
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Extract method for normalization, allowing for bypass when the version is ↵Jason R. Coombs2020-03-152-11/+21
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wrapped in 'sic'. Fixes #308.
* | | | | | | | | | | | | | Extract method for validating version.Jason R. Coombs2020-03-151-9/+14
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Suppress Pytest 5.4 warnings. Closes #2025Jason R. Coombs2020-03-151-0/+2
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Avoid install during finalizeJason R. Coombs2020-03-081-0/+1
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Replace playbook with code for finalizing a release.Jason R. Coombs2020-03-083-33/+73
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Bump version: 45.3.0 → 46.0.0v46.0.0Jason R. Coombs2020-03-088-7/+12
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #1979 from pypa/debt/remove-featuresJason R. Coombs2020-03-085-342/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove Feature support
| * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge remote-tracking branch 'origin/master' into debt/remove-featuresJason R. Coombs2020-03-0765-400/+954
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Update changelog.Jason R. Coombs2020-01-191-0/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Remove the Features feature. Fixes #65.Jason R. Coombs2020-01-194-344/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit reverts e4460fad043f4fa0edc7b7e1eef0b209f4588fe5.
* | | | | | | | | | | | | | | | Merge pull request #1899 from pypa/feature/1823-fail-warningsJason R. Coombs2020-03-083-7/+22
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error on warnings.
| * | | | | | | | | | | | | | | | Get both UnicodeWarningsJason R. Coombs2020-03-081-1/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Suppress another warningJason R. Coombs2020-03-081-0/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Suppress Windows bytes API warning until it can be fixed. Ref #2016.Jason R. Coombs2020-03-081-0/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Suppress RuntimeWarning from sandbox module on Python 2Jason R. Coombs2020-03-081-0/+4
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Suppress UserWarning in pkg_resources.Jason R. Coombs2020-03-071-0/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Reword UserWarning for insecure extraction path so that the message can be ↵Jason R. Coombs2020-03-071-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keyed for ignoring it. Ref #1899.
| * | | | | | | | | | | | | | | | Merge branch 'master' into feature/1823-fail-warningsJason R. Coombs2020-03-07107-1850/+2845
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | normalize indentationJason R. Coombs2019-11-161-4/+4
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Add changelog entryJason R. Coombs2019-10-311-0/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Move the error directive to the top, as it's more permanent.Jason R. Coombs2019-10-311-1/+2
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Error on warnings. Fixes #1823.Jason R. Coombs2019-10-311-0/+1
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge pull request #2014 from pypa/bugfix/1992-netlify-py3Jason R. Coombs2020-03-082-1/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Try building docs with python3.
| * | | | | | | | | | | | | | | | | Add a note about runtime.txtJason R. Coombs2020-03-081-0/+2
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Docs land in build/htmlJason R. Coombs2020-03-081-1/+1
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Add a file 'runtime.txt' to let Netlify know to use that env. Fixes #1992.Jason R. Coombs2020-03-082-1/+2
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Emit the Python versionJason R. Coombs2020-03-081-1/+1
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Use pep517 to avoid bb://pypa/distlib#136.Jason R. Coombs2020-03-081-1/+1
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Try installing pipJason R. Coombs2020-03-081-1/+1
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Try building docs with python3. Ref #1992.Jason R. Coombs2020-03-071-1/+1
| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Merge pull request #1890 from rotu/patch-1Jason R. Coombs2020-03-074-14/+23
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | Remove module importing hack
| * | | | | | | | | | | | | | | | | Merge branch 'master' into patch-1Jason R. Coombs2020-03-07118-2571/+3785
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Also remove mysterious hack from pkg_resources.externJason R. Coombs2020-03-071-7/+0
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Remove sys.modules hackDan Rose2019-10-273-7/+23
| | |_|_|_|_|_|_|_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #1888 (metadata accidentally not picklable), and removes a case where reimporting a vendored module results in a second copy of the same module.
* | | | | | | | | | | | | | | | | Merge pull request #1894 from ataylor284/bad-auth-messageJason R. Coombs2020-03-071-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | Add info message on package index auth error
| * | | | | | | | | | | | | | | | Add info message when authentication error encountered processing package index.Andrew Taylor2019-10-291-0/+2
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge pull request #1991 from hroncok/manifestJason R. Coombs2020-03-072-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include pkg_resources test data in sdist
| * | | | | | | | | | | | | | | | | Include pkg_resources test data in sdistMiro Hrončok2020-02-112-0/+2
| | |_|_|_|_|_|_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the error otherwise: _____________ TestFindDistributions.test_standalone_egg_directory ______________ self = <pkg_resources.tests.test_find_distributions.TestFindDistributions object at 0x7f17518a86d0> target_dir = local('/tmp/pytest-of-mockbuild/pytest-0/test_standalone_egg_directory0/target') def test_standalone_egg_directory(self, target_dir): (TESTS_DATA_DIR / 'my-test-package_unpacked-egg').copy(target_dir) dists = pkg_resources.find_distributions(str(target_dir)) > assert [dist.project_name for dist in dists] == ['my-test-package'] E AssertionError: assert [] == ['my-test-package'] E Right contains one more item: 'my-test-package' E Use -v to get the full diff pkg_resources/tests/test_find_distributions.py:25: AssertionError ____________________ TestFindDistributions.test_zipped_egg _____________________ self = <module 'py.error'>, func = <built-in function listdir> args = ('/builddir/build/BUILD/setuptools-45.2.0/pkg_resources/tests/data/my-test-package_zipped-egg',) kwargs = {}, __tracebackhide__ = False, cls = <class 'py.error.ENOENT'> value = FileNotFoundError(2, 'No such file or directory') tb = <traceback object at 0x7f1751a6a7c0>, errno = 2 def checked_call(self, func, *args, **kwargs): """ call a function and raise an errno-exception if applicable. """ __tracebackhide__ = True try: > return func(*args, **kwargs) E FileNotFoundError: [Errno 2] No such file or directory: '/builddir/build/BUILD/setuptools-45.2.0/pkg_resources/tests/data/my-test-package_zipped-egg' /usr/lib/python3.8/site-packages/py/_error.py:66: FileNotFoundError During handling of the above exception, another exception occurred: self = <pkg_resources.tests.test_find_distributions.TestFindDistributions object at 0x7f1751c8fe80> target_dir = local('/tmp/pytest-of-mockbuild/pytest-0/test_zipped_egg0/target') def test_zipped_egg(self, target_dir): > (TESTS_DATA_DIR / 'my-test-package_zipped-egg').copy(target_dir) pkg_resources/tests/test_find_distributions.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.8/site-packages/py/_path/local.py:437: in copy for x in self.visit(rec=rec): /usr/lib/python3.8/site-packages/py/_path/common.py:377: in visit for x in Visitor(fil, rec, ignore, bf, sort).gen(self): /usr/lib/python3.8/site-packages/py/_path/common.py:414: in gen entries = path.listdir() /usr/lib/python3.8/site-packages/py/_path/local.py:392: in listdir names = py.error.checked_call(os.listdir, self.strpath) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <module 'py.error'>, func = <built-in function listdir> args = ('/builddir/build/BUILD/setuptools-45.2.0/pkg_resources/tests/data/my-test-package_zipped-egg',) kwargs = {}, __tracebackhide__ = False, cls = <class 'py.error.ENOENT'> value = FileNotFoundError(2, 'No such file or directory') tb = <traceback object at 0x7f1751a6a7c0>, errno = 2 def checked_call(self, func, *args, **kwargs): """ call a function and raise an errno-exception if applicable. """ __tracebackhide__ = True try: return func(*args, **kwargs) except self.Error: raise except (OSError, EnvironmentError): cls, value, tb = sys.exc_info() if not hasattr(value, 'errno'): raise __tracebackhide__ = False errno = value.errno try: if not isinstance(value, WindowsError): raise NameError except NameError: # we are not on Windows, or we got a proper OSError cls = self._geterrnoclass(errno) else: try: cls = self._geterrnoclass(_winerrnomap[errno]) except KeyError: raise value > raise cls("%s%r" % (func.__name__, args)) E py.error.ENOENT: [No such file or directory]: listdir('/builddir/build/BUILD/setuptools-45.2.0/pkg_resources/tests/data/my-test-package_zipped-egg',) /usr/lib/python3.8/site-packages/py/_error.py:86: ENOENT
* | | | | | | | | | | | | | | | | Merge pull request #2011 from pastelmind/patch-1Jason R. Coombs2020-03-072-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix broken link to distutils docs for package_data
| * | | | | | | | | | | | | | | | | Create 2011.doc.rstYe-hyoung Kang2020-03-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add news fragment
| * | | | | | | | | | | | | | | | | Fix broken link to Python docsYe-hyoung Kang2020-03-021-1/+1
| | |_|_|_|_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The broken link used to point to Python 2 docs (which has been moved). Since Python 2 has reached its end-of-life, link to Python 3 docs instead.
* | | | | | | | | | | | | | | | | Bump version: 45.2.0 → 45.3.0v45.3.0Jason R. Coombs2020-03-075-4/+9
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge pull request #1904 from mayeut/msvc-python3.5Jason R. Coombs2020-03-075-9/+246
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | Use CPython 3.8.0 mechanism to find msvc 14+
| * | | | | | | | | | | | | | | | Use CPython 3.8.0 mechanism to find msvc 14+mayeut2020-03-075-9/+246
|/ / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | Merge pull request #2002 from pypa/bugfix/2001-bootstrap-raceJason R. Coombs2020-02-163-1/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | Copy docs requirements to a separate file due to RTD constraints.
| * | | | | | | | | | | | | | | Copy docs requirements to a separate file due to RTD constraints. Fixes ↵Jason R. Coombs2020-02-163-1/+7
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #2001. Ref readthedocs/readthedocs.org#6662