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

Commits on Nov 23, 2022

  1. chore(deps)!: update all dependencies

    Tests keep dying to some obscure error,
    seemingly flake8 + something else uses
    a deprecated API or such.
    
    Maybe this fixes the issue.
    puttehi committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    0b9815e View commit details
    Browse the repository at this point in the history
  2. chore(deps)!: update pre-commit deps

    Seems like the tests action failed here
    instead of in actual deps.
    Not sure why tests action run pre-commit
    though. Bit by bit.. :)
    puttehi committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    23ced22 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ad905b0 View commit details
    Browse the repository at this point in the history
  4. test: ignore ANN401 for nox

    nox doesn't provide full types through
    the call stack so ignore instead.
    puttehi committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    3760715 View commit details
    Browse the repository at this point in the history
  5. test: deprecated --constraints->-r

    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.
    puttehi committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    ff6c0f3 View commit details
    Browse the repository at this point in the history
  6. tests: use nox_poetry

    pip --constaint doesn't handle extras
    use poetry completely instead
    puttehi committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    4fc021c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8725ad1 View commit details
    Browse the repository at this point in the history