-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"subdirectory" argument ignored #7575
Comments
I am experiencing the same issue with poetry 1.4.0 and get the following error message:
My repository has the following structure:
|
@oyvinev I'm seeing the same issue, able to work around it by setting
in the project directory (or edit the |
@simon-sk not sure if your issue is the same thing but you could try that setting and see if it works? |
I am also seeing this with v1.4.0, Python 3.10.6, Ubuntu 22.04.2:
[tool.poetry]
name = "package-name"
version = "0.2.0"
description = ""
authors = ["Harry Mander <[email protected]>"]
readme = "README.md"
packages = [{include = "package_name"}]
[tool.poetry.dependencies]
python = ">=3.10, <3.11"
click = "^8.1.3"
tqdm = "^4.64.1"
tomli = "^2.0.1"
Jinja2 = "^3.1.2"
[tool.poetry.dependencies.git-dependency-1]
git = "git@<git-repo-1>"
rev = "<git-ref>"
[tool.poetry.dependencies.git-dependency-2]
git = "git@<git-repo-2>"
rev = "<git-ref>"
subdirectory = "path/to/project"
[tool.poetry.scripts]
package-name = "package_name.cli:cli"
[tool.poetry.group.dev.dependencies]
flake8 = "^6.0.0"
mypy = "^0.991"
types-tqdm = "^4.64.7.11"
ipython = "^8.9.0"
rich = "^13.3.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api" The issue occurs with
In the above the path Setting
Works as a temporary solution. |
I don't recommend setting A possible fix is mentioned in #755 (comment). A PR with a fix and a test is welcome. |
I tried that first but it didn't work. In my case it's a Check it out:
|
Yes I also found |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option) and have included the output below.Issue
"subdirectory"
seems to be ignored (at least in this specific case). I've verified that it builds on 1.3.2, but fails with 1.4.0.Expected behaviour: It should enter the subdirectory
pyd4
undersrc/d4-format
The text was updated successfully, but these errors were encountered: