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

add python 3.11 support #3129

Merged
merged 10 commits into from
Apr 7, 2023
Merged

Conversation

charles-cooper
Copy link
Member

What I did

How I did it

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@codecov-commenter
Copy link

codecov-commenter commented Oct 25, 2022

Codecov Report

Merging #3129 (8e7b745) into master (e95ae6f) will not change coverage.
The diff coverage is n/a.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##           master    #3129   +/-   ##
=======================================
  Coverage   88.95%   88.95%           
=======================================
  Files          84       84           
  Lines       10602    10602           
  Branches     2213     2213           
=======================================
  Hits         9431     9431           
  Misses        767      767           
  Partials      404      404           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@charles-cooper
Copy link
Member Author

waiting on actions/runner-images#6459

@chanhosuh
Copy link

I'm a bit eager to get the 3.11 support.. is everything good here? :)

@charles-cooper
Copy link
Member Author

I'm a bit eager to get the 3.11 support.. is everything good here? :)

we are still waiting on gh actions runners to support

@chanhosuh
Copy link

chanhosuh commented Nov 14, 2022

waiting on actions/runner-images#6459

if I read your guys' test yaml right, you need python 3.11 in this runner image. It's listed there now!

@charles-cooper
Copy link
Member Author

now waiting on ethereum/web3.py#2699

setup.py Outdated
@@ -89,7 +89,7 @@ def _global_version(version):
keywords="ethereum evm smart contract language",
include_package_data=True,
packages=find_packages(exclude=("tests", "docs")),
python_requires=">=3.7,<3.11",
python_requires=">=3.8,<4",
Copy link
Member

Choose a reason for hiding this comment

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

Not sure when we can support 3.12, but probably not out of the gate

Suggested change
python_requires=">=3.8,<4",
python_requires=">=3.8,<3.12",

Copy link
Member Author

Choose a reason for hiding this comment

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

i think we should leave the upper bound unspecified so if/when the next python is released, people can try using vyper without us needing to explicitly open a PR and testing it

Copy link
Member

Choose a reason for hiding this comment

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

Okay. I suppose the metadata shows that we don't explicitly support it yet

@chanhosuh
Copy link

Seems like upgrading web3 to the latest beta should do it (v6.0.0-beta.10): ethereum/web3.py#2699 (comment)

@charles-cooper
Copy link
Member Author

Will check! Note that since web3 is only required for our test suite- as of #3195 you should be able to install vyper with 3.11, it's just not tested/ officially supported.

setup.py Outdated
@@ -16,7 +16,7 @@
"pytest-rerunfailures>=10.2,<11",
"eth-tester[py-evm]>=0.6.0b6,<0.7",
"py-evm>=0.5.0a3,<0.6",
"web3==5.27.0",
"web3==5.31.3",
Copy link
Member

Choose a reason for hiding this comment

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

Can probably keep it like this just for occasionally testing updates for v6 until it's released

Suggested change
"web3==5.31.3",
"web3>=6.0.0b10,<7.0.0",

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.

None yet

4 participants