[jira] [Commented] (AIRAVATA-3698) Add support for Python 3.11
[ https://issues.apache.org/jira/browse/AIRAVATA-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17735861#comment-17735861 ] Marcus Christie commented on AIRAVATA-3698: --- Wagtail upgrade process: [https://docs.wagtail.org/en/stable/releases/upgrading.html#upgrade-process] > Add support for Python 3.11 > --- > > Key: AIRAVATA-3698 > URL: https://issues.apache.org/jira/browse/AIRAVATA-3698 > Project: Airavata > Issue Type: Improvement > Components: Django Portal >Reporter: Marcus Christie >Assignee: Marcus Christie >Priority: Major > > Upgrade Wagtail and Django versions to get Python 3.11 support -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (AIRAVATA-3698) Add support for Python 3.11
[ https://issues.apache.org/jira/browse/AIRAVATA-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17735463#comment-17735463 ] Marcus Christie edited comment on AIRAVATA-3698 at 6/21/23 6:45 PM: This is needed to fix the content_type in the content JSON blobs in the wagtailcore_revision table when migrating from wagtail 3.0 -> 4.0: {code:sql} UPDATE wagtailcore_revision SET content = json_replace( content, '$.content_type', ( SELECT content_type_id FROM wagtailcore_page p WHERE p.id = wagtailcore_revision.object_id ) ) ; {code} Note: this only works for SQLite. I need to create something similar for MariaDB as well. was (Author: marcuschristie): This is needed to fix the content_type in the content JSON blobs in the wagtailcore_revision table when migrating from wagtail 3.0 -> 4.0: {code:sql} UPDATE wagtailcore_revision SET content = json_replace( content, '$.content_type', ( SELECT content_type_id FROM wagtailcore_page p WHERE p.id = wagtailcore_revision.object_id ) ) ; {code} > Add support for Python 3.11 > --- > > Key: AIRAVATA-3698 > URL: https://issues.apache.org/jira/browse/AIRAVATA-3698 > Project: Airavata > Issue Type: Improvement > Components: Django Portal >Reporter: Marcus Christie >Assignee: Marcus Christie >Priority: Major > > Upgrade Wagtail and Django versions to get Python 3.11 support -- This message was sent by Atlassian Jira (v8.20.10#820010)
[GitHub] [airavata-mft] AYPfzU92g7M4aH39-ODVPzqxll48V commented on issue #104: Unable to install airavata-mft with Python3.11
AYPfzU92g7M4aH39-ODVPzqxll48V commented on issue #104: URL: https://github.com/apache/airavata-mft/issues/104#issuecomment-1601062544 **Description** Thank you for the reply. I installed the grpcio 1.51.1 and grpcio-tools 1.51.1 as I'm experimenting with python3.11 (>= "3.7"). The installations of grpcio and grpcio-tools were successful. But the installation of airavata-mft-cli failed. **To reproduce** I ran the following commands to install them with the required versions. The commands used to install grpcio and grpcio-tools are: 1) python3.11 -m pip install grpcio==1.51.1 2) python3.11 -m pip install grpcio-tools==1.51.1 The same can be seen in the following screenshot. https://github.com/apache/airavata-mft/assets/124709697/1a384cf4-a8ad-4cd3-98db-dd036f3d55f3;> After installing grpcio and grpcio-tools, I ran the following command to install the airavata-mft-cli -> python3.11 -m pip install airavata-mft-cli But the installation failed with the following error. -> ERROR: Could not build wheels for grpcio, grpcio-tools, which is required to install pyproject.toml-based projects This is the same error I got before too. This error can be seen in the following screenshot https://github.com/apache/airavata-mft/assets/124709697/d7926b15-3b54-457b-8e58-8a26b6a39b05;> **Expected Behavior** To install successfully **Additional Context 1** The System configuration is the same as the one mentioned in my [previous comment](https://github.com/apache/airavata-mft/issues/104#issue-1765660051) on this issue. And, all the commands are executed in a virtual environment which was created using the steps mentioned in my [previous comment](https://github.com/apache/airavata-mft/issues/104#issue-1765660051) on this issue **Additional Context 2** Before Installing grpcio and grpcio-tools I ran the following to uninstall all the previously installed versions of grpcio and grpcio-tools 1) python3.11 -m pip uninstall grpcio 2) python3.11 -m pip uninstall grpcio-tools -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@airavata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org