aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | | Merge branch 'maint/44.x'Jason R. Coombs2020-02-152-0/+5
|\ \ \
| * | | Suppress failures due to unfortunate combination of issues. Ref #2000.Jason R. Coombs2020-02-151-0/+3
| | | |
| * | | Merge pull request #1999 from pypa/bugfix/1998-virtualenv-site-conflictJason R. Coombs2020-02-151-0/+2
| |\ \ \ | | | | | | | | | | Pin virtualenv to <20 as workaround for #1998.
| | * | | Pin virtualenv to <20 as workaround for #1998.Jason R. Coombs2020-02-151-0/+2
| |/ / /
| * | | Bootstrap the environment in tox, allowing simple 'tox' to run tests and ↵Jason R. Coombs2020-02-066-15/+13
| | | | | | | | | | | | | | | | simplifying all of the pipelines.
| * | | Add azure pipelines from jaraco/skeletonJason R. Coombs2020-02-051-0/+71
| | | |
* | | | Merge pull request #1997 from pypa/bugfix/1996-py27-testsJason R. Coombs2020-02-151-1/+5
|\ \ \ \ | | | | | | | | | | Avoid installing setuptools 45 on Python 2.
| * | | | Avoid installing setuptools 45 on Python 2.Jason R. Coombs2020-02-151-1/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because Requires-Python is disabled for Python 2 to allow this declared-incompatible version to install on Python 2, the build-requirements must exclude installing setuptools 45 during the build-system setup. Because Python 2 tests are only needed for internal validation, and because the latest pip is already installed, the build-system can rely on `backend-path = ["."]`. Fixes #1996.
* | | | Merge pull request #1764 from venthur/fix/1557Jason R. Coombs2020-02-114-1/+26
|\ \ \ \ | |_|/ / |/| | | Deprecated Eggsecutable Scripts
| * | | Merge branch 'master' into fix/1557Jason R. Coombs2020-02-11120-2699/+4328
| |\ \ \ | |/ / / |/| | |
* | | | Bump version: 45.1.0 → 45.2.0v45.2.0Jason R. Coombs2020-02-088-10/+15
| | | |
* | | | Merge pull request #1941 from joreiff/pr-easyinstallJason R. Coombs2020-02-052-13/+14
|\ \ \ \ | | | | | | | | | | Make easy_install command less strict (fixes #1405)
| * \ \ \ Merge branch 'master' into pr-easyinstallJohannes Reiff2020-01-2563-460/+867
| |\ \ \ \
| * | | | | Add changelog entry for PR #1941Johannes Reiff2019-12-191-0/+4
| | | | | |
| * | | | | Make easy_install command less strict (fixes #1405)Johannes Reiff2019-12-191-14/+10
| | | | | |
* | | | | | Merge pull request #1986 from vstinner/skip_wininstJason R. Coombs2020-02-052-2/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix install_scripts() if bdist_wininst is missing
| * | | | | | Update changelog.Jason R. Coombs2020-02-051-0/+1
| | | | | | |
| * | | | | | Fix install_scripts() if bdist_wininst is missingVictor Stinner2020-02-031-2/+5
| | |/ / / / | |/| | | | | | | | | | | | | | | | Closes #1985
* | | | | | Merge pull request #1981 from pypa/feature/deps-in-metadataJason R. Coombs2020-02-048-23/+96
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Move test dependencies to package metadata.
| * | | | | Add changelog entry.feature/deps-in-metadataJason R. Coombs2020-02-041-0/+1
| | | | | |
| * | | | | Move docs dependencies into package metadata and use same technique as ↵Jason R. Coombs2020-01-215-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | jaraco/skeleton to build docs in tox and rtd.
| * | | | | Merge remote-tracking branch 'origin/master' into feature/deps-in-metadataJason R. Coombs2020-01-211-17/+48
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #1967 from webknjaz/bugfixes/setup-python-action-versionJason R. Coombs2020-01-212-18/+49
|\ \ \ \ \ \ | | | | | | | | | | | | | | Improve tests setup in GH Actions CI/CD workflow
| * | | | | | Add back NETWORK_REQUIRED env varSviatoslav Sydorenko2020-01-201-0/+1
| | | | | | |
| * | | | | | Simplify GH Actions tests workflowSviatoslav Sydorenko2020-01-201-21/+27
| | | | | | |
| * | | | | | Set TOXENV to pypy3 on macOS @ GH Actions CI/CDSviatoslav Sydorenko2020-01-201-0/+4
| | | | | | |
| * | | | | | Support PyPy2Sviatoslav Sydorenko2020-01-202-3/+3
| | | | | | |
| * | | | | | Add PyPy 🐍 jobs to Actions CI/CD workflowSviatoslav Sydorenko2020-01-201-0/+1
| | | | | | |
| * | | | | | Fix running tests under Python 2Sviatoslav Sydorenko2020-01-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per #1961. P.S. Using `contains(['2.7', 'pypy2'], matrix.python-version)` does not work even though https://help.github.com/en/actions/automating-your-workflow-with-github-actions/contexts-and-expression-syntax-for-github-actions#contains promises arrays to be supported.
| * | | | | | Log Python location in CISviatoslav Sydorenko2020-01-201-0/+3
| | | | | | |
| * | | | | | Log Python version in CISviatoslav Sydorenko2020-01-201-0/+3
| | | | | | |
| * | | | | | Disable tox's parallel spinnerSviatoslav Sydorenko2020-01-201-0/+3
| | | | | | |
| * | | | | | Switch to using the latest UbuntuSviatoslav Sydorenko2020-01-201-1/+1
| | | | | | |
| * | | | | | Cache Pip dists in GH Actions CI/CD workflowsSviatoslav Sydorenko2020-01-201-0/+8
| | | | | | |
| * | | | | | Bump setup-python action to v1.1.1Sviatoslav Sydorenko2020-01-201-1/+1
| | | | | | |
| * | | | | | Use `python-version` in setup-python actionSviatoslav Sydorenko2020-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, a deprecated `version` arg was used.
| | * | | | | Set PIP_USE_PEP517 in installer command so as not to influence the tests ↵Jason R. Coombs2020-01-212-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | with that setting.
| | * | | | | Opt into PEP 517 for pip installs to avoid implicit dependency on Setuptools ↵Jason R. Coombs2020-01-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | to install test dependencies.