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

Update CI and support pytest 8 #5

Merged
merged 9 commits into from
Oct 24, 2024
Merged

Update CI and support pytest 8 #5

merged 9 commits into from
Oct 24, 2024

Commits on Oct 19, 2024

  1. update build configuration

    - move the content of setup.py and pytest.ini to pyproject.toml (eventually, tox.ini will be moved here as well);
    - move the version number to a dynamic value in __about__.py;
    - temporarily constrain the dependency of pytest to ~=7.0;
    pengyunie committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    ad5bf5b View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2024

  1. add tox configuration for testing multiple versions

    - set targeted supported versions to python {3.7, 3.8, 3.9, 3.10} x pytest {7, 8}
    - change dependency of pytest to >=7.0,<9.0
    pengyunie committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    1d110ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1bde2f View commit details
    Browse the repository at this point in the history
  3. fix CI

    - set fail-fast to false (always run on all python versions despite if some of them are failing)
    - remove tox's version constrain >=4.19
    pengyunie committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    5fc2f61 View commit details
    Browse the repository at this point in the history
  4. fix CI

    - add tox-gh to dependency
    - remove the incompatible combination py37-pytest8
    pengyunie committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    b081589 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    44c2344 View commit details
    Browse the repository at this point in the history
  6. fix most errors in pytest 8

    - upgrade import_path, FixtureRequest to use the newer API
    pengyunie committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    6cb9fa1 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. fix build configuration

    - Add {posargs} to the pytest command in tox.ini
    - Fix warning about tool.ruff.lint
    pengyunie committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    ce3b5b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f22f8c View commit details
    Browse the repository at this point in the history