Skip to content

got "AttributeError" when run tox #2512

Answered by jugmac00
mmdbalkhi asked this question in Q&A
Discussion options

You must be logged in to vote

Before tox runs tests, it builds the package, installs it and runs the test against the installed version, not the files in your source tree (the git checkout). This is a good thing, as usually that is what your users use.

When running check-manifest on your package, it is clear that your MANIFEST.in is not correct, and so a couple of files are not included in the sdist:

Flask-tinydb on  main via 🐍 v2.7.18 
❯ check-manifest
lists of files in version control and sdist do not match!
missing from sdist:
  .editorconfig
  .pre-commit-config.yaml
  flask_tinydb/__init__.py
  flask_tinydb/storages.py
  flask_tinydb/tinydb.py
  requirements/dev.in
  requirements/dev.txt
  requirements/docs.in
 …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jugmac00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants