aws / aws/jsii

Update Python dependencies (typeguard)

Open
#4,999 13 comments 12 reactions 0 assignees View on GitHub
p1
Dominant language
TypeScript
Stars
2.9k
Forks
267
Avg merge
1d 25m
Merged PRs (30d)
14

Description

Hey!
I'm not sure about how you manage python dependencies.
I'm working on a project using glue Python shell scripts.
Trying to add Pandera to validate Pandas DFs, my dependency manager (poetry) shows:

```
Because no versions of pandera match >0.18.0,<0.19.0
and pandera (0.18.0) depends on typeguard (>=3.0.2), pandera (>=0.18.0,<0.19.0) requires typeguard (>=3.0.2).
And because constructs (10.3.0) depends on typeguard (>=2.13.3,<2.14.0)
and no versions of constructs match >10.3.0,<11.0.0, pandera (>=0.18.0,<0.19.0) is incompatible with constructs (>=10.3.0,<11.0.0).
So, because testglue depends on both constructs (^10.3.0) and pandera (^0.18.0), version solving failed.
```

That version of Typeguard is quite old (currently 4.x)

Is it possible to use updated dependencies?
thx!

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the Python dependency definitions and the constraints for constructs and typeguard, then reproduce the Poetry resolution described in the issue. Done means the dependency set can resolve while supporting the requested Pandera version.

Written by the indexing model from the issue text.

Assessment

Tech stack
pandas, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.