Skip to content

Commit

Permalink
Drop Python 3.7, fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Nov 29, 2023
1 parent ed94e52 commit 12c24a4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: |
cd ..
python -m venv testenv
testenv/bin/pip install pytest-astropy ci-watson stginga_refactor/dist/*.whl
testenv/bin/pip install pytest-astropy ci-watson stginga/dist/*.whl
testenv/bin/python -c "import stginga; stginga.test()"
- name: Publish distribution 📦 to PyPI
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ Bug Fixes
Other Changes and Additions
^^^^^^^^^^^^^^^^^^^^^^^^^^^

- This version requires Python 3.8 or later.
- Keeping the code up-to-date with new upstream changes.
- Universal wheel for PyPI release.
- Astroconda is no longer supported.

1.3 (2021-06-11)
----------------
Expand Down
13 changes: 4 additions & 9 deletions docs/stginga/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,16 @@ Installation

``stginga`` requires:

* Python 3.7 or later
* Astropy 3.0 or later
* SciPy 0.18 or later
* Ginga 2.7 or later, see
`Ginga's documentation <https://ginga.readthedocs.io/>`_
* Python 3.8 or later
* Astropy
* SciPy
* Ginga, see `Ginga's documentation <https://ginga.readthedocs.io/>`_

We suggest using `Miniconda <https://docs.conda.io/en/latest/miniconda.html>`_ as a
Python distribution that is known to work with ``stginga``::

conda install stginga -c conda-forge

or::

conda install stginga -c http://ssb.stsci.edu/astroconda

Alternately, ``stginga`` 0.3 and beyond is also available on PyPI::

pip install stginga
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[build-system]
requires = ["setuptools>=30.3.0",
"setuptools_scm",
"wheel"]
"setuptools_scm"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
7 changes: 2 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[tool:pytest]
addopts = --doctest-ignore-import-errors
minversion = 5
minversion = 6
testpaths = "stginga" "docs"
norecursedirs = build docs/_build
astropy_header = true
Expand Down Expand Up @@ -34,14 +33,12 @@ classifiers =
[options]
packages = find:
zip_safe = False
setup_requires =
setuptools_scm
install_requires =
numpy
astropy>=3
ginga>=2.7
scipy>=0.18
python_requires = >=3.7
python_requires = >=3.8

[options.extras_require]
test =
Expand Down

0 comments on commit 12c24a4

Please sign in to comment.