| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Explicitly exclude `pyproject.toml` so it's never added (e.g. because `setuptools_scm` is used).
|
| |
|
|
| |
Fixes #1414
|
| | |
|
| | |
|
| |
|
|
| |
again in the source distributions. Fixes #575.
|
| |
|
|
| |
Signed-off-by: Gabi Davar <grizzly.nyo@gmail.com>
|
| |\
| |
| |
| |
| | |
--HG--
branch : feature/issue-229
|
| | | |
|
| | | |
|
| |\|
| |
| |
| |
| | |
--HG--
branch : feature/issue-229
|
| | | |
|
| | | |
|
| | | |
|
| |/
|
|
|
| |
--HG--
branch : feature/issue-229
|
| |
|
|
| |
the requirement that all sources be included.
|
| | |
|
| |
|
|
| |
egg_info.get_svn_revision is now a staticmethod.
|
| |
|
|
|
|
| |
--HG--
branch : distribute
extra : rebase_source : 2b26ec8909bff210f47c5f8fc620bc505e1610b5
|
| |
|
|
|
|
|
|
| |
package pollution, but we can maybe fix that later.
--HG--
branch : distribute
extra : rebase_source : 5b3de3075ffea309979c51df9d6a6a6fb1188050
|
| |
|
|
|
|
| |
--HG--
branch : distribute
extra : rebase_source : 3d8f2228ca300091e8b7c50bbbf5bc2707372cb6
|
| |
|
|
|
|
| |
--HG--
branch : distribute
extra : rebase_source : c5110ba36fda356153e3147e05261acbd5bd6799
|
| |
|
|
|
|
| |
--HG--
branch : distribute
extra : rebase_source : 5dfd01f1594ebc0732bd6abe2ed93c8337adbd1e
|
| |
|
|
|
|
| |
--HG--
branch : distribute
extra : rebase_source : 2d089514496c2b2b0d5246a7d1635560ffe5925f
|
| |
|
|
|
|
| |
--HG--
branch : distribute
extra : rebase_source : 750c19c71792d672e51c503ca0b6654bfd1624ff
|
| |
|
|
|
|
| |
--HG--
branch : distribute
extra : rebase_source : 9ed972660846b9d43e45824cf9b515f0ac67a0ee
|
| |
|
|
|
|
| |
--HG--
branch : distribute
extra : rebase_source : e6753c6425bbe04d3fb591f0fe686e37be614895
|
| |
|
|
|
|
| |
--HG--
branch : distribute
extra : rebase_source : 86f7000b7b66111f5cb39950c3a20575953a4865
|
|
|
setuptools releases did so far
--HG--
branch : distribute
extra : rebase_source : 0beba081d5c4e8ebaeb8c87a53e83537992c56d9
|