-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
python-poetry/poetry-core
#891Labels
area/error-handlingBad error messages/insufficient error handlingBad error messages/insufficient error handlingkind/bugSomething isn't working as expectedSomething isn't working as expected
Description
Description
The transformers library has the optax package as a dependency that dependency is written down as "optax ()" in the poetry lock. Deleting and regenerating the solution results into the same state. The initial update passes but there is no followup with that poetry.lock possible.
Workarounds
No workaround found. Waiting with dep update.
Poetry Installation Method
pipx
Operating System
Windows
Poetry Version
2.2.1
Poetry Configuration
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=2.2.0"]Python Sysconfig
sysconfig.log
poetry update
Could not parse version constraint: <empty>
Paste the output of 'python -m sysconfig', over this line.
Example pyproject.toml
cache-dir = "D:\\poetry-cache"
data-dir = "C:\\Users\\...\\AppData\\Roaming\\pypoetry"
installer.max-workers = null
installer.no-binary = null
installer.only-binary = null
installer.parallel = true
installer.re-resolve = true
keyring.enabled = true
python.installation-dir = "{data-dir}\\python" # C:\Users\...\AppData\Roaming\pypoetry\python
repositories.pytorch-gpu-src.url = "https://download.pytorch.org/whl/cu128"
requests.max-retries = 0
solver.lazy-wheel = true
system-git-client = false
virtualenvs.create = true
virtualenvs.in-project = null
virtualenvs.options.always-copy = false
virtualenvs.options.no-pip = false
virtualenvs.options.system-site-packages = false
virtualenvs.path = "{cache-dir}\\virtualenvs" # D:\poetry-cache\virtualenvs
virtualenvs.prompt = "{project_name}-py{python_version}"
virtualenvs.use-poetry-python = falsePoetry Runtime Logs
poetry-runtime.log
Paste the output of 'poetry -vvv <command>', over this line.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/error-handlingBad error messages/insufficient error handlingBad error messages/insufficient error handlingkind/bugSomething isn't working as expectedSomething isn't working as expected