You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it generate correct lock file with uvicorn = { version = "^0.30.0", platform = 'linux', extras = ['standard'] }, but I need uvicorn for developing on windows.
Workarounds
add uvloop manully
Poetry Installation Method
pipx
Operating System
win32
Poetry Version
Poetry (version 1.8.3)
Poetry Configuration
doesn't matter
Python Sysconfig
Platform: "win-amd64"
Python version: "3.8"
Current installation scheme: "nt"
Example pyproject.toml
No response
Poetry Runtime Logs
Loading configuration file C:\Users\Trim21\AppData\Roaming\pypoetry\config.toml
Loading configuration file C:\Users\Trim21\AppData\Roaming\pypoetry\auth.toml
Using virtualenv: C:\Users\Trim21\proj\poetry-bug-maybe\poetry-bug-maybe\.venv
Updating dependencies
Resolving dependencies...
1: fact: non-package-mode is 0
1: derived: non-package-mode
1: fact: non-package-mode depends on uvicorn[standard] (^0.30.0)
1: fact: non-package-mode depends on uvicorn (^0.30.0)
1: selecting non-package-mode (0)
1: derived: uvicorn (>=0.30.0,<0.31.0)
1: derived: uvicorn[standard] (>=0.30.0,<0.31.0)
Checking if keyring is available
[keyring:keyring.backend] Loading KWallet
[keyring:keyring.backend] Loading SecretService
[keyring:keyring.backend] Loading Windows
[win32ctypes:win32ctypes.core.ctypes] Loaded ctypes backend
[keyring:keyring.backend] Loading chainer
[keyring:keyring.backend] Loading libsecret
[keyring:keyring.backend] Loading macOS
Using keyring backend 'Windows WinVaultKeyring'
Creating new session for pypi.org
Source (PyPI): 2 packages found for uvicorn >=0.30.0,<0.31.0
1: fact: uvicorn (0.30.1) depends on click (>=7.0)
1: fact: uvicorn (0.30.1) depends on h11 (>=0.8)
1: fact: uvicorn (0.30.1) depends on typing-extensions (>=4.0)
1: selecting uvicorn (0.30.1)
1: derived: typing-extensions (>=4.0)
1: derived: h11 (>=0.8)
1: derived: click (>=7.0)
Source (PyPI): 20 packages found for typing-extensions >=4.0
Source (PyPI): 8 packages found for h11 >=0.8
Source (PyPI): 17 packages found for click >=7.0
1: fact: click (8.1.7) depends on colorama (*)
1: selecting click (8.1.7)
1: derived: colorama
Source (PyPI): 43 packages found for colorama *
1: selecting h11 (0.14.0)
1: selecting colorama (0.4.6)
1: selecting typing-extensions (4.12.1)
1: fact: uvicorn[standard] (0.30.1) depends on uvicorn (0.30.1)
1: fact: uvicorn[standard] (0.30.1) depends on click (>=7.0)
1: fact: uvicorn[standard] (0.30.1) depends on h11 (>=0.8)
1: fact: uvicorn[standard] (0.30.1) depends on typing-extensions (>=4.0)
1: fact: uvicorn[standard] (0.30.1) depends on colorama (>=0.4)
1: fact: uvicorn[standard] (0.30.1) depends on httptools (>=0.5.0)
1: fact: uvicorn[standard] (0.30.1) depends on python-dotenv (>=0.13)
1: fact: uvicorn[standard] (0.30.1) depends on pyyaml (>=5.1)
1: fact: uvicorn[standard] (0.30.1) depends on watchfiles (>=0.13)
1: fact: uvicorn[standard] (0.30.1) depends on websockets (>=10.4)
1: selecting uvicorn[standard] (0.30.1)
1: derived: websockets (>=10.4)
1: derived: watchfiles (>=0.13)
1: derived: pyyaml (>=5.1)
1: derived: python-dotenv (>=0.13)
1: derived: httptools (>=0.5.0)
Source (PyPI): 6 packages found for websockets >=10.4
Source (PyPI): 13 packages found for watchfiles >=0.13
Source (PyPI): 10 packages found for pyyaml >=5.1
Source (PyPI): 15 packages found for python-dotenv >=0.13
Source (PyPI): 3 packages found for httptools >=0.5.0
1: selecting python-dotenv (1.0.1)
1: fact: watchfiles (0.22.0) depends on anyio (>=3.0.0)
1: selecting watchfiles (0.22.0)
1: derived: anyio (>=3.0.0)
Source (PyPI): 22 packages found for anyio >=3.0.0
1: fact: anyio (4.4.0) depends on idna (>=2.8)
1: fact: anyio (4.4.0) depends on sniffio (>=1.1)
1: fact: anyio (4.4.0) depends on exceptiongroup (>=1.0.2)
1: fact: anyio (4.4.0) depends on typing-extensions (>=4.1)
1: selecting anyio (4.4.0)
1: derived: exceptiongroup (>=1.0.2)
1: derived: sniffio (>=1.1)
1: derived: idna (>=2.8)
Source (PyPI): 9 packages found for exceptiongroup >=1.0.2
Source (PyPI): 4 packages found for sniffio >=1.1
Source (PyPI): 11 packages found for idna >=2.8
1: selecting idna (3.7)
1: selecting sniffio (1.3.1)
1: selecting pyyaml (6.0.1)
1: selecting exceptiongroup (1.2.1)
1: selecting websockets (12.0)
1: selecting httptools (0.6.1)
1: Version solving took 0.222 seconds.
1: Tried 1 solutions.
The text was updated successfully, but these errors were encountered:
Description
uvicorn has a depdency:
If I config poetry with this:
then uvloop disappear in lockfile:
it generate correct lock file with
uvicorn = { version = "^0.30.0", platform = 'linux', extras = ['standard'] }
, but I need uvicorn for developing on windows.Workarounds
add uvloop manully
Poetry Installation Method
pipx
Operating System
win32
Poetry Version
Poetry (version 1.8.3)
Poetry Configuration
doesn't matter
Python Sysconfig
Example pyproject.toml
No response
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: