Skip to content

Conversation

@DimitriPapadopoulos
Copy link

@DimitriPapadopoulos DimitriPapadopoulos commented Nov 15, 2025

From Controlling files in the distribution:

For the most common use cases, setuptools will automatically find out which files are necessary for distributing the package. More precisely, the following files are included in a source distribution by default:

  • All files specified by the license-files configuration parameter in pyproject.toml [...]; note that if you don’t explicitly set this parameter, setuptools will include any files that match the following glob patterns: LICEN[CS]E*, COPYING*, NOTICE*, AUTHORS**;
  • pyproject.toml;
  • setup.py;
  • README, README.txt, README.rst or README.md;
  • MANIFEST.in

Source distributions should include tests:

recursive-exclude distributed **/tests/*

See Provide complete source distributions in the Python Packaging User Guide:

Ideally, a source distribution archive published on PyPI should include all the files from the package’s Git repository that are necessary to build the package itself, run its test suite, build and install its documentation, and any other files that may be useful to end users, such as shell completions, editor support files, and so on.

File setup.py was removed by dask#9137 / ca5a56f.
For the most common use cases, setuptools will automatically
find out which files are necessary for distributing the package.
The following files are included in a source distribution by default:
- All files specified by the license-files configuration parameter
  in pyproject.toml; note that if you don’t explicitly set this
  parameter, setuptools will include any files that match the
  following glob patterns: LICEN[CS]E*, COPYING*, NOTICE*, AUTHORS**;
- pyproject.toml;
- setup.py;
- README, README.txt, README.rst or README.md;
- MANIFEST.in

https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html
Added in version v69.0.0: setuptools will attempt to include type
information files by default in the distribution (.pyi and py.typed,
as specified in PEP 561), as long as they are contained inside of
a package directory (for the time being there is no automatic
support for top-level .pyi files).

https://setuptools.pypa.io/en/latest/userguide/miscellaneous.html
Remove files related to CI from source distribution.
@github-actions
Copy link
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

    27 files  ±0      27 suites  ±0   9h 42m 34s ⏱️ - 10m 50s
 4 112 tests ±0   4 003 ✅  - 2    104 💤 ±0  5 ❌ +2 
51 516 runs  ±0  49 327 ✅  - 2  2 184 💤 ±0  5 ❌ +2 

For more details on these failures, see this check.

Results for commit 81b2c82. ± Comparison against base commit c7d9c55.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant