Skip to content
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

Manually cut releases of each package #2441

Closed
dhermes opened this issue Sep 27, 2016 · 12 comments
Closed

Manually cut releases of each package #2441

dhermes opened this issue Sep 27, 2016 · 12 comments
Assignees

Comments

@dhermes
Copy link
Contributor

dhermes commented Sep 27, 2016

@tseaver Can you sign off on my current plan (mostly run from the command line)

  1. First, upgrade all packages from 0.20dev to 0.20.0 and solidify bounds for dependencies.
  2. Then get a fresh checkout
mkdir ${HOME}/tmp-release
cd ${HOME}/tmp-release
git clone https://github.com/GoogleCloudPlatform/google-cloud-python
  1. Make sure I have gcloudpypi credentials in ${HOME}/.pypirc
  2. Then go into each package and do a release
# core
cd ${HOME}/tmp-release/google-cloud-python/core
python setup.py sdist bdist_wheel
twine upload dist/*
# Similar for the 14 packages: 
# bigquery, bigtable, datastore, dns, error_reporting, language,
# logging, monitoring, pubsub, resource_manager, storage,
# translate, vision

NOTE: speech is not in here, it isn't ready to release
5. Then release the umbrella package

cd ${HOME}/tmp-release/google-cloud-python
python setup.py sdist bdist_wheel
twine upload dist/*    
dhermes added a commit to dhermes/google-cloud-python that referenced this issue Sep 27, 2016
Towards googleapis#2441.

- Updating umbrella README to point at all packages
- Putting upper bounds on grpcio in dependencies
- Putting lower bounds on all google-cloud-* packages
  listed as dependencies
- Adding `setup.cfg` for universal wheels
@tseaver
Copy link
Contributor

tseaver commented Sep 27, 2016

Confirming discussion offline: this plan looks good to me.

@daspecster
Copy link
Contributor

@dhermes @tseaver did you want streaming in Speech before releasing it?

@dhermes
Copy link
Contributor Author

dhermes commented Sep 27, 2016

@daspecster See above:

NOTE: speech is not in here, it isn't ready to release

@dhermes
Copy link
Contributor Author

dhermes commented Sep 27, 2016

Thanks @tseaver. Just waiting to hear from @bjwatson about 0.10.x versions of the gapic pieces.

https://pypi.python.org/pypi/gapic-google-pubsub-v1
https://pypi.python.org/pypi/gapic-google-logging-v2

@daspecster
Copy link
Contributor

@dhermes that's what I was responding too. Just curious what the checkboxes for speech were on this.

@bjwatson
Copy link

@daspecster Speech should be today. We're actually going to cut 0.11.0 releases of everything, but it shouldn't affect you apart from bumping the version bounds. This is due to refining our model for how to represent enums, which is a new feature in Python GAPIC, so I'm guessing you're not using our enums yet anyway.

@dhermes
Copy link
Contributor Author

dhermes commented Sep 29, 2016

Just pushed the umbrella-0.20.0 tag at 5a0e492. Working on release notes now, but will do the upload first.

@dhermes
Copy link
Contributor Author

dhermes commented Sep 29, 2016

@tseaver @jonparrott Everything went really well, except the umbrella package:

$ twine upload dist/*
Uploading distributions to https://upload.pypi.org/legacy/
Uploading google_cloud-0.20.0-cp27-none-linux_x86_64.whl
[================================] 17242/17242 - 00:00:02
HTTPError: 400 Client Error: Binary wheel 'google_cloud-0.20.0-cp27-none-linux_x86_64.whl' has an unsupported platform tag 'linux_x86_64'. for
url: https://upload.pypi.org/legacy/
$ rm dist/google_cloud-0.20.0-cp27-none-linux_x86_64.whl
rm: remove regular file 'dist/google_cloud-0.20.0-cp27-none-linux_x86_64.whl'? y
$ twine upload dist/*
Uploading distributions to https://upload.pypi.org/legacy/
Uploading google-cloud-0.20.0.tar.gz
[================================] 14013/14013 - 00:00:02

Any idea why it generated cp27-none-linux_x86_64.whl instead of py2.py3-none-any.whl?

@dhermes dhermes closed this as completed Sep 29, 2016
@dhermes
Copy link
Contributor Author

dhermes commented Sep 29, 2016

I just used https://gist.github.com/dhermes/a4e097f2f80fd490b256fc3aa2b4a46b to generate https://pypi.python.org/pypi/google-cloud-natural-language/0.20.0

This had the same problem of cp27-none-linux_x86_64.whl

@dhermes
Copy link
Contributor Author

dhermes commented Sep 29, 2016

It's worth noting that the following PRs were left out of the release notes:

#2455, #2453, #2452, #2449, #2445, #2444, #2351, #2362, #2355, #2363, #2364, #2369, #2380, #2381, #2370, #2388, #2386, #2387, #2424, #2392, #2393, #2396, #2394, #2399, #2407, #2403, #2408, #2412, #1702

In addition, the few Speech related PRs were also left out, since speech is half-baked and was not included in the release:

#2344, #2376, #2426, #2438

@dhermes
Copy link
Contributor Author

dhermes commented Sep 29, 2016

Figured out the wheel issue. On my machine I had wheel==0.24.0, but the latest is 0.29.0. Tada!

atulep pushed a commit that referenced this issue Apr 3, 2023
Towards #2441.

- Updating umbrella README to point at all packages
- Putting upper bounds on grpcio in dependencies
- Putting lower bounds on all google-cloud-* packages
  listed as dependencies
- Adding `setup.cfg` for universal wheels
atulep pushed a commit that referenced this issue Apr 18, 2023
Towards #2441.

- Updating umbrella README to point at all packages
- Putting upper bounds on grpcio in dependencies
- Putting lower bounds on all google-cloud-* packages
  listed as dependencies
- Adding `setup.cfg` for universal wheels
parthea pushed a commit that referenced this issue Jun 4, 2023
Towards #2441.

- Updating umbrella README to point at all packages
- Putting upper bounds on grpcio in dependencies
- Putting lower bounds on all google-cloud-* packages
  listed as dependencies
- Adding `setup.cfg` for universal wheels
parthea pushed a commit that referenced this issue Jul 6, 2023
Towards #2441.

- Updating umbrella README to point at all packages
- Putting upper bounds on grpcio in dependencies
- Putting lower bounds on all google-cloud-* packages
  listed as dependencies
- Adding `setup.cfg` for universal wheels
parthea pushed a commit that referenced this issue Oct 21, 2023
Towards #2441.

- Updating umbrella README to point at all packages
- Putting upper bounds on grpcio in dependencies
- Putting lower bounds on all google-cloud-* packages
  listed as dependencies
- Adding `setup.cfg` for universal wheels
parthea pushed a commit that referenced this issue Oct 21, 2023
Towards #2441.

- Updating umbrella README to point at all packages
- Putting upper bounds on grpcio in dependencies
- Putting lower bounds on all google-cloud-* packages
  listed as dependencies
- Adding `setup.cfg` for universal wheels
parthea pushed a commit that referenced this issue Oct 21, 2023
Towards #2441.

- Updating umbrella README to point at all packages
- Putting upper bounds on grpcio in dependencies
- Putting lower bounds on all google-cloud-* packages
  listed as dependencies
- Adding `setup.cfg` for universal wheels
parthea pushed a commit that referenced this issue Oct 22, 2023
Towards #2441.

- Updating umbrella README to point at all packages
- Putting upper bounds on grpcio in dependencies
- Putting lower bounds on all google-cloud-* packages
  listed as dependencies
- Adding `setup.cfg` for universal wheels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants