-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
area/depsRelated to representing and locking dependenciesRelated to representing and locking dependencieskind/bugSomething isn't working as expectedSomething isn't working as expected
Description
The issue can be reproduced as shown here. Should note that running poetry lock again fixes the issue.
podman run --rm -i --entrypoint bash python:latest <<EOF
set -xe
python -m pip install --disable-pip-version-check --root-user-action ignore -q poetry
poetry new foobar
pushd foobar
poetry add -q --optional=http httpx
grep "http" poetry.lock || :
poetry lock
grep "http" poetry.lock || :
EOFconsole.log
+ python -m pip install --disable-pip-version-check --root-user-action ignore -q poetry
+ poetry new foobar
Created package foobar in foobar
/foobar /
+ pushd foobar
+ poetry add -q --optional=http httpx
+ grep http poetry.lock
name = "httpcore"
{file = "httpcore-1.0.7-py3-none-any.whl", hash = "sha256:a3fff8f43dc260d5bd363d9f9cf1830fa3a458b332856f34282de498ed420edd"},
{file = "httpcore-1.0.7.tar.gz", hash = "sha256:8551cb62a169ec7162ac7be8d4817d561f60e08eaa485234898414bb5a8a0b4c"},
http2 = ["h2 (>=3,<5)"]
name = "httpx"
{file = "httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad"},
{file = "httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc"},
httpcore = "==1.*"
http2 = ["h2 (>=3,<5)"]
+ poetry lock
Resolving dependencies...
Writing lock file
+ grep http poetry.lock
markers = "extra == \"http\""
markers = "extra == \"http\""
markers = "extra == \"http\""
name = "httpcore"
markers = "extra == \"http\""
{file = "httpcore-1.0.7-py3-none-any.whl", hash = "sha256:a3fff8f43dc260d5bd363d9f9cf1830fa3a458b332856f34282de498ed420edd"},
{file = "httpcore-1.0.7.tar.gz", hash = "sha256:8551cb62a169ec7162ac7be8d4817d561f60e08eaa485234898414bb5a8a0b4c"},
http2 = ["h2 (>=3,<5)"]
name = "httpx"
markers = "extra == \"http\""
{file = "httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad"},
{file = "httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc"},
httpcore = "==1.*"
http2 = ["h2 (>=3,<5)"]
markers = "extra == \"http\""
markers = "extra == \"http\""
http = ["httpx"]
radoering
Metadata
Metadata
Assignees
Labels
area/depsRelated to representing and locking dependenciesRelated to representing and locking dependencieskind/bugSomething isn't working as expectedSomething isn't working as expected