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

ERROR: Double requirement given: pytest>=6.0.0` (already in pytest, name='pytest') #71

Open
NiklasRosenstein opened this issue Dec 19, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@NiklasRosenstein
Copy link
Owner

This occurs when creating a Python 3.8 virtual environment and using slap install to install kraken-core. It has an optional runtime-dependency on pytest and a non-optional development dependency on it.

[tool.poetry.dependencies]
pytest = { version = ">=6.0.0", optional = true }  # For the testing fixture provided by kraken.core

[tool.poetry.dev-dependencies]
pytest = "*"

Upgrading Pip in the virtual environment makes it work.

.venvs/3.8/bin/pip install --upgrade pip
@NiklasRosenstein NiklasRosenstein added the bug Something isn't working label Dec 19, 2022
@NiklasRosenstein NiklasRosenstein self-assigned this Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant