Skip to content

fix: make pyo3 optional again#1153

Merged
sunng87 merged 2 commits intodevelopfrom
fix/optional-pyo3
Mar 9, 2023
Merged

fix: make pyo3 optional again#1153
sunng87 merged 2 commits intodevelopfrom
fix/optional-pyo3

Conversation

@sunng87
Copy link
Copy Markdown
Member

@sunng87 sunng87 commented Mar 9, 2023

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

As we enabled pyarrow feature on arrow by default, pyo3 is a required dependency. This patch updates the feature to be active only when pyo3_backend turned on.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

@sunng87 sunng87 requested review from discord9, killme2008 and waynexia and removed request for discord9 and waynexia March 9, 2023 13:24
Copy link
Copy Markdown
Contributor

@evenyag evenyag left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread src/script/Cargo.toml Outdated
@discord9
Copy link
Copy Markdown
Contributor

discord9 commented Mar 9, 2023

LGTM

Co-authored-by: dennis zhuang <killme2008@gmail.com>
@sunng87 sunng87 enabled auto-merge (squash) March 9, 2023 13:51
Copy link
Copy Markdown
Member

@killme2008 killme2008 left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 9, 2023

Codecov Report

Merging #1153 (1174233) into develop (610a895) will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1153      +/-   ##
===========================================
+ Coverage    85.13%   85.14%   +0.01%     
===========================================
  Files          482      482              
  Lines        71065    71065              
===========================================
+ Hits         60498    60506       +8     
+ Misses       10567    10559       -8     

@sunng87 sunng87 merged commit 58bdf27 into develop Mar 9, 2023
@sunng87 sunng87 deleted the fix/optional-pyo3 branch March 9, 2023 14:16
paomian pushed a commit to paomian/greptimedb that referenced this pull request Oct 19, 2023
* fix: make pyo3 optional again

* Update src/script/Cargo.toml

Co-authored-by: dennis zhuang <killme2008@gmail.com>

---------

Co-authored-by: dennis zhuang <killme2008@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants