-
Notifications
You must be signed in to change notification settings - Fork 43
Updates #37
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
Updates #37
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -5,12 +5,12 @@ build-backend = "setuptools.build_meta" | |||||||||||||||||
| [project] | ||||||||||||||||||
| dynamic = ["version"] | ||||||||||||||||||
| name = "keras2c" | ||||||||||||||||||
| requires-python = ">=3.7" | ||||||||||||||||||
| requires-python = ">=3.7, <=3.12" | ||||||||||||||||||
|
||||||||||||||||||
| dependencies = [ | ||||||||||||||||||
| "tensorflow>=2.0", | ||||||||||||||||||
| "keras", | ||||||||||||||||||
| "numpy>=1.13.0", | ||||||||||||||||||
| "pydantic>=1.10,<2", | ||||||||||||||||||
| "numpy", | ||||||||||||||||||
| "pydantic", | ||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Pydantic v2 incompatibility due to removed version constraintThe Additional Locations (1)
Comment on lines
+12
to
+13
|
||||||||||||||||||
| "numpy", | |
| "pydantic", | |
| "numpy>=1.13.0", | |
| "pydantic>=1.10,<2", |
Copilot
AI
Dec 27, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing all version constraints from numpy and pydantic dependencies could lead to compatibility issues. While pydantic was previously constrained to <2, removing this constraint entirely may allow pydantic v2 to be installed, which has breaking changes from v1. Consider maintaining at least an upper bound constraint or testing compatibility with the latest versions before removing constraints entirely.
| "numpy", | |
| "pydantic", | |
| "numpy<2.0", | |
| "pydantic<2.0", |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,4 +4,3 @@ | |
| numpy >= 1.13.0 | ||
| tensorflow >= 2.0 | ||
| pydantic >= 1.10, <2 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| tensorflow>=2.0 | ||
| keras | ||
| numpy>=1.13.0 | ||
| pydantic<2,>=1.10 | ||
| numpy | ||
| pydantic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The step name "Set up Python 3.10" is misleading since the actual Python version being set up is dynamic based on the matrix variable. The name should be updated to reflect this, for example: "Set up Python ${{ matrix.python-version }}" or simply "Set up Python".