Skip to content

Commit d92bf93

Browse files
authored
Bugfix: Remove test files from distributions (#2979)
* Remove test files from distributions Co-authored-by: Zhihao Dai <zhihao.dai@eng.ox.ac.uk> * Add entry to CHANGELOG Co-authored-by: Zhihao Dai <zhihao.dai@eng.ox.ac.uk> * Remove unit tests Co-authored-by: Zhihao Dai <zhihao.dai@eng.ox.ac.uk>
1 parent 6bec87f commit d92bf93

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ but cannot always guarantee backwards compatibility. Changes that may **break co
4141
- We set an upper version cap on `pandas<3.0.0` until we officially support it. [#2995](https://github.com/unit8co/darts/pull/2995) by [Dennis Bader](https://github.com/dennisbader).
4242

4343
### For developers of the library:
44+
- Removed unit tests from the package distribution (PyPI and conda-forge) to reduce package size. [#2979](https://github.com/unit8co/darts/pull/2979) and [u8darts-feedstock#59](https://github.com/conda-forge/u8darts-feedstock/pull/59) by [Zhihao Dai](https://github.com/daidahao).
4445

4546
- Migrated the dependency management and tooling to [uv](https://docs.astral.sh/uv/). Use `uv sync --group dev-all` to setup your development environment; See the [contribution guide](https://github.com/unit8co/darts/blob/master/CONTRIBUTING.md) for further information. [#2993](https://github.com/unit8co/darts/pull/2993) by [Jules Authier](https://github.com/authierj).
4647

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ explicit = true # Only use this index for packages explicitly configured to use
8585
zip-safe = false
8686

8787
[tool.setuptools.packages.find]
88-
exclude = ["examples*", "datasets*", "docs*"]
88+
exclude = ["examples*", "datasets*", "docs*", "darts.tests*"]
8989

9090
[tool.setuptools.package-data]
9191
darts = ["py.typed"]

0 commit comments

Comments
 (0)