diff --git a/.github/workflows/test_install.yml b/.github/workflows/test_install.yml index 1217378..8268a5a 100644 --- a/.github/workflows/test_install.yml +++ b/.github/workflows/test_install.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.9, "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 @@ -27,13 +27,13 @@ jobs: echo $CONDA/bin >> $GITHUB_PATH - name: Install conda and dependencies run: | - conda install numpy scipy sqlalchemy pip pytest pytest-cov codecov coverage + conda install -y -c conda-forge python=${{ matrix.python-version }} "numpy>=2" "scipy>=1.13" conda info conda list - name: Install python library, run tests run: | cd python - pip install . + pip install .[all] cd tests python -m pytest --cov=xraydb --cov-report=xml - name: upload coverage report to codecov diff --git a/python/pyproject.toml b/python/pyproject.toml index 5b3402f..6ddb83b 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -26,7 +26,7 @@ addopts = "--cov=xraydb --cov-report html" [project] name = "xraydb" version = "4.5.8" -requires-python = ">= 3.9" +requires-python = ">= 3.10" description = "calculations with XrayDB: reference data for X-ray interactions with matter" readme = "README.md" authors = [ @@ -39,7 +39,6 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -48,8 +47,8 @@ classifiers = [ ] dependencies = [ - "numpy>=1.19", - "scipy>=1.6", + "numpy>=2", + "scipy>=1.13", "sqlalchemy>=2.0.1", "platformdirs", ]