-
Notifications
You must be signed in to change notification settings - Fork 249
1.112.0 broken with missin 8000 g Python dependencies #4832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@automartin5000 What file are you looking at here? I can see the corrects deps in the wheel metadata file 🤔 |
@mrgrain poetry.lock |
This seems to still work $ cdk init app -l python
...
$ source .venv/bin/activate
$ pip install -r requirements.txt
...
$ cdk synth -q
$ pip show jsii
Name: jsii
Version: 1.112.0 |
@automartin5000 I cannot reproduce this: ➜ poetry-demo poetry --version
Poetry (version 1.8.3)
➜ poetry-demo poetry show jsii
name : jsii
version : 1.112.0
description : Python client for jsii runtime
dependencies
- attrs >=21.2,<26.0
- cattrs >=1.8,<24.2
- importlib_resources >=5.2.0
- publication >=0.0.3
- python-dateutil *
- typeguard >=2.13.3,<4.5.0
- typing_extensions >=3.8,<5.0
|
Hm, ok, I ran into this after a colleague had this issue. I suppose it could be an issue with our custom project type, though not sure how. Let me see if I can reproduce outside of it. |
Marking as a |
Just a quick update: no one else can replicate so I'm thinking it's something machine specific. So I'll close for now. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
I'm not entirely clear how, but #4826 or maybe #4827 appears to have broken JSII for Python installations. It appears to not have any dependencies included.
Here's what the lock file looks like for 1.111.0:

And here's what it looks like for 1.112.0:

Regression Issue
Expected Behavior
JSII executes correctly in Python environments.
Current Behavior
ModuleNotFoundError: No module named 'importlib_resources'
when executing a JSII app.Reproduction Steps
Install an app with JSII 1.111.0, no issues. Upgrade to 1.112.0, get above error.
Possible Solution
Revert #4826 and/or #4827
Additional Information/Context
No response
SDK version used
1.112.0
Environment details (OS name and version, etc.)
Mac OS Latest
The text was updated successfully, but these errors were encountered: