Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

exclude extraneous files from package

Open
#936 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

Start by reviewing the repository's package-build configuration and the listed directories and files. Run python -m build locally, inspect the archive under dist, and confirm that the specified extraneous content is excluded.

Written by the indexing model from the issue text.

Description

bug type:bug

similar to https://github.com/microsoftgraph/msgraph-sdk-python-core/pull/709 those extra files slow down the installation, and can pose security issues like this https://github.com/microsoftgraph/msgraph-sdk-php-core/security/advisories/GHSA-mhhp-c3cm-2r86
directories to be excluded:

  • .github
  • docs
    files to be excluded:
  • .gitignore
  • .release-please-manifest
  • CHANGELOG.md
  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • release-please-config
  • UPGRADING.md

to test simply run python -m build locally, and check what's in the archive under dist

Dominant language
Python
Stars
630
Forks
96
Avg merge
15h 20m
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoftgraph/msgraph-sdk-python

All issues in microsoftgraph/msgraph-sdk-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.