Skip to content

Commit

Permalink
adds Python 3.14 support
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamalligator committed Nov 28, 2024
1 parent 1eebc7d commit 6d308c9
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- '3.11'
- '3.12'
- '3.13'
- '3.14'
steps:
- uses: actions/checkout@v4
- run: pip install numpy pytest
Expand Down
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ Documentation
View the docs at `dreamalligator.github.io/vondrak <https://dreamalligator.github.io/vondrak>`_, or generate with ``make html`` in the ``docs`` folder.

Development
=====
Setup a conda environment by simply running ``conda env create --file environment.yml`` and activate by ``conda activate vondrak``
===========

Setup a conda environment by simply running ``conda env create --file environment.yml`` and activate by ``conda activate vondrak``.

Tests
=====
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ name: vondrak
channels:
- conda-forge
dependencies:
- python<3.14 # max current support 3.13
- python<3.15 # max current support 3.14
- numpy
- pytest
8 changes: 8 additions & 0 deletions scripts/setup_dev
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ sudo apt install -y \
#
# source .venv/bin/activate
#
# 4. install editable vondrak for development
#
# pip install -r requirements.txt
#
# 5. run tests
#
# pytest -vv
#
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Topic :: Scientific/Engineering :: Astronomy'
],
tests_require=['pytest'])
2 changes: 1 addition & 1 deletion vondrak/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from numpy import array, sin, cos, sqrt, append
import math

__version__ = '1.1.0'
__version__ = '1.1.1'

# 2Pi
TAU = 6.283185307179586476925287e0
Expand Down

0 comments on commit 6d308c9

Please sign in to comment.