Skip to content

Commit

Permalink
Add Python 3.10 and 3.12 compatibility requirements to check Numpy2 +…
Browse files Browse the repository at this point in the history
… Pandas1 support and update build workflow
  • Loading branch information
G-D-Petrov committed Jan 8, 2025
1 parent 16d1629 commit 494f983
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,24 @@ jobs:
- ${{fromJson(needs.common_config.outputs.linux_matrix)[0]}}
- python_deps_id: -compat38
python_deps: requirements-compatibility-py38.txt
- python3: 10
python_deps_ids: ["", -compat310]
matrix_override:
- ${{fromJson(needs.common_config.outputs.linux_matrix)[0]}}
- python_deps_id: -compat310
python_deps: requirements-compatibility-py310.txt
- python3: 11
python_deps_ids: ["", -compat311]
matrix_override:
- ${{fromJson(needs.common_config.outputs.linux_matrix)[0]}}
- python_deps_id: -compat311
python_deps: requirements-compatibility-py311.txt
- python3: 12
python_deps_ids: ["", -compat312]
matrix_override:
- ${{fromJson(needs.common_config.outputs.linux_matrix)[0]}}
- python_deps_id: -compat312
python_deps: requirements-compatibility-py312.txt
name: 3.${{matrix.python3}} Linux
uses: ./.github/workflows/build_steps.yml
secrets: inherit
Expand Down
3 changes: 3 additions & 0 deletions build_tooling/requirements-compatibility-py310.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Makes sure we are able to use Numpy 2+ and Pandas 1
numpy>=2
pandas<2
3 changes: 3 additions & 0 deletions build_tooling/requirements-compatibility-py312.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Makes sure we are able to use Numpy 2+ and Pandas 1
numpy>=2
pandas<2

0 comments on commit 494f983

Please sign in to comment.