Skip to content
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
6 changes: 3 additions & 3 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 3 additions & 4 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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",
Expand All @@ -48,8 +47,8 @@ classifiers = [
]

dependencies = [
"numpy>=1.19",
"scipy>=1.6",
"numpy>=2",
"scipy>=1.13",
"sqlalchemy>=2.0.1",
"platformdirs",
]
Expand Down
Loading