-
Notifications
You must be signed in to change notification settings - Fork 146
Conversation
5fea2a6
to
6d3b3ee
Compare
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.
Doesn't have to happen in this PR (and might be a great "Good First Issues") but we should look into using the native contextlib.asynccontextmanager
and any other 3.7 things that we've had to shim back into 3.6.
188c310
to
395f953
Compare
@ChihChengLiang do you have any idea what's preventing the |
@pipermerriam No you're right, there was a huge chunk of things that we could get rid off. I updated the PR. |
Hi @cburgdorf, I think I missed some release of |
@ChihChengLiang Thanks for fixing the Python 3.8 builds! Unfortunately, it seems like the API has changed substantially enough to throw me off 😅 For example, |
@cburgdorf I'm terribly sorry for saying it's ready for the upgrade and I'm so sorry for your time on trying to upgrade that 🙈, I totally forgot the breaking API change. The API change would require a lengthy PR because it touches eth2 code and eth2-fixture tests. Here are some band-aids for that.
I'm not able to commit to the upgrade of Trinity codebase to the new API yet, due to the other ongoing tasks. But happy to do it a while later if no one else is on it. |
@cburgdorf I just released |
6d5b05e
to
e600f60
Compare
@ChihChengLiang Awesome! That fixes it. Also, don't worry too much, I haven't wasted much time on the issue and it isn't urgent. Thank you very much for cutting a new release 🙏 |
e600f60
to
483539b
Compare
@carver When you feel ready to ditch Python 3.6 we can merge this to trade it against Python 3.8 support |
483539b
to
f4f82ec
Compare
@carver Are we good to trade Python 3.6 against Python 3.8 support by now? |
What is the urgency to drop 3.6 again? Can't we add 3.8 support without dropping 3.6? |
|
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.
Okay, I guess it's been long enough since the LTS came out. I still haven't upgraded but 3.7 is of course available through the package manager.
598fe68
to
61fd1c1
Compare
61fd1c1
to
873619f
Compare
py{37,38}-{eth1-core,p2p,p2p-trio,integration,lightchain_integration,eth2-core,eth2-fixtures,eth2-integration,eth1-components,eth2-utils,eth2-trio} | ||
py37-long_run_integration | ||
py37-rpc-blockchain | ||
py38-rpc-state-{frontier,homestead,tangerine_whistle,spurious_dragon,byzantium,constantinople,petersburg,istanbul} |
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.
Looks like this one got missed, I expected: py37
So this added proper Python 3.8 support (for running the node, etc.), or does it only make CI pass? Because if the former, then the |
@veox oh you're right. I somehow missed to mention Python 3.8 support. I should work but afaik there are still some quirks with Python 3.8 that need to be resolved. |
We can add the release note when we upgrade to a py-evm version that includes ethereum/py-evm#1940 |
What was wrong?
When we get rid of Python 3.6 support we should make sure we support Python 3.8 by testing against it in CI.
How was it fixed?
Add CI jobs for Python 3.8
To-Do
Cute Animal Picture