Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not install C sources with binary distributions #647

Merged
merged 1 commit into from Dec 11, 2021

Conversation

musicinmybrain
Copy link
Contributor

This does not affect source distributions, and Cython sources (.pyx) are
still installed.

Fixes #646.

What do these changes do?

Prevent C sources (_quoting_c.c) from being included in binary distributions such as wheels, without affecting Cython sources (_quoting_c.pyx, _quoting_c.pyi) or source distributions.

Are there changes in behavior for the user?

Nothing changes except that the binary wheels are smaller because they do not contain _quoting_c.c.

Related issue number

#646

Checklist

  • I think the code is well written
  • Unit tests for the changes exist This doesn’t seem necessary.
  • Documentation reflects the changes No changes seem necessary.
  • Add a new news fragment into the CHANGES folder
    • name it <issue_id>.<type> (e.g. 588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the PR
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example: Fix issue with non-ascii contents in doctest text files.

@psf-chronographer psf-chronographer bot added the bot:chronographer:provided There is a change note present in this PR label Dec 8, 2021
This does not affect source distributions, and Cython sources (.pyx) are
still installed.

Fixes aio-libs#646.
@asvetlov asvetlov enabled auto-merge (squash) December 11, 2021 10:56
@codecov
Copy link

codecov bot commented Dec 11, 2021

Codecov Report

Merging #647 (b255657) into master (90577d8) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #647   +/-   ##
=======================================
  Coverage   99.72%   99.72%           
=======================================
  Files           4        4           
  Lines         739      739           
  Branches      168      168           
=======================================
  Hits          737      737           
  Misses          2        2           
Flag Coverage Δ
unit 99.45% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 90577d8...b255657. Read the comment docs.

@asvetlov asvetlov merged commit 6bd81a7 into aio-libs:master Dec 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided There is a change note present in this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Binary distributions such as wheels include C sources
2 participants