Issue
Given the above pyproject.toml file, poetry export --without-hashes -o requirements.txt will generate the following output:
backports.functools-lru-cache==1.6.4; python_version >= "2.6" and python_version < "3"
beautifulsoup4==4.9.3
cssutils==1.0.2
enum34==1.1.10; python_version < "3.4"
future==0.18.2; python_version >= "2.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0"
lxml==4.4.0
pycaption @ git+https://github.com/pbs/pycaption@master
six==1.16.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0"
soupsieve==1.9.6
Relevant section of poetry.lock:
[[package]]
name = "pycaption"
version = "1.0.6"
description = ""
category = "main"
optional = false python-versions = "*"
develop = false
[package.dependencies]
beautifulsoup4 = ">=4.8.1,<4.10"
cssutils = ">=0.9.10" enum34 = {version = "*", markers = "python_version < \"3.4\""}
future = "*"
lxml = ">=3.2.3"
six = ">=1.9.0"
[package.source]
type = "git"
url = "https://github.com/pbs/pycaption"
reference = "master"
resolved_reference = "3f377a32eb04a0ef79548d8f595092e249499bb4"
Based on this, I would expect requirements.txt to contain the following:
pycaption @ git+https://github.com/pbs/pycaption@3f377a32eb04a0ef79548d8f595092e249499bb4
-vvvoption).Issue
Given the above
pyproject.tomlfile,poetry export --without-hashes -o requirements.txtwill generate the following output:Relevant section of
poetry.lock:Based on this, I would expect
requirements.txtto contain the following: