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

Add tests for all poetry versions between 1.5 and 1.8 #101

Open
enpaul opened this issue Aug 22, 2024 · 0 comments
Open

Add tests for all poetry versions between 1.5 and 1.8 #101

enpaul opened this issue Aug 22, 2024 · 0 comments
Labels
roadmap-stable Required for stable status tests Something to do with the tests

Comments

@enpaul
Copy link
Owner

enpaul commented Aug 22, 2024

Since we are relying on semi-internal poetry API components we should test that the components we are using exist and are compatible in every version of Poetry we support. I think this can be done fairly easily by simply installing an unpinned version of poetry into a toxenv and then re-running pytest and mypy. An example of such a toxenv is below:

[testenv:poetry15]
require_locked_deps = false
poetry_dep_groups =
    dev
deps =
    poetry>=1.5.0,<1.6.0
commands =
    pytest {toxinidir}/tests/
    mypy {toxinidir}/tox_poetry_installer/

This should raise warnings in the event that poetry~1.5 has an incompatibility, even if the locked version of poetry is 1.8+

@enpaul enpaul added roadmap-stable Required for stable status tests Something to do with the tests labels Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
roadmap-stable Required for stable status tests Something to do with the tests
Projects
None yet
Development

No branches or pull requests

1 participant