diff --git a/.cruft.json b/.cruft.json index 8b0c480..82c636c 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,12 +1,12 @@ { "template": "https://github.com/sunpy/package-template", - "commit": "7958151d0246956f1e95889e8e3fa5abc4a3a129", + "commit": "bea8060eef60df35f7df61d9db1d56b838bda01a", "checkout": null, "context": { "cookiecutter": { "package_name": "streamtracer", "module_name": "streamtracer", - "short_description": "Python wrapped fortran to calculate streamlines", + "short_description": "Python library to calculate streamlines", "author_name": "The SunPy Developers", "author_email": "sunpy@googlegroups.com", "project_url": "https://sunpy.org", @@ -17,7 +17,7 @@ "changelog_url": "https://docs.sunpy.org/projects/streamtracer/en/stable/whatsnew/changelog.html", "issue_tracker_url": "https://github.com/sunpy/streamtracer/issues", "license": "GNU GPL v3+", - "minimum_python_version": "3.10", + "minimum_python_version": "3.12", "use_compiled_extensions": "n", "enable_dynamic_dev_versions": "n", "include_example_code": "n", @@ -32,7 +32,7 @@ ".github/workflows/sub_package_update.yml" ], "_template": "https://github.com/sunpy/package-template", - "_commit": "7958151d0246956f1e95889e8e3fa5abc4a3a129" + "_commit": "bea8060eef60df35f7df61d9db1d56b838bda01a" } }, "directory": null diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8675992..bbfba16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: coverage: codecov toxdeps: tox-pypi-filter envs: | - - linux: py314 + - linux: py313 secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} @@ -67,13 +67,13 @@ jobs: coverage: codecov toxdeps: tox-pypi-filter envs: | - - windows: py311 + - linux: py314 + - windows: py312 - macos: py312 - - linux: py310-oldestdeps - - linux: py312 - runs-on: ubuntu-24.04-arm - - linux: py313-devdeps + - linux: py312-oldestdeps + - linux: py314-devdeps - linux: py313 + runs-on: ubuntu-24.04-arm secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} @@ -108,12 +108,12 @@ jobs: test_command: 'pytest -p no:warnings --doctest-rst --pyargs streamtracer' submodules: false targets: | - - cp3{10,11,12,13,14}-manylinux_x86_64 - - cp3{10,11,12,13,14}-musllinux_x86_64 - - cp3{10,11,12,13,14}-macosx_x86_64 - - cp3{10,11,12,13,14}-macosx_arm64 - - cp3{10,11,12,13,14}-win_amd64 - - target: cp3{10,11,12,13,14}-manylinux_aarch64 + - cp3{12,13,14}-manylinux_x86_64 + - cp3{12,13,14}-musllinux_x86_64 + - cp3{12,13,14}-macosx_x86_64 + - cp3{12,13,14}-macosx_arm64 + - cp3{12,13,14}-win_amd64 + - target: cp3{12,13,14}-manylinux_aarch64 runs-on: ubuntu-24.04-arm secrets: pypi_token: ${{ secrets.pypi_token }} diff --git a/.ruff.toml b/.ruff.toml index e3927b8..c5b9068 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -34,8 +34,6 @@ select = [ extend-ignore = [ # pycodestyle (E, W) "E501", # ignore line length will use a formatter instead - # pyupgrade (UP) - "UP038", # Use | in isinstance - not compatible with models and is slower # pytest (PT) "PT001", # Always use pytest.fixture() "PT023", # Always use () on pytest decorators diff --git a/README.md b/README.md deleted file mode 100644 index 75024f9..0000000 --- a/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# streamtracer - -Fast streamline tracing in python - -[![Documentation Status](https://readthedocs.org/projects/streamtracer/badge/?version=stable)](https://docs.sunpy.org/projects/streamtracer/en/stable/?badge=stable) -[![Build Status](https://github.com/sunpy/streamtracer/actions/workflows/ci.yml/badge.svg)](https://github.com/sunpy/streamtracer/actions/workflows/ci.yml) -[![codecov](https://codecov.io/gh/sunpy/streamtracer/graph/badge.svg?token=4AzS0q7VPY)](https://codecov.io/gh/sunpy/streamtracer) - -## Documentation - -For full documentation, including installation instructions, see -https://docs.sunpy.org/projects/streamtracer diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..d25772c --- /dev/null +++ b/README.rst @@ -0,0 +1,18 @@ +streamtracer +============ + +Fast streamline tracing in python + +|Documentation Status| |Build Status| |codecov| + +Documentation +------------- + +For full documentation, including installation instructions, see https://docs.sunpy.org/projects/streamtracer + +.. |Documentation Status| image:: https://readthedocs.org/projects/streamtracer/badge/?version=stable + :target: https://docs.sunpy.org/projects/streamtracer/en/stable/?badge=stable +.. |Build Status| image:: https://github.com/sunpy/streamtracer/actions/workflows/ci.yml/badge.svg + :target: https://github.com/sunpy/streamtracer/actions/workflows/ci.yml +.. |codecov| image:: https://codecov.io/gh/sunpy/streamtracer/graph/badge.svg?token=4AzS0q7VPY + :target: https://codecov.io/gh/sunpy/streamtracer diff --git a/pyproject.toml b/pyproject.toml index 718435a..8876800 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,9 +7,9 @@ build-backend = "maturin" [project] name = "streamtracer" description = "Python library to calculate streamlines" -readme = { file = "README.md", content-type = "text/markdown" } +requires-python = ">=3.12" +readme = { file = "README.rst", content-type = "text/x-rst" } license = { file = "LICENSE" } -requires-python = ">=3.10" authors = [ {name = "The SunPy Developers", email="sunpy@googlegroups.com"}, {name = "David Stansby"}, diff --git a/tox.ini b/tox.ini index e079227..40c770a 100644 --- a/tox.ini +++ b/tox.ini @@ -3,9 +3,9 @@ min_version = 4.0 requires = tox-pypi-filter>=0.14 envlist = - py{310,311,312,313} - py312-devdeps - py310-oldestdeps + py{312,313,314} + py314-devdeps + py312-oldestdeps codestyle build_docs