File tree Expand file tree Collapse file tree 5 files changed +33
-4
lines changed
Expand file tree Collapse file tree 5 files changed +33
-4
lines changed Original file line number Diff line number Diff line change @@ -3,5 +3,4 @@ attrs==25.3.0
33cattrs==25.1.1
44matplotlib==3.10.3
55numpy==2.3.1
6- path==17.1.1
76scipy==1.16.0
Original file line number Diff line number Diff line change 1+ # Keep essentials
2+ include LICENSE
3+ include README.md
4+ include pyproject.toml
5+
6+ # Ensure tests are included, useful for conda package
7+ graft tests
8+
9+ # Exclude non-essentials
10+ prune docs
11+ prune .github
12+ prune .pre-commit-config.yaml
13+ prune .markdownlint-cli2.jsonc
14+ prune .gitignore
15+ prune .editorconfig
16+ prune tools
17+ prune tests/outputs
18+ global-exclude *.py[cod] __pycache__ *.so
Original file line number Diff line number Diff line change @@ -11,6 +11,17 @@ and this project adheres to [Effort-based Versioning](https://jacobtomlinson.dev
1111
1212(no changes yet)
1313
14+ (v1.1.1)=
15+ ## [ 1.1.1] - 2025-11-18
16+
17+ Smaller source package (10x size reduction) and dependency simplification.
18+
19+ ### Changed
20+
21+ - PyPI Package size reduction by a factor 10.
22+ Only essential files are now included in the package.
23+ - Remove path dependency to facilitate packaging and distribution.
24+
1425(v1.1.0)=
1526## [ 1.1.0] - 2025-11-10
1627
@@ -63,3 +74,5 @@ in the documentation and README files.
6374[ Unreleased ] : https://github.com/molmod/stacie
6475[ 1.0.0 ] : https://github.com/molmod/stacie/releases/tag/v1.0.0
6576[ 1.0.0rc1 ] : https://github.com/molmod/stacie/releases/tag/v1.0.0rc1
77+ [ 1.1.0 ] : https://github.com/molmod/stacie/releases/tag/v1.1.0
78+ [ 1.1.1 ] : https://github.com/molmod/stacie/releases/tag/v1.1.1
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ dependencies = [
3333 " cattrs>=25.1.1" ,
3434 " matplotlib>=3.10.3" ,
3535 " numpy>=2.3.1" ,
36- " path>=17.1.1" ,
3736 " scipy>=1.16.0" ,
3837]
3938dynamic = [" version" ]
Original file line number Diff line number Diff line change 2424"""
2525
2626from collections .abc import Callable
27+ from pathlib import Path
2728
2829import numpy as np
2930import pytest
30- from path import Path
3131
3232from stacie .cutoff import CV2LCriterion
3333from stacie .estimate import Result , estimate_acint , summarize_results
5353def output_test_result (prefix : str , res : Result | list [Result ]):
5454 """Dump results with STACIE's standard output formats."""
5555 dn_out = Path ("tests/outputs" )
56- dn_out .makedirs_p ( )
56+ dn_out .mkdir ( exist_ok = True )
5757 plot_results (dn_out / f"{ prefix } .pdf" , res )
5858 with open (dn_out / f"{ prefix } .txt" , "w" ) as fh :
5959 fh .write (summarize_results (res ))
You can’t perform that action at this time.
0 commit comments