Add deprecated copy for https://pypi.python.org/pypi/gcloud
Follow up from #2744.
Is there some kind of status or message we could add to https://pypi.python.org/pypi/gcloud to direct people to https://pypi.python.org/pypi/google-cloud?
Or possibly set the category to Development Status :: 7 - Inactive?
@jonparrott WDYT is the right move here?
I'm for it. (as in what @daspecster said is fine)
@jonparrott Would it be strange to do a new release of gcloud that just throws an ImportError with instructions to upgrade to google-cloud?
Yes, please don't do that.
@daspecster Are you taking charge of this?
I can if you want. What are the steps to do it?
- Branch of of the 0.18.3 tag.
- Update setup.py to reflect the deprecated status.
- Then you can push it to pypi?
Also, I'm not sure where the commit for that change would/should end up exactly just in a branch?
I'm not sure either, have been discussing (more like arguing) with @jonparrott in chat about what to do
(more like arguing)

@jonparrott @dhermes did you guys ever figure out the path for this?
#2885 sounds related as well.
In my mind #2885 is a duplicate of this.
Shameless prod: Is there an ETA on this?
It will be very quick to do once we decide WHAT to do. There is no ETA on deciding WHAT to do.
@jonparrott Do you know if other projects have gone through a rename that we could refer to? I'm worried that if we only put a "big red warning" at the top of https://pypi.python.org/pypi/gcloud/0.18.3, then not all "stuck on gcloud" users will get the message.
Do you know if other projects have gone through a rename that we could refer to?
Not off the top of my head. I've seen projects that change their index name but kept their import name, and packages that kept their index name but changed their import name, but I can't think of any off the top of my head that did both (though I'm sure they're out there).
if we only put a "big red warning" at the top of https://pypi.python.org/pypi/gcloud/0.18.3, then not all "stuck on gcloud" users will get the message.
That's fair, but you guys are only doing an sdist - why not go ahead and add a warning in setup.py?
Another thing is that during the gcloud phase this project was very clearly marked as alpha. I would tread a bit more carefully if we had renamed a GA library.
go ahead and add a warning in
setup.py
Like via warnings? Also, I look at the output of pip install (or some other command that invokes setup.py) less than 5% of the time (made-up number, but probably true). How will a warning help?
Like via warnings?
Sure, print works just as well in this case.
Also, I look at the output of pip install (or some other command that invokes setup.py) less than 5% of the time (made-up number, but probably true). How will a warning help?
It's just due diligence. We can't track down and ask everyone who is using gcloud to "update, pretty please". What we can do is that if someone files a bug or support request it will be clearly communicated in their logs that the library is no longer supported.
This is a similar to someone using an outdated version of google-cloud - our first support impulse would be to tell them to update and see if it helps. The story is the same here, but we're just being extra explicit that this isn't supported and leaving a trail of auditability.
Also, it's very likely that users who are still on gcloud won't update from whatever version they're currently using. So even if you did the nuclear option of deploying a broken package, they still probably wouldn't notice.
@jonparrott wouldn't using print, possibly break some people immediately on upgrade?
Bad example...but...it could put whatever our message is at the top of people's websites.
Here's how flask does it... https://github.com/pallets/flask/blob/de1652467b0584fe9ee4060bc42101e8255838a3/flask/app.py#L553
@daspecster how so? python setup.py install / pip install expects packages to product output on stdout. Warnings does the same but on stderr.
Oh, I was thinking on import instead of on install.
Could we start with a disclaimer at the top of the documentation page in PyPi? Just "this version of the library has been deprecated. Development continues in ..."
On Mon, Dec 19, 2016 at 4:09 PM Thomas Schultz [email protected] wrote:
Oh, I was thinking on import instead of on install.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/google-cloud-python/issues/2748#issuecomment-268079083, or mute the thread https://github.com/notifications/unsubscribe-auth/ARrMFsBUt-XwQGw7LsZqCsNVxMQRz1Z4ks5rJvJzgaJpZM4K1aYA .
--
Kir Titievsky | Product Manager | Google Cloud Pub/Sub