Skip to content

Commit

Permalink
fix: move direct dependency on differint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl committed Sep 1, 2024
1 parent b54e3b3 commit 662e726
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ pin: $(REQUIREMENTS) ## Pin dependencies versions to requirements.txt
.PHONY: pin

pip-install: ## Install pinned dependencies from requirements.txt
$(PYTHON) -m pip install --upgrade pip hatchling wheel
$(PYTHON) -m pip install -r requirements-dev.txt -e .
$(PYTHON) -m pip install --upgrade editables hatchling pip wheel
$(PYTHON) -m pip install -r requirements-git.txt
$(PYTHON) -m pip install -r requirements-dev.txt
$(PYTHON) -m pip install --verbose --editable .
.PHONY: pip-install

test: ## Run pytest tests
Expand Down
2 changes: 1 addition & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Dependencies

* Bumped minimum Python version to 3.10. This is a hard requirement, as it
comes with some changes to the typing syntax and other functions
(e.g. we make use of `zip(..., strict=True)`).
(e.g. we make use of ``zip(..., strict=True)``).

Features
^^^^^^^^
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ dependencies = [
"scipy>=1.7",
]
optional-dependencies.dev = [
"differint @ git+https://github.com/differint/differint.git#egg=differint",
"doc8",
"matplotlib",
"mypy",
Expand Down
3 changes: 0 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ contourpy==1.3.0
# via matplotlib
cycler==0.12.1
# via matplotlib
differint @ git+https://github.com/differint/differint.git@0c4b6ebe8c0d97fc3b3b95c65dbb0323e3a23591#egg=differint
# via pycaputo (pyproject.toml)
doc8==1.1.1
# via pycaputo (pyproject.toml)
docutils==0.20.1
Expand Down Expand Up @@ -78,7 +76,6 @@ numpy==2.1.0
# via
# pycaputo (pyproject.toml)
# contourpy
# differint
# matplotlib
# scipy
packaging==24.1
Expand Down
3 changes: 3 additions & 0 deletions requirements-git.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# NOTE: Put git dependencies here that cannot be in `pyproject.toml` (PyPI does
# not allow including direct dependencies like this)
git+https://github.com/differint/differint.git#egg=differint

0 comments on commit 662e726

Please sign in to comment.