-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Excluding system tests from being installed. #1373
Conversation
Note that excluding in On what host were those |
Ubuntu 14.04 |
fcca14a
to
65c0ef8
Compare
@tseaver PTAL. I did a hacky thing my modifying |
You mean we don't want those files to be there after they run |
Yep. Is there a middle ground? |
65c0ef8
to
4849e7d
Compare
@tseaver Bump |
1 similar comment
@tseaver Bump |
@tseaver PTAL |
I'm still against stripping the system tests from the sdist. Can we move the importable support code into a subpackage of |
Why do we want to ship our system tests? |
So that downstream packagers (e.g., .deb/.rpm) can run them to verify they have working code? |
Our system tests? These require a ton of set-up, including having to go to the Cloud Console and download a key. |
I've gotten feedback from .deb/.rpm maintainers in the past that they wanted to be able to verify the working state of the code they package by running tests afterward. Maybe they wouldn't run the system tests. OTOH, as the APIs change over time, asking users to run them to help debug configuration issues vs. software might be reasonable. |
It's not like |
@tseaver WDYT of my comment above? |
LGTM, on the basis that |
Filed #1451 for discussion of the possibility to ship the system tests as |
Excluding system tests from being installed.
These imports were broken by googleapis#1373.
Also removing system_tests/__init__.py so it is no longer a package and making all imports happen locally (rather than from the root of the project). Changes originally inspired by emulator script breakages in googleapis#1373.
Also removing system_tests/__init__.py so it is no longer a package and making all imports happen locally (rather than from the root of the project). Changes originally inspired by emulator script breakages in googleapis#1373.
@tseaver I noticed this while trying to
from system_tests import populate_datastore
and the import failed due to reasons that were "resolved" in #1349.Then I peaked and realized that the error was coming from
Notice that in our repo:
(This is due to the fact that
system_tests/__init__.py
was added in #954 / #273)