Skip to content
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

Explicitly set python 3.10 in ci_tests and cd_docs in gitub workflows. #874

Merged
merged 4 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cd_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python 3.9
- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.10"

- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ on: [push]

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"


# We do not install rdflib0-dev here, since we want to test
# DLite both with and without rdflib (Redland) support and the
# case with rdflib is already covered by the ci_build_wheel
Expand Down
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def build_extension(self, ext: CMakeExtension) -> None:
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires="numpy",
install_requires="numpy>=1.14.5,<1.27.0",
#install_requires=requirements,
#extras_require=extra_requirements,
packages=["dlite"],
Expand Down