Skip to content

Commit

Permalink
Pin pyyaml-include for now copier-org/copier#1568
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Apr 1, 2024
1 parent 35aaa57 commit 6164aa2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 22 deletions.
1 change: 0 additions & 1 deletion docs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,4 @@ ignore_unused = [
"sphinxcontrib-mermaid",
]
[tool.fawltydeps.custom_mapping]
boilercore = ["boilercore"]
ipykernel = ["IPython"]
9 changes: 5 additions & 4 deletions pipeline/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies = [
"opencv-python-headless>=4.9.0.80",
"pandas[hdf5,performance]>=2.0.2",
"ploomber-engine>=0.0.30",
"pyarrow>=14.0.1",
"pydantic>=2",
"scikit-image>=0.21.0",
"scipy>=1.11.1",
Expand All @@ -38,7 +39,7 @@ ignore_undeclared = [
"boilercv_tests",
"boilercv",
]
ignore_unused = ["dvc"]
[tool.fawltydeps.custom_mapping]
boilercv = ["boilercv"]
boilercore = ["boilercore"]
ignore_unused = [
"dvc", # Core dependency for reproducing the pipeline
"pyarrow", # Used in `boilercv.__init__`
]
6 changes: 0 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ dependencies = [
"numpy>=1.24.4",
"pandas[hdf5,performance]>=2.0.2",
"pillow>=10.0.0",
"pyarrow>=14.0.1",
"pyqtgraph>=0.13.3",
"pyside6>=6.5.2",
"pytz>=2023.3",
Expand All @@ -39,11 +38,6 @@ email = "[email protected]"
[tool.fawltydeps]
deps = ["pyproject.toml"]
code = ["src"]
ignore_unused = [
"pyarrow", # Used in `boilercv.__init__`
]
[tool.fawltydeps.custom_mapping]
boilercore = ["boilercore"]

[tool.pytest.ini_options]
addopts = '''
Expand Down
3 changes: 3 additions & 0 deletions requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
--editable scripts/
--editable tests/
--editable submodules/boilercore
copier==9.1.1
pyyaml-include==1.4.1 # ! https://github.com/copier-org/copier/issues/1568
debugpy==1.8.1
fawltydeps==0.15.0
flit==3.9.0
keyring==25.0.0
packaging==24.0
pandas-stubs~=2.2.0
pre-commit==3.7.0
pyright==1.1.356
ruff==0.3.4
snakeviz==2.2.0
Expand Down
10 changes: 2 additions & 8 deletions scripts/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,12 @@ build-backend = "flit_core.buildapi"
name = "boilercv_tools"
version = "0.0.0"
description = "Tools."
dependencies = [
"copier>=9.1.1",
"cyclopts>=2.5.0",
"pre-commit>=3.7.0",
"zstandard>=0.22.0",
]
dependencies = ["cyclopts==2.5.0"]
[project.scripts]
"boilercv_tools" = "boilercv_tools.__main__:main"

[tool.fawltydeps]
actions = ["check_undeclared"]
deps = ["scripts/pyproject.toml", "pyproject.toml"]
deps = ["scripts/pyproject.toml"]
code = ["scripts/boilercv_tools"]
ignore_undeclared = [
"boilercore",
Expand Down
3 changes: 0 additions & 3 deletions tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ name = "boilercv_tests"
version = "0.0.0"
description = "Tests."
dependencies = [
"boilercore>=0.0.1",
"cachier @ git+https://github.com/blakeNaccarato/cachier@0892f53dc8fd9fb8a7f959305a1a9ec692876dc0", # Allows `dill` caching
"matplotlib>=3.7.2",
"numpy>=1.24.4",
Expand Down Expand Up @@ -41,5 +40,3 @@ ignore_unused = [
"pytest-plt",
"pytest-xdist",
]
[tool.fawltydeps.custom_mapping]
boilercore = ["boilercore"]

0 comments on commit 6164aa2

Please sign in to comment.