Skip to content

build: include removed plugins file in sdist #3644

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

Conversation

bastimeyer
Copy link
Member

Fixes #3643

For some reason, the src/streamlink/plugins/.removed file is not part of the sdist tarball in 2.1.0.
This PR forces the inclusion of that file via MANIFEST.in.

I don't know why, but when I build 2.1.0 locally, the file is part of the tarball, but the one built by the CI runner does not include it. Can someone confirm this?

@bastimeyer
Copy link
Member Author

$ curl -sSL 'https://github.com/streamlink/streamlink/releases/download/2.1.0/streamlink-2.1.0.tar.gz' \
  | tar -tzf - \
  | grep src/streamlink/plugins/.removed

$ git checkout 2.1.0 && python setup.py sdist
$ tar -tzf dist/streamlink-2.1.0.tar.gz \
  | grep src/streamlink/plugins/.removed
streamlink-2.1.0/src/streamlink/plugins/.removed

@bastimeyer
Copy link
Member Author

According to

the file shouldn't be in the tarball unless explicitly specified, which totally makes sense, but I don't understand why it's included when I build it locally on my system using the same python version and using a clean venv. Weird.

Just for the record, #3643 has only become a problem due to #3600 and the added test, which made the file a dependency for running tests.

Copy link
Member

@beardypig beardypig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bastimeyer bastimeyer merged commit d79b396 into streamlink:master Mar 23, 2021
@bastimeyer bastimeyer deleted the fix/sdist-include-removed-plugins-file branch March 23, 2021 23:53
Billy2011 added a commit to Billy2011/streamlink-27 that referenced this pull request Mar 24, 2021
Billy2011 added a commit to Billy2011/streamlink-27 that referenced this pull request Mar 26, 2021
Billy2011 added a commit to Billy2011/streamlink-27 that referenced this pull request Mar 26, 2021
Billy2011 added a commit to Billy2011/streamlink-27 that referenced this pull request Mar 26, 2021
Billy2011 added a commit to Billy2011/streamlink-27 that referenced this pull request Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERROR: test_plugin_not_in_removed_list (tests.test_plugins_meta.TestPluginMeta) when building
2 participants