Thanks to visit codestin.com
Credit goes to github.com

Skip to content

build: include removed plugins file in sdist#3644

Merged
bastimeyer merged 1 commit into
streamlink:masterfrom
bastimeyer:fix/sdist-include-removed-plugins-file
Mar 23, 2021
Merged

build: include removed plugins file in sdist#3644
bastimeyer merged 1 commit into
streamlink:masterfrom
bastimeyer:fix/sdist-include-removed-plugins-file

Conversation

@bastimeyer

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

@beardypig beardypig left a comment

Copy link
Copy Markdown
Member

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