Skip to content

Commit

Permalink
loosen scipy and numpy version restrictions, and make scipy optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenham committed Oct 18, 2024
1 parent bd342a3 commit 229947f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
5 changes: 4 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 19 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,45 @@ build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]

[tool.poetry]
name = "scipy-stubs"
description = "Typing Stubs for SciPy"
version = "1.14.1.1.dev0"
authors = ["Joren Hammudoglu <[email protected]>"]
license = "BSD-3-Clause"
readme = "README.md"
packages = [{include = "scipy-stubs"}]
classifiers = [
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Typing :: Stubs Only",
"Typing :: Typed",
]
description = "Typing Stubs for SciPy"
documentation = "https://github.com/jorenham/scipy-stubs?tab=readme-ov-file#scipy-stubs"
license = "BSD-3-Clause"
name = "scipy-stubs"
packages = [{include = "scipy-stubs"}]
readme = "README.md"
repository = "https://github.com/jorenham/scipy-stubs/"
version = "1.14.1.1.dev0"
documentation = "https://github.com/jorenham/scipy-stubs?tab=readme-ov-file#scipy-stubs"

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/jorenham/scipy-stubs/issues"
"Changelog" = "https://github.com/jorenham/scipy-stubs/releases"
Issues = "https://github.com/jorenham/scipy-stubs/issues"
Changelog = "https://github.com/jorenham/scipy-stubs/releases"
Funding = "https://github.com/sponsors/jorenham"

[tool.poetry.extras]
scipy = ["scipy"]

[tool.poetry.dependencies]
python = "^3.10.1"
numpy = ">=1.25"
scipy = ">=1.14.1"
optype = "^0.6.1"

[tool.poetry.group.lint.dependencies]
basedmypy = "^2.6.0"
basedpyright = "^1.19.0"
ruff = "^0.7.0"
scipy = {version = ">=1.10", optional = true}

[tool.poetry.group.dev.dependencies]
scipy = "1.14.1"
poethepoet = "^0.29.0"
pre-commit = "^4.0.1"
tox = "^4.23.0"

[tool.poetry.group.lint.dependencies]
basedmypy = "^2.6.0"
basedpyright = "^1.19.0"
ruff = "^0.7.0"

[tool.poetry.group.codegen]
optional = true
Expand Down

0 comments on commit 229947f

Please sign in to comment.