From b93a628aed2feb1a0ff68858d356895a79578149 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 12 Jul 2023 14:43:08 -0700 Subject: [PATCH] Omit hacking directory from MANIFEST.in (#81245) * Omit `hacking` directory from `MANIFEST.in` * Update package-data sanity test --- MANIFEST.in | 2 -- test/sanity/code-smell/package-data.py | 21 ++------------------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 1dbe2e300cd..24adcc01610 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,8 +2,6 @@ include COPYING include bin/* include changelogs/CHANGELOG*.rst include changelogs/changelog.yaml -include hacking/test-module.py -include hacking/update-sanity-requirements.py include licenses/*.txt include requirements.txt recursive-include docs * diff --git a/test/sanity/code-smell/package-data.py b/test/sanity/code-smell/package-data.py index 6c0879acb5e..3b2d3e765e6 100644 --- a/test/sanity/code-smell/package-data.py +++ b/test/sanity/code-smell/package-data.py @@ -28,10 +28,8 @@ def assemble_files_to_ship(complete_file_list): '.github/*', '.github/*/*', 'changelogs/fragments/*', - 'hacking/backport/*', - 'hacking/azp/*', - 'hacking/tests/*', - 'hacking/ticket_stubs/*', + 'hacking/*', + 'hacking/*/*', 'test/results/.tmp/*', 'test/results/.tmp/*/*', 'test/results/.tmp/*/*/*', @@ -43,23 +41,8 @@ def assemble_files_to_ship(complete_file_list): # Developer-only tools 'changelogs/README.md', 'changelogs/config.yaml', - 'hacking/README.md', - 'hacking/ansible-profile', - 'hacking/cgroup_perf_recap_graph.py', - 'hacking/create_deprecated_issues.py', - 'hacking/deprecated_issue_template.md', - 'hacking/create-bulk-issues.py', - 'hacking/metadata-tool.py', - 'hacking/report.py', - 'hacking/return_skeleton_generator.py', - 'hacking/test-module', '.cherry_picker.toml', '.mailmap', - # Possibly should be included - 'hacking/env-setup', - 'hacking/env-setup.fish', - 'MANIFEST', - 'setup.cfg', )) # These files are generated and then intentionally added to the sdist