Skip to content

Commit fb12b0b

Browse files
authored
Merge pull request #268 from pynbody/pynbody-2
Updates following pynbody v2 release
2 parents 5c5c15e + a7d7199 commit fb12b0b

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.github/workflows/build-test.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os: [ubuntu-latest]
20-
python-version: [3.9, "3.10", "3.11", "3.12"]
20+
python-version: ["3.10", "3.11", "3.12", "3.13"]
2121
sqlalchemy-version: ["2.0"]
22-
numpy-version: ["1.22", "1.26"]
22+
numpy-version: ["1.26", "2.0"]
2323
TANGOS_TESTING_DB_BACKEND: [sqlite, mysql+pymysql, postgresql+psycopg2]
2424
exclude:
25-
- python-version: "3.12"
26-
numpy-version: "1.22"
25+
- python-version: "3.13"
26+
numpy-version: "1.26"
2727

2828
runs-on: ${{ matrix.os }}
2929
env:

.github/workflows/integration-test.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: true
1616
matrix:
1717
os: [ubuntu-latest]
18-
python-version: ["3.10"]
18+
python-version: ["3.11"]
1919
TANGOS_TESTING_DB_BACKEND: [sqlite]
2020
runs-on: ${{ matrix.os }}
2121
env:
@@ -44,7 +44,7 @@ jobs:
4444
pip install -e .
4545
4646
- name: Install latest pynbody
47-
run: python -m pip install --pre pynbody
47+
run: python -m pip install pynbody
4848
# Or: python -m pip install git+https://github.com/pynbody/pynbody.git
4949

5050
- name: Install yt
@@ -62,7 +62,7 @@ jobs:
6262
- name: Verify database
6363
working-directory: test_tutorial_build
6464
run: |
65-
wget https://zenodo.org/record/12192344/files/reference_database.db?download=1 -O reference_database.db -nv
65+
wget https://zenodo.org/record/14889535/files/reference_database.db?download=1 -O reference_database.db -nv
6666
tangos diff data.db reference_database.db --property-tolerance dm_density_profile 1e-2 0 --property-tolerance gas_map 1e-2 0 --property-tolerance gas_map_sideon 1e-2 0 --property-tolerance gas_map_faceon 1e-2 0
6767
# --property-tolerance dm_density_profile here is because if a single particle crosses between bins
6868
# (which seems to happen due to differing library versions), the profile can change by this much

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
'pytest >= 5.0.0',
3232
'webtest >= 2.0',
3333
'pyquery >= 1.3.0',
34-
'pynbody >= 2.0.0-beta.8',
34+
'pynbody >= 2.0.0',
3535
'yt>=3.4.0',
3636
'PyMySQL>=1.0.2',
3737
]
@@ -73,6 +73,7 @@ def get_version(rel_path):
7373
"Programming Language :: Python :: 3.10",
7474
"Programming Language :: Python :: 3.11",
7575
"Programming Language :: Python :: 3.12",
76+
"Programming Language :: Python :: 3.13",
7677
"License :: OSI Approved :: BSD License",
7778
],
7879
author="Andrew Pontzen",

tangos/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
from .core import *
1212
from .query import *
1313

14-
__version__ = '1.9.3-beta'
14+
__version__ = '1.10.0'

0 commit comments

Comments
 (0)