Skip to content

Commit 99d2626

Browse files
committed
remove tests folder in package distribution
1 parent 8a53447 commit 99d2626

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.gitattributes

+2-4
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,8 @@ environment.yml export-ignore
7878
setup.py export-ignore
7979

8080

81-
# GH 39321
82-
# csv_dir_path fixture checks the existence of the directory
83-
# exclude the whole directory to avoid running related tests in sdist
84-
pandas/tests/io/parser/data export-ignore
81+
# Exclude tests folder to decrease the package size
82+
pandas/tests export-ignore
8583

8684
# Include cibw script in sdist since it's needed for building wheels
8785
scripts/cibw_before_build.sh -export-ignore

MANIFEST.in

+2-5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ prune doc/build
44
graft LICENSES
55

66
graft pandas
7+
# Exclude tests folder to decrease the package size
8+
prune pandas/tests
79

810
global-exclude *.bz2
911
global-exclude *.csv
@@ -54,11 +56,6 @@ global-exclude *.h
5456
global-exclude *.py[ocd]
5557
global-exclude *.pxi
5658

57-
# GH 39321
58-
# csv_dir_path fixture checks the existence of the directory
59-
# exclude the whole directory to avoid running related tests in sdist
60-
prune pandas/tests/io/parser/data
61-
6259
# Selectively re-add *.cxx files that were excluded above
6360
graft pandas/_libs/src
6461
graft pandas/_libs/include

doc/source/whatsnew/v3.0.0.rst

+1
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ Other Removals
555555
- Removed the attribute ``dtypes`` from :class:`.DataFrameGroupBy` (:issue:`51997`)
556556
- Enforced deprecation of ``argmin``, ``argmax``, ``idxmin``, and ``idxmax`` returning a result when ``skipna=False`` and an NA value is encountered or all values are NA values; these operations will now raise in such cases (:issue:`33941`, :issue:`51276`)
557557
- Removed specifying ``include_groups=True`` in :class:`.DataFrameGroupBy.apply` and :class:`.Resampler.apply` (:issue:`7155`)
558+
- Removed ``pandas/tests`` folder in package distribution to decrease the package size (:issue:`60606`)
558559

559560
.. ---------------------------------------------------------------------------
560561
.. _whatsnew_300.performance:

0 commit comments

Comments
 (0)