Skip to content

Conversation

@vtomole
Copy link
Collaborator

@vtomole vtomole commented Sep 21, 2022

Fixes: #5880

@vtomole vtomole requested review from a team and cduck as code owners September 21, 2022 15:17
@vtomole vtomole requested a review from viathor September 21, 2022 15:17
@CirqBot CirqBot added the Size: XS <10 lines changed label Sep 21, 2022
@vtomole vtomole mentioned this pull request Sep 21, 2022
@vtomole vtomole requested a review from pavoljuhas September 21, 2022 15:19
@vtomole vtomole changed the title Generalize dev requirements that don't need to be uploaded because of prevention of uploading non-Pypi packaes Generalize dev requirements that don't need to be uploaded because of prevention of uploading non-Pypi packages Sep 21, 2022
@vtomole vtomole changed the title Generalize dev requirements that don't need to be uploaded because of prevention of uploading non-Pypi packages Generalize filtration of dev requirements that can't be uploaded to pypi Sep 21, 2022
setup.py Outdated

# filter out direct urls (https://github.com/pypa/pip/issues/6301)
dev_requirements = [r.strip() for r in dev_requirements if "git+http" not in r]
dev_requirements = [r.strip() for r in dev_requirements if "http" not in r]
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be better to do something like https:// to be sure this catches urls only, since a standard pypi package could include the string "http".

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

Copy link
Collaborator

@pavoljuhas pavoljuhas left a comment

Choose a reason for hiding this comment

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

LGTM

@vtomole vtomole merged commit ce8d19f into master Sep 21, 2022
@vtomole vtomole deleted the vtomole-patch-2 branch September 21, 2022 16:43
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Size: XS <10 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MacOS checks failing

4 participants