GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ISSUE 2377 : Relax grpcio requirement for python client to support python3.8 on mac os by ca-simone-chiorazzo · Pull Request #2432 · apache/bookkeeper

Conversation

@ca-simone-chiorazzo

@ca-simone-chiorazzo ca-simone-chiorazzo commented Oct 8, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Descriptions of the changes in this PR:

Require a grpcio version that is minor of 1.28. This allow to install the 1.27.2 that has a pre-compiled wheel for python 3.8 on mac os.
Add tests for python 3.8

Motivation

grpcio 1.25.0 does not allow the installation using python 3.8 on mac os x. This is due to the fact that the pre-compiled wheels have not been published before 1.26.0

Changes

Updated the setup.py to relax a bit the requirement for grpcio
Add python3.8 as tested version
Updated the setup.py to install the latest pymmh3 version. Note: master tests are broken, I've updated the library and removed the 'signed' parameter that does not exists not anymore.

Master Issue: #

cc @eolivelli


In order to uphold a high standard for quality for code contributions, Apache BookKeeper runs various precommit
checks for pull requests. A pull request can only be merged when it passes precommit checks.


Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

If this PR is a BookKeeper Proposal (BP):

  • Make sure the PR title is formatted like:
    <BP-#>: Description of bookkeeper proposal
    e.g. BP-1: 64 bits ledger is support
  • Attach the master issue link in the description of this PR.
  • Attach the google doc link if the BP is written in Google Doc.

Otherwise:

  • Make sure the PR title is formatted like:
    <Issue #>: Description of pull request
    e.g. Issue 123: Description ...
  • Make sure tests pass via mvn clean apache-rat:check install spotbugs:check.
  • Replace <Issue #> in the title with the actual Issue number.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

DavideMazzaro reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
ca-simone-chiorazzo added 4 commits October 8, 2020 14:49
@ca-simone-chiorazzo
Require a grpcio version that is minor of 1.28. This allow to install…
7e0ec83
… the 1.27.2 that has pre-compiled wheel for python 3.8 on mac os
@ca-simone-chiorazzo
Require the latest version of pymmh3 due to the signature change
808e40e
@ca-simone-chiorazzo
Add test for python 3.8
d0b076c
@ca-simone-chiorazzo
Removed signed param because is not accepted anymore
93671b3
@ca-simone-chiorazzo ca-simone-chiorazzo mentioned this pull request Oct 8, 2020
ContextualVersionConflict grpcio dependency conflict #2377
Closed
sijie
sijie approved these changes Oct 8, 2020
View reviewed changes
@ca-simone-chiorazzo

ca-simone-chiorazzo commented Oct 9, 2020

Copy link
Copy Markdown
Contributor Author

Hi @sijie, thanks for the quick review. How can I request other reviewers to take a look at this? I would move it forward quickly to solve a problem in our development environment. Thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

eolivelli
eolivelli approved these changes Oct 9, 2020
View reviewed changes

@eolivelli eolivelli left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@eolivelli

eolivelli commented Oct 9, 2020

Copy link
Copy Markdown
Contributor

@sijie so you think it is worth to cherry pick to 4.11 and cut a new RC? Or can we wait for 4.12? Hopefully we will release it within the end of November

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ca-simone-chiorazzo

ca-simone-chiorazzo commented Oct 12, 2020

Copy link
Copy Markdown
Contributor Author

@sijie so you think it is worth to cherry pick to 4.11 and cut a new RC? Or can we wait for 4.12? Hopefully we will release it within the end of November

@sijie Sorry for the ping, could you please advice on this point? Honestly, for us, it would be better to have a new release with only this fix. Otherwise, we have to roll back the upgrade to python3.8 just for this sub-dependency. We cannot avoid it because we use pipenv to manage the dependencies

zhavir, giacomo-porro, esenac, azappa, DavideMazzaro, and Giaco9 reacted with thumbs up emoji
All reactions
  • 👍 6 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@zhavir

zhavir commented Oct 14, 2020

Copy link
Copy Markdown

Is there an ETA for this? It is a blocker also for us. Thanks

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eolivelli eolivelli added this to the 4.12.0 milestone Oct 14, 2020
@eolivelli eolivelli added area/client area/tools release/4.12.0 type/improvement labels Oct 14, 2020
@eolivelli eolivelli assigned ca-simone-chiorazzo Oct 14, 2020
@eolivelli
eolivelli merged commit d3af27e into apache:master Oct 14, 2020
@eolivelli eolivelli added the release/4.11.2 label Oct 14, 2020
eolivelli pushed a commit that referenced this pull request Oct 14, 2020
@ca-simone-chiorazzo @eolivelli
ISSUE #2377: Relax grpcio requirement for python client to support py…
be922fe
…thon3.8 on mac os

Descriptions of the changes in this PR:

Require a grpcio version that is minor of 1.28. This allow to install the 1.27.2 that has a pre-compiled wheel for python 3.8 on mac os.
Add tests for python 3.8

### Motivation

grpcio 1.25.0 does not allow the installation using python 3.8 on mac os x. This is due to the fact that the pre-compiled wheels have not been published before 1.26.0

### Changes

Updated the setup.py to relax a bit the requirement for grpcio
Add python3.8 as tested version
Updated the setup.py to install the latest pymmh3 version. **Note**: master tests are broken, I've updated the library and removed the 'signed' parameter that does not exists not anymore.

Master Issue: #<master-issue-number>

cc eolivelli

Reviewers: Enrico Olivelli <[email protected]>, Sijie Guo <[email protected]>

This closes #2432 from ca-simone-chiorazzo/bugfix/2377-relax-grpcio-python-dep-for-python-3.8-on-mac-os, closes #2377

(cherry picked from commit d3af27e)
Signed-off-by: Enrico Olivelli <[email protected]>
@eolivelli

eolivelli commented Oct 14, 2020

Copy link
Copy Markdown
Contributor

@zhavir I have merged this useful patch.

It will be available in 4.12.0 and in 4.11.2.
We don't have an estimate.

I can say that we are releasing 4.11.1 during this week, I expect 4.12.0 release within a month from today

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ca-simone-chiorazzo
ca-simone-chiorazzo deleted the bugfix/2377-relax-grpcio-python-dep-for-python-3.8-on-mac-os branch October 21, 2020 08:00
@tisonkun tisonkun mentioned this pull request Aug 18, 2022
Bump grpcio dep version of Python client for supporting ARM #3449
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@sijie sijie sijie approved these changes
@eolivelli eolivelli eolivelli approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@ca-simone-chiorazzo ca-simone-chiorazzo

Labels

area/client area/tools release/4.11.2 release/4.12.0 type/improvement

Projects

None yet

Milestone

4.12.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@ca-simone-chiorazzo @eolivelli @zhavir @sijie
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.