Closed SamuelBucheliZ closed 3 months ago
PR https://github.com/aws/jsii/pull/4554 seems to address the issue?
PR #4554 seems to address the issue?
Yes. Will close this once the release is out.
Release PR is out: https://github.com/aws/jsii/pull/4556
jsii-pacmak@1.101.0 is released (still verifying the fix really does work with some package)
Verified this release fix the issue. Closing.
Thanks to @SamuelBucheliZ for reporting this.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Describe the bug
twine version 5.1.0 has been yanked (see https://pypi.org/project/twine/5.1.0/ ). More details in https://github.com/pypa/twine/issues/1125
However, version 5.1.0 is hardcoded in https://github.com/aws/jsii/blob/a32eb911e55d0c508df0d13cbd6a48dbb43415e4/packages/jsii-pacmak/lib/targets/python/requirements-dev.txt#L9
This leads to errors when publishing to PyPI with jsii-pacmak, e.g., in projen projects.
See also https://github.com/projen/projen/issues/3674
Expected Behavior
jsii-pacmak uses a twine version that is available or makes it possible to override/configure the used twine version in order to deal with scenarios where a version is yanked.
Current Behavior
The publish step in projen using jsii-pacmak fails, because twine 5.1.0 has been yanked
Reproduction Steps
yarn build
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.100.0
Environment details (OS name and version, etc.)
Linux 5688aa804527 6.6.22-linuxkit #1 SMP Fri Mar 29 12:21:27 UTC 2024 x86_64 GNU/Linux