-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dependency specifications for recent uv, avoiding nested workspaces
- Loading branch information
1 parent
59ff04d
commit 9d552a4
Showing
8 changed files
with
576 additions
and
617 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.5.2 | ||
0.5.20 |
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
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,9 +1,13 @@ | ||
[build-system] | ||
requires = ["flit_core==3.9.0"] | ||
requires = ["flit-core==3.9.0"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
[project] | ||
name = "boilercv" | ||
authors = [ | ||
{ name = "Blake Naccarato", email = "[email protected]" }, | ||
{ name = "Kwang Jin Kim" }, | ||
] | ||
version = "2024.1.3" | ||
description = "Computer vision routines suitable for nucleate pool boiling bubble analysis" | ||
readme = "README.md" | ||
|
@@ -18,7 +22,6 @@ classifiers = [ | |
# "Programming Language :: Python :: 3.14", # ? Not yet beta (https://peps.python.org/pep-0745) | ||
] | ||
dependencies = [ | ||
# TODO | ||
"context-models>=0.0.1", | ||
"matplotlib>=3.7.2", | ||
"numpy>=1.24.4", | ||
|
@@ -33,58 +36,50 @@ dependencies = [ | |
"netcdf4>=1.6.5", | ||
"netcdf4!=1.7.1.post1 ; sys_platform == 'linux'", | ||
] | ||
[project.optional-dependencies] | ||
# * Minimal CV flavor needed, but allow `boilercv` to coexist with different flavors | ||
cv = ["opencv-python>=4.10.0.84"] | ||
[project.urls] | ||
Changes = "https://softboiler.github.io/boilercv/changelog.html" | ||
Docs = "https://softboiler.github.io/boilercv" | ||
Home = "https://github.com/softboiler/boilercv" | ||
Tracker = "https://github.com/softboiler/boilercv/issues" | ||
[[project.authors]] | ||
name = "Blake Naccarato, Kwang Jin Kim" | ||
email = "[email protected]" | ||
|
||
[tool.uv] | ||
override-dependencies = ["cachier @ ${PROJECT_ROOT}/packages/cachier"] | ||
constraint-dependencies = [ | ||
# ? Security | ||
"fiona>=1.10.1", | ||
"setuptools>=70.0.0", | ||
# ? https://nvd.nist.gov/vuln/detail/CVE-2024-37891 | ||
# ? via sphinx | ||
"urllib3>=2.2.2", | ||
[project.optional-dependencies] | ||
# * Minimal CV flavor needed, but allow `boilercv` to coexist with different flavors | ||
cv = ["opencv-python>=4.10.0.84"] | ||
[dependency-groups] | ||
all = [ | ||
{ include-group = "packages" }, | ||
{ include-group = "dev" }, | ||
{ include-group = "docs" }, | ||
{ include-group = "tests" }, | ||
] | ||
dev-dependencies = [ | ||
# TODO | ||
"pycine @ git+https://github.com/ottomatic-io/pycine@815cfca06cafc50745a43b2cd0168982225c6dca", | ||
# ? Workspaces | ||
packages = [ | ||
"boilercine", | ||
"boilercore", | ||
"boilercv_pipeline", | ||
"context_models", | ||
"dev", | ||
# ? Path-sourced deps | ||
"boilercv-pipeline", | ||
"dev[docs,tests]", | ||
"cachier", | ||
# ? Dev | ||
"context-models", | ||
] | ||
dev = [ | ||
# TODO | ||
"pycine @ git+https://github.com/ottomatic-io/pycine@815cfca06cafc50745a43b2cd0168982225c6dca", | ||
"debugpy>=1.8.2", | ||
"dvc[gs]>=3.55.2", | ||
"fawltydeps>=0.16.0", | ||
"ipython>=8.26.0", | ||
"ipykernel>=6.29.4", | ||
"pandas-stubs~=2.2.2", | ||
"pipdeptree>=2.23.0", | ||
"pipx>=1.6.0", | ||
"pre-commit>=3.7.1", | ||
"pre-commit>=4.0.1", | ||
"pyright>=1.1.371", | ||
"ruff>=0.5.1", | ||
"rust-just>=1.36.0", | ||
"snakeviz>=2.2.0", | ||
"sourcery>=1.21.0", | ||
"towncrier>=23.11.0", | ||
# ? Docs | ||
] | ||
docs = [ | ||
"linkify-it-py>=2.0.3", | ||
"myst-nb>=1.1.1", | ||
"myst-parser>=3.0.1", | ||
"sphinx-autobuild>=2024.4.16", | ||
"sphinx-autodoc2>=0.5.0", | ||
"sphinx-book-theme>=1.1.3", | ||
|
@@ -95,30 +90,40 @@ dev-dependencies = [ | |
"sphinxcontrib-bibtex>=2.6.2", | ||
"sphinxcontrib-mermaid>=0.9.2", | ||
"sphinxcontrib-towncrier>=0.4.0a0", | ||
# ? Tests | ||
] | ||
tests = [ | ||
"pytest-cov>=5.0.0", | ||
"pytest-custom-exit-code>=0.3.0", | ||
"pytest-github-actions-annotate-failures>=0.2.0", | ||
"pytest-plt>=1.1.1", | ||
"pytest-xdist[psutil,setproctitle]>=3.6.1", | ||
] | ||
|
||
[tool.uv] | ||
default-groups = ["all"] | ||
constraint-dependencies = [ | ||
# ? Security | ||
"fiona>=1.10.1", | ||
"setuptools>=70.0.0", | ||
# ? https://nvd.nist.gov/vuln/detail/CVE-2024-37891 | ||
# ? via sphinx | ||
"urllib3>=2.2.2", | ||
] | ||
override-dependencies = ["cachier @ ${PROJECT_ROOT}/packages/cachier"] | ||
[tool.uv.pip] | ||
python-version = "3.11" | ||
all-extras = true | ||
[tool.uv.workspace] | ||
members = ["packages/*"] | ||
exclude = ["packages/cachier"] | ||
[tool.uv.sources] | ||
boilercine = { path = "packages/boilercine", editable = true } | ||
dev = { path = "packages/_dev", editable = true } | ||
boilercore = { path = "packages/boilercore", editable = true } | ||
boilercv-pipeline = { path = "packages/pipeline", editable = true } | ||
cachier = { path = "packages/cachier", editable = true } | ||
dev = { workspace = true } | ||
boilercine = { workspace = true } | ||
boilercore = { workspace = true } | ||
boilercv_pipeline = { workspace = true } | ||
context_models = { workspace = true } | ||
context-models = { path = "packages/context_models", editable = true } | ||
|
||
[tool.coverage.run] | ||
branch = true | ||
source = ["boilercv", "boilercv_pipeline", "dev", "tests"] | ||
source = ["dev", "boilercv-pipeline", "boilercv", "tests"] | ||
|
||
[tool.dev.env] | ||
COVERAGE_CORE = "sysmon" | ||
|
Oops, something went wrong.