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

Upgrade to Python 3.10 #300

Closed
achimnol opened this issue Oct 11, 2021 · 8 comments
Closed

Upgrade to Python 3.10 #300

achimnol opened this issue Oct 11, 2021 · 8 comments
Labels
area:upstream Issues with root cause from upstream 3rd parties comp:agent Related to Agent component comp:client Related to Client component comp:common Related to Common component comp:installer Related to Installer comp:manager Related to Manager component comp:storage-proxy Related to Storage proxy component comp:webserver Related to Web Server component type:maintenance Maintenance issue.
Milestone

Comments

@achimnol
Copy link
Member

achimnol commented Oct 11, 2021

Python 3.10.0 is live now.
Let's upgrade our codebase (the 21.03/21.09 branch and the main branch for 22.03) to use Python 3.10 for future backportability.

Currently known blockers:

Not blockers but considerable stuffs for seamless development experience:

@achimnol achimnol added type:feature Add new features type:maintenance Maintenance issue. comp:manager Related to Manager component comp:agent Related to Agent component comp:client Related to Client component comp:common Related to Common component comp:webserver Related to Web Server component comp:installer Related to Installer comp:storage-proxy Related to Storage proxy component labels Oct 11, 2021
@achimnol achimnol added this to the 21.03 milestone Oct 11, 2021
@achimnol
Copy link
Member Author

janus 0.6.2 has been released with the workaround for Python 3.10. Now we can start working on this issue.

@achimnol achimnol removed the type:feature Add new features label Nov 25, 2021
@achimnol achimnol modified the milestones: 21.03, 22.03 Nov 25, 2021
@achimnol
Copy link
Member Author

Currently GitHub Action Runner supports only 3.10.0, not 3.10.1 that we need. On hold.

@achimnol
Copy link
Member Author

achimnol commented Dec 18, 2021

GitHub Action Runner now provides 3.10.1.
Also fixed some new typing errors found by mypy 0.920 update (lablup/backend.ai-common#104).

@achimnol achimnol added the area:upstream Issues with root cause from upstream 3rd parties label Dec 20, 2021
@achimnol
Copy link
Member Author

Forked aiodataloader as aiodataloader-ng.

@achimnol
Copy link
Member Author

Released our own version of aiodataload-ng: https://pypi.org/project/aiodataloader-ng/0.2.1/

@kyujin-cho
Copy link
Member

newly investigated upstream issues:

@achimnol
Copy link
Member Author

newly investigated upstream issues:

Currently the known workaround is to execute the followings in the target venv:

pip install --no-binary :all: grpcio --ignore-installed
pip install --no-binary :all: grpcio-tools --ignore-installed

@achimnol
Copy link
Member Author

achimnol commented Jul 18, 2022

After #417, we now work fine on Pytho 3.10.5 and now all external dependencies have upgraded to provide 3.10-compatible binary wheels (#560). The vim syntax support could be workarounded using NeoVim and treesitter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:upstream Issues with root cause from upstream 3rd parties comp:agent Related to Agent component comp:client Related to Client component comp:common Related to Common component comp:installer Related to Installer comp:manager Related to Manager component comp:storage-proxy Related to Storage proxy component comp:webserver Related to Web Server component type:maintenance Maintenance issue.
Projects
None yet
Development

No branches or pull requests

2 participants