Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing tests/mixins.py file in 1.4.9 PyPI archive #149

Open
arkamar opened this issue May 12, 2023 · 2 comments
Open

Missing tests/mixins.py file in 1.4.9 PyPI archive #149

arkamar opened this issue May 12, 2023 · 2 comments

Comments

@arkamar
Copy link

arkamar commented May 12, 2023

I am currently working on creating a Gentoo package for txredisapi and I've noticed that the tests/mixins.py file is missing from the PyPI archive for version 1.4.9. In Gentoo, we prefer using the PyPI archive for the package source, but due to the missing tests/mixins.py file, the tests are failing. Everything works fine from Github sources.

Here is a snippet from the test log:

[ERROR]
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/twisted/trial/runner.py", line 616, in loadPackage
    module = modinfo.load()
  File "/usr/lib/python3.10/site-packages/twisted/python/modules.py", line 388, in load
    return self.pathEntry.pythonPath.moduleLoader(self.name)
  File "/usr/lib/python3.10/site-packages/twisted/python/reflect.py", line 297, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/usr/lib/python3.10/site-packages/twisted/python/reflect.py", line 244, in _importAndCheckStack
    raise excValue.with_traceback(excTraceback)
  File "/var/tmp/portage/dev-python/txredisapi-1.4.9/work/txredisapi-1.4.9/tests/test_basics.py", line 20, in <module>
    from .mixins import REDIS_HOST, REDIS_PORT
builtins.ModuleNotFoundError: No module named 'tests.mixins'

tests.test_basics

Btw, tests/chash_distribution.py is also missing in the archive, but this does not cause any problems.

@arkamar
Copy link
Author

arkamar commented May 12, 2023

cc @fiorix (based on PyPI related PRs and Issues)

@arkamar
Copy link
Author

arkamar commented Jul 21, 2023

PyPI archive for version 1.4.10 is missing tests completely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant