Skip to content

Instantly share code, notes, and snippets.

@shelper
Last active February 8, 2023 16:12
Show Gist options
  • Save shelper/74b2fd7149a220ba161fa6118d192a28 to your computer and use it in GitHub Desktop.
Save shelper/74b2fd7149a220ba161fa6118d192a28 to your computer and use it in GitHub Desktop.
pyproject.toml where poetry fails to access private repo on github using deploykey
[tool.poetry]
name = "mypkg"
version = "0.1.0"
description = "mypkg"
classifiers = [
"Private :: Do Not Upload",
]
[tool.poetry.build]
generate-setup-file = false
[tool.poetry.dependencies]
python = "^3.8.0"
PySimpleGUI = ">=4.18.1"
numpy = ">=1.19.5"
pillow = ">=8.3.2"
PyYAML = ">=5.4.1"
typer = ">=0.3.2"
python-dotenv = ">=0.18.0"
tqdm = ">=4.62.0"
sqlmodel= ">=0.0.4"
google-cloud-storage = ">=1.43.0"
another_pkg = {git = "[email protected]:username/another_pkg.git", branch = "main"}
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
pytest = ">=6.2.5"
black = ">=18.3-alpha.0"
rope = ">=0.19.0"
pre-commit = ">=2.17.0"
[tool.poetry.group.ml]
optional = true
[tool.poetry.group.ml.dependencies]
h5py = "3.1.0"
jupyter = "^1.0.0"
tensorflow = "^2.5.0"
scikit-learn = "0.24.2"
pandas = "1.2.4"
seaborn = "0.11.1"
matplotlib = "^3.4.2"
opencv-python = "^4.5.2"
torch = "^1.5.0+cpu"
torchvision = "^0.6.0+cpu"
[tool.poetry.group.web]
optional = true
[tool.poetry.group.web.dependencies]
fastapi = "^0.68.0"
python-multipart = "^0.0.5"
aiofiles = "^0.4.0"
streamlit = "1.8.0"
requests = "^2.24.0"
requests-toolbelt = "^0.9.1"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment