Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix!: drop python 2.7 support#103

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tseaver merged 26 commits intomasterfrom102-drop-python-2.7
Aug 2, 2021
Merged

fix!: drop python 2.7 support#103

tseaver merged 26 commits intomasterfrom102-drop-python-2.7
Aug 2, 2021

Conversation

@tseaver
Copy link
Contributor

  • Drop use of 'mock' shim.
  • Drop use of 'six'.
  • Drop explicit 'u"' prefixes.
  • Drop 'pytz'.

Release-As: 2.0.0b1

Closes#102.

@tseavertseaver requested a review froma team as acode ownerJune 15, 2021 20:47
@google-clagoogle-clabot added the cla: yesThis human has signed the Contributor License Agreement. labelJun 15, 2021
Copy link
Contributor

@plamutplamut left a comment

Choose a reason for hiding this comment

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

Generally looks good to me, just a few bits remaining - things from the comments and a few mentions of "Python 2" and "2.7" in the docs that are now obsolete, e.g inCONTRIBUTING.rst and at the end of README.

# limitations under the License.

__version__="1.7.0"
__version__="2.0.0b1"
Copy link
Contributor

Choose a reason for hiding this comment

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

Same process question - should this bebeta or an RC?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

As I said ingoogleapis/python-api-core#212, I think a beta is sensible for a semver-major breaking change. I'll let@crwilcox and@busunkim96 chime in on that.

Copy link
Contributor

@plamutplamut left a comment

Choose a reason for hiding this comment

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

Also update the "Deprecated Python Versions" section in README like in other libraries?

Looks good otherwise, IMO.

@tseaver
Copy link
ContributorAuthor

tseaver commentedJun 18, 2021
edited
Loading

@plamut Thanks for the review!fca858a updatesREADME.rst to document last version supporting Python 2.7.12014e2 updatesCONTRIBUTING.rst to drop references to running tests under Python 2.7.

@tseavertseaver added the do not mergeIndicates a pull request not ready for merge, due to either quality or timing. labelJun 18, 2021
@tseaver
Copy link
ContributorAuthor

Marked asdo not merge pending discussion over the versioning policy next week with@busunkim96,@crwilcox, et al.

@plamut
Copy link
Contributor

plamut commentedJun 18, 2021
edited
Loading

@tseaver12014e2 has not been pushed yet? I can still see references to Python 2.7 in CONTRIBUTING when I pull the PR branch locally.

Edit: Ah, the owlbot commit overrode those changes. Was that added to the PR branch involuntarily?

Edit 2 The CONTRIBUTING file is tempalted and must be modified throughowlbot.py to make the changes persistent.

@tseaver
Copy link
ContributorAuthor

@plamut Owlbot is running in automated fashion, pushing changes to PRs. I guess we have to apply the changes toCONTRIBUTING.rst inowlbot.py vias.replace() (or else exclude it -- see85775cc).

@partheaparthea self-requested a reviewJuly 10, 2021 14:43
@tseavertseaver added the owlbot:runAdd this label to trigger the Owlbot post processor. labelJul 14, 2021
@gcf-owl-botgcf-owl-botbot removed the owlbot:runAdd this label to trigger the Owlbot post processor. labelJul 14, 2021
@tseavertseaver added the semver: majorHint for users that this is an API breaking change. labelJul 14, 2021
@tseavertseaver mentioned this pull requestJul 27, 2021
@tseaver
Copy link
ContributorAuthor

Ugh, OwlBot is restoring the2.7 reference in the templated `scripts/readme-gen/templates/install_deps.tmpl.rst'. Seegoogleapis/synthtool#1173.

@tseavertseaver removed the do not mergeIndicates a pull request not ready for merge, due to either quality or timing. labelAug 2, 2021
@tseavertseaver merged commit181d706 intomasterAug 2, 2021
@tseavertseaver deleted the 102-drop-python-2.7 branchAugust 2, 2021 18:54
This was referencedAug 2, 2021
busunkim96 pushed a commit that referenced this pull requestAug 18, 2021
🤖 I have created a release \*beep\* \*boop\*---## [2.0.0](https://www.github.com/googleapis/python-cloud-core/compare/v2.0.0-b1...v2.0.0) (2021-08-18)### ⚠ BREAKING CHANGES* drop python 2.7 support ([#103](https://www.github.com/googleapis/python-cloud-core/issues/103)) ([181d706](https://www.github.com/googleapis/python-cloud-core/commit/181d706e5b44d9d4189c21782551ce85c720d733)), closes [#102](https://www.github.com/googleapis/python-cloud-core/issues/102)### Miscellaneous Chores* trigger 2.0.0 release ([#128](https://www.github.com/googleapis/python-cloud-core/issues/128)) ([aead67a](https://www.github.com/googleapis/python-cloud-core/commit/aead67a1244306d518b8ab150e143e5a29e1ab6f))---This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@chrisrossichrisrossiAwaiting requested review from chrisrossi

@crwilcoxcrwilcoxAwaiting requested review from crwilcox

@jimfultonjimfultonAwaiting requested review from jimfulton

@busunkim96busunkim96Awaiting requested review from busunkim96

@partheapartheaAwaiting requested review from parthea

1 more reviewer

@plamutplamutplamut approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

cla: yesThis human has signed the Contributor License Agreement.semver: majorHint for users that this is an API breaking change.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Drop Python 2.7 support.

3 participants

@tseaver@plamut@parthea

[8]ページ先頭

©2009-2025 Movatter.jp