Last active
April 12, 2023 21:46
-
-
Save rjurney/a55324ef75cf3c52154cbe4f1c2ca345 to your computer and use it in GitHub Desktop.
Poetry update can't solve a Python 3.9+ project with JUST pytest as a dev dependency... what is going on here?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[virtualenvs] | |
create = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Create a pyprojct.toml file by hand using pip requirements. | |
# Then remove everything except pytest when it won't update - takes overnight and no solution. | |
$ poetry update | |
Loading configuration file /home/rjurney/.config/pypoetry/config.toml | |
Loading configuration file /home/rjurney/Software/my-streamlit/poetry.toml | |
Using virtualenv: /home/rjurney/anaconda3/envs/my-streamlit | |
Updating dependencies | |
Resolving dependencies... | |
1: fact: my-streamlit is 0.1.0 | |
1: derived: my-streamlit | |
1: fact: my-streamlit depends on pytest (>=7.3.0) | |
1: selecting my-streamlit (0.1.0) | |
1: derived: pytest (>=7.3.0) | |
[keyring.backend] Loading KWallet | |
[keyring.backend] Loading SecretService | |
[keyring.backend] Loading Windows | |
[keyring.backend] Loading chainer | |
[keyring.backend] Loading libsecret | |
[keyring.backend] Loading macOS | |
# WAIT TILL THE END OF TIME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tool.poetry] | |
name = "my-streamlit" | |
version = "0.1.0" | |
description = "My Project." | |
authors = ["Russell Jurney <russell.jurney@gmail.com>"] | |
readme = "README.md" | |
packages = [{include = "my_streamlit"}] | |
[tool.poetry.dependencies] | |
python = "^3.9" | |
[tool.poetry.dev-dependencies] | |
pytest = ">=7.3.0" | |
[build-system] | |
requires = ["poetry-core"] | |
build-backend = "poetry.core.masonry.api" | |
[tool.black] | |
line-length = 100 | |
target-version = ["py310"] | |
include = ["my_streamlit", "test"] | |
[tool.isort] | |
profile = "black" | |
src_paths = ["my_streamlit", "test"] | |
[tool.mypy] | |
python_version = "3.10" | |
mypy_path = ["my_streamlit", "test"] | |
ignore_missing_imports = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Poetry version | |
Poetry (version 1.4.1) | |
# Python version | |
Python 3.10.10 | |
# OS version | |
Distributor ID: Ubuntu | |
Description: Ubuntu 20.04.6 LTS | |
Release: 20.04 | |
Codename: focal | |
# uname -a | |
Linux my-machine 5.15.0-69-generic #76~20.04.1-Ubuntu SMP Mon Mar 20 15:54:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment