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

Fix test action #12

Merged
merged 7 commits into from Nov 23, 2022
Merged

Fix test action #12

merged 7 commits into from Nov 23, 2022

Conversation

puttehi
Copy link
Owner

@puttehi puttehi commented Nov 23, 2022

Tests action keeps failing. Let's fix it through brute-force.

Tests keep dying to some obscure error,
seemingly flake8 + something else uses
a deprecated API or such.

Maybe this fixes the issue.
Seems like the tests action failed here
instead of in actual deps.
Not sure why tests action run pre-commit
though. Bit by bit.. :)
nox doesn't provide full types through
the call stack so ignore instead.
nox > Running session mypy-3.10
nox > Creating virtual environment (virtualenv) using python3.10 in .nox/mypy-3-10
nox > python -m pip install .
nox > poetry export --dev --without-hashes --format=requirements.txt --output=/tmp/tmpgp_y8nnn
The `--dev` option is deprecated, use the `--with dev` notation instead.
nox > python -m pip install --constraint=/tmp/tmpgp_y8nnn invoke mypy
nox > Command python -m pip install --constraint=/tmp/tmpgp_y8nnn invoke mypy failed with exit code 1:
DEPRECATION: Constraints are only allowed to take the form of a package name and a version specifier. Other forms were originally permitted as an accident of the implementation, but were undocumented. The new implementation of the resolver no longer supports these forms. A possible replacement is replacing the constraint with a requirement. Discussion can be found at pypa/pip#8210
ERROR: Constraints cannot have extras
nox > Session mypy-3.10 failed.
Error: Process completed with exit code 1.
pip --constaint doesn't handle extras
use poetry completely instead
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

Successfully merging this pull request may close these issues.

None yet

1 participant