-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): upgrade project dependencies
Upgrade all project dependencies.
- Loading branch information
1 parent
2c69085
commit e18e66a
Showing
4 changed files
with
79 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools~=70.3.0", | ||
"setuptools~=75.2.0", | ||
"setuptools_scm[toml]~=8.1.0", | ||
] | ||
|
||
|
@@ -24,7 +24,7 @@ classifiers = [ | |
] | ||
dependencies = [ | ||
"typing-extensions>=4.12.2", | ||
"sghi-commons @ git+https://github.com/savannahghi/[email protected].0", | ||
"sghi-commons @ git+https://github.com/savannahghi/[email protected].1", | ||
] | ||
description = "API specification for components of a simple ETL workflow." | ||
dynamic = ["version"] | ||
|
@@ -40,33 +40,33 @@ requires-python = ">=3.11" # Support Python 3.10+. | |
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"pre-commit~=3.7.1", | ||
"pre-commit~=4.0.1", | ||
] | ||
|
||
docs = [ | ||
"furo==2024.5.6", | ||
"jaraco.packaging~=10.2.2", | ||
"furo==2024.8.6", | ||
"jaraco.packaging~=10.2.3", | ||
"rst.linker~=2.6.0", | ||
"Sphinx~=7.3.7", | ||
"Sphinx~=8.1.3", | ||
"sphinx-favicon~=1.0.1", | ||
"sphinx-hoverxref~=1.4.0", | ||
"sphinx-hoverxref~=1.4.1", | ||
"sphinx-inline-tabs~=2023.4.21", | ||
"sphinx-lint~=0.9.1", | ||
"sphinx-notfound-page~=1.0.2", | ||
"sphinx-lint~=1.0.0", | ||
"sphinx-notfound-page~=1.0.4", | ||
] | ||
|
||
test = [ | ||
"coverage~=7.6.0", | ||
"coverage~=7.6.4", | ||
"coveralls~=4.0.1", | ||
"packaging", | ||
"pyright>=1.1.371", | ||
"pytest~=8.2.2", | ||
"pyright>=1.1.386", | ||
"pytest~=8.3.3", | ||
"pytest-cov~=5.0.0", | ||
"pytest-forked~=1.6.0", | ||
"pytest-sugar~=1.0.0", | ||
"pytest-xdist~=3.6.1", | ||
"ruff~=0.5.1", | ||
"tox~=4.16.0", | ||
"ruff~=0.7.1", | ||
"tox~=4.23.2", | ||
"tox-gh-actions~=3.2.0", | ||
] | ||
|
||
|
@@ -279,6 +279,63 @@ where = ["src"] | |
root = "." | ||
|
||
[tool.tox] | ||
env_list = ["{py311, py312, py313}", "coveralls", "docs", "package"] | ||
isolated_build = true | ||
requires = ["tox>=4.16", "tox-uv>=1.15.0"] | ||
no_package = false | ||
skip_missing_interpreters = true | ||
|
||
[tool.tox.env_run_base] | ||
# allowlist_externals = ["uv"] | ||
commands = [ | ||
["ruff", "check", "."], | ||
["ruff", "format", "--check", "."], | ||
["pyright", "."], | ||
["coverage", "erase"], | ||
["pytest", { replace = "posargs", default = ["."], extend = true}], | ||
["coverage", "html"], | ||
] | ||
deps = ["."] | ||
description = "test and lint the project" | ||
download = true | ||
extras = ["test"] | ||
set_env ={ PYTHONPATH = "{toxinidir}/src", PYRIGHT_PYTHON_FORCE_VERSION = "latest" } | ||
|
||
[tool.tox.env.coveralls] | ||
# If running outside Github, ensure that the the `COVERALLS_REPO_TOKEN` | ||
# environment variable is set. | ||
commands = [["coveralls", "--service=github"]] | ||
description = "submit coverage results to coverall.io" | ||
extras = ["test"] | ||
pass_env = ["COVERALLS_REPO_TOKEN", "GITHUB_*"] | ||
|
||
[tool.tox.env.docs] | ||
changedir = "docs" | ||
commands = [ | ||
["sphinx-build", "-EW", "--keep-going", "-b", "html", ".", "{toxinidir}/docs/build/html"], | ||
["sphinx-lint", "-i", "api"] | ||
] | ||
description = "build sphinx documentation" | ||
extras = ["docs"] | ||
|
||
[tool.tox.env.package] | ||
commands = [ | ||
["python", "-c", "import shutil; shutil.rmtree('dist', ignore_errors=True)"], | ||
["python", "-m", "build"] | ||
] | ||
depends = ["testenv"] | ||
deps = ["build"] | ||
description = "build the library" | ||
skip_install = true | ||
|
||
[tool.tox.gh-actions] | ||
python = """ | ||
3.11: py311 | ||
3.12: py312, coveralls, docs, package | ||
3.13: py313 | ||
""" | ||
|
||
[tool.tox1] | ||
legacy_tox_ini = """ | ||
[tox] | ||
env_list = {py311, py312}, coveralls, docs, package | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters