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
14 changes: 9 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
python-version: '3.10'
- os: 'ubuntu-22.04'
python-version: '3.11'
- os: 'ubuntu-22.04'
python-version: '3.12'
steps:
- name: Check out repository
uses: actions/checkout@v2
Expand All @@ -37,11 +39,13 @@ jobs:
pip install coveralls
poetry install
- name: Run tests
run: poetry run coverage run -m pytest
run: |
poetry run coverage run -m pytest
poetry run coverage xml
- name: Coveralls report
run: coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: coverallsapp/github-action@v2
with:
parallel: true

publish_to_pypi:
# Only run this job if the run_tests job has succeeded, and if
Expand All @@ -55,7 +59,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ v.0.4.11 - Add hour angle type target
v.0.4.12 - Add zenith blind spot support
v.0.5.1 - First release as ocs-rise-set
v.0.5.2 - Added max moon_phase constraint support
v.0.6.4 - Support for python 3.12 and numpy > 1.23, Drop support for python 3.8
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This library provides Python routines for finding the positions of astronomical

## Prerequisites

- Python >= 3.7
- Python >= 3.9
- Ability to compile fortran (gfortran installed)

## Installation
Expand Down
329 changes: 188 additions & 141 deletions poetry.lock

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ocs-rise-set"
version = "0.6.3"
version = "0.6.4"
description = "Routines for accurate rise/set/transit calculations"
authors = ["Eric Saunders <esaunders@lcogt.net>"]
readme = "README.md"
Expand All @@ -12,14 +12,12 @@ classifiers = [
]

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
python = ">=3.9,<3.13"
future = "^0.18.3"
pyslalib = "1.0.9"
pyslalib = "^1.0.10"

[tool.poetry.group.dev.dependencies]
mock = "^5.0.1"
nose = "^1.3.7"
nosexcover = "^1.0.11"
coverage = "^7.2.3"
pytest = "^7.3.0"

Expand Down
Loading