Skip to content

Instantly share code, notes, and snippets.

@bb
Created May 13, 2020 13:37
Show Gist options
  • Save bb/501f33ad3f35eb8c26ce2513ca6074c8 to your computer and use it in GitHub Desktop.
Save bb/501f33ad3f35eb8c26ce2513ca6074c8 to your computer and use it in GitHub Desktop.
reproduction for python poetry issue
[tool.poetry]
name = "foo"
version = "0.1.0"
description = ""
authors = ["Benjamin Bock"]
[tool.poetry.dependencies]
python = "^3.8"
django = "^3.0.6"
django-fsm = "^2.7.0"
psycopg2-binary = "^2.8.5"
spacy = "^2.2.4"
# running `poetry add https://github.com/oroszgy/spacy-hungarian-models/releases/download/hu_core_ud_lg-0.3.1/hu_core_ud_lg-0.3.1-py3-none-any.whl` adds the following dependency.
# The issue is, that the file is downloaded three times when running the above command.
# hu-core-ud-lg = {url = "https://github.com/oroszgy/spacy-hungarian-models/releases/download/hu_core_ud_lg-0.3.1/hu_core_ud_lg-0.3.1-py3-none-any.whl"}
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry>=1.0.5"]
build-backend = "poetry.masonry.api"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment