poetry lock/export wrong with sys_platform (works fine on ver 1.0.10)
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
- OS version and name: Ubuntu 20.04
- Poetry version: 1.1.2 & 1.0.10
- pyproject.toml
[tool.poetry]
name = "testpoetry-pywin32"
version = "0.1.0"
description = ""
authors = []
[tool.poetry.dependencies]
python = "~3.8"
azureml-widgets = "1.15.0"
azureml-dataset-runtime = "^1.15.0"
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
Issue
run poetry lock
then poetry export --without-hashes
version 1.0.10
pywin32==228; sys_platform == "win32" and python_version >= "3.6" or platform_system == "Windows" or sys_platform == "win32"
version 1.1.0 & above
pywin32==228
pywin32==228; platform_system == "Windows"
pywin32==228; sys_platform == "win32"
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Poetry Foundation
Poems, readings, poetry news and the entire 100-year archive of POETRY magazine.
Read more >Song of Myself (1892 version) by Walt Whitman
I celebrate myself, and sing myself,. And what I assume you shall assume,. For every atom belonging to me as good belongs to...
Read more >Browse Poems | Poetry Foundation
Explore Poems · Topics · Forms · School/Period · Poet's Region.
Read more >The Waste Land by T. S. Eliot - Poetry Foundation
April is the cruellest month, breeding. Lilacs out of the dead land, mixing. Memory and desire, stirring. Dull roots with spring rain. Winter...
Read more >Emily Dickinson | Poetry Foundation
Like the Concord Transcendentalists whose works she knew well, ... Austin Dickinson gradually took over his father's role: He too became the citizen...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I am still able to reproduce this issue with Poetry 1.1.4. I used the following
pyproject.toml
on both Windows and in thepython:3.7
Docker image. After locking I can see the right data inpoetry.lock
. But when exporting all of a sudden it removes the platform limitations.And this is the export result:
If I revert to Poetry 1.1.3, it works fine.
The same on version 1.1.7 in docker (but not reproduced on bare linux host)