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
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# See the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
commit-message:
prefix: "MAINT"
17 changes: 16 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,22 @@ dependencies = [
]

[project.optional-dependencies]
dev = ["pytest>=7", "hypothesis>=6", "ruff>=0.4"]
test = [
"pytest>=7",
"hypothesis>=6",
"ruff>=0.4",
]
docs = [
"sphinx",
"sphinx-rtd-theme",
"numpydoc",
"sphinx-copybutton",
]
release = [
"build",
"twine",
]
dev = ["spectroplot[docs, test, release]"]

[project.scripts]
spectroplot = "spectroplot:main"
Expand Down
18 changes: 18 additions & 0 deletions requirements/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Pinned Requirements
===================

The requirements in this folder are pinned to specific versions to allow recreating
a specific build. This is useful in cases such as building documentation on readthedocs
or for debugging since this specific build is known to work on both Windows and Linux
with python 3.10.

If you only want to install all of the development dependencies for spectroplot, it is
recommended to instead use:

.. code-block:: console

pip install spectroplot[dev]

or clone the repository by following the
`installation guide <https://spectroplot.readthedocs.io/en/latest/contributing.html#setting-up-development-environment>`_
in the documentation.
13 changes: 13 additions & 0 deletions requirements/requirements-development.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-r requirements.txt
-r requirements-documentation.txt

# for linting
ruff==0.15.20

# for testing
pytest==9.0.3
hypothesis==6.155.7

# for creating releases
build==1.2.2
twine==6.1.0
6 changes: 6 additions & 0 deletions requirements/requirements-documentation.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-r requirements.txt

sphinx==8.2.3
sphinx-rtd-theme==3.0.2
numpydoc==1.8.0
sphinx-copybutton==0.5.2
5 changes: 5 additions & 0 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
numpy==2.3.5
pandas==2.3.3
matplotlib==3.10.7
seaborn==0.13.2
scipy==1.17.1
Loading