When exporting with a relative package, with develop = true, the requirements.txt file is not created correctly.
pyproject.toml
[tool.poetry.dependencies]
package-name = { path = "../relative/path/to/package-name", develop = true }
requirements.txt with 1.7.1
package-name @ file:///absolute/path/to/package-name ; python_version >= "3.10" and python_version < "4.0"
requirements.txt with 1.8.0
-e file:///absolute/path/to/package-name ; python_version >= "3.10" and python_version < "4.0"
When installing via pip, it does not copy the package files into the target directory. It puts the dist-info folder, and a package_name.pth file.