Skip to content

Conversation

@ekalda
Copy link
Contributor

@ekalda ekalda commented Feb 28, 2022

Currently the CMake file for pyxir is looking for things in Python3.6,
so it needs to be upgraded to use 3.7 now that we have moved to use 3.7.
Otherwise the build fails since the 3.6 can't find the pyxir packages
which have moved to 3.7.

Additionally, there seems to be a problem with the newer version of
setuptools installing the pyxir libraries, so reverting these versions
to the previous versions as a workaround.

Note that this has to be done in two patches for the changes to go
through the current CI, this patch downgrades the pip and setuptools
versions.

@ekalda
Copy link
Contributor Author

ekalda commented Feb 28, 2022

@ekalda
Copy link
Contributor Author

ekalda commented Feb 28, 2022

cc: @leandron @driazati @jtuyls

Copy link
Contributor

@leandron leandron left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @ekalda!

Currently the CMake file for pyxir is looking for things in Python3.6,
so it needs to be upgraded to use 3.7 now that we have moved to use 3.7.
Otherwise the build fails when the docker images are updated since the
3.6 can't find the pyxir packages which have moved to 3.7.

Additionally, there seems to be a problem with the newer version of
setuptools installing the pyxir libraries, so reverting these versions
to the previous versions as a workaraound.

Note that this has to be done in two patches for the changes to go
through the current CI, this patch downgrades the pip and setuptools
versions.
@ekalda ekalda force-pushed the pyxir_python_version_fix branch from 94681ca to f5f74c4 Compare February 28, 2022 17:06
@ekalda ekalda changed the title [CI] Update the Python version of pyxir [CI] [1/2] Update the Python version of pyxir Feb 28, 2022
Copy link
Member

@driazati driazati left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! This looks good pending a successful docker image build after merging

@leandron leandron merged commit d101c50 into apache:main Mar 1, 2022
@leandron
Copy link
Contributor

leandron commented Mar 1, 2022

This is merged, thanks @ekalda @driazati

@ekalda ekalda deleted the pyxir_python_version_fix branch March 1, 2022 09:43
pfk-beta pushed a commit to pfk-beta/tvm that referenced this pull request Apr 11, 2022
Currently the CMake file for pyxir is looking for things in Python3.6,
so it needs to be upgraded to use 3.7 now that we have moved to use 3.7.
Otherwise the build fails when the docker images are updated since the
3.6 can't find the pyxir packages which have moved to 3.7.

Additionally, there seems to be a problem with the newer version of
setuptools installing the pyxir libraries, so reverting these versions
to the previous versions as a workaraound.

Note that this has to be done in two patches for the changes to go
through the current CI, this patch downgrades the pip and setuptools
versions.
@RookieTars
Copy link

An error occurred when I build demo_android:
ERROR: This script does not work on Python 3.6 The minimum supported Python version is 3.7. Please use https://bootstrap.pypa.io/pip/3.6/get-pip.py instead. The command '/bin/sh -c bash /install/ubuntu1804_install_python.sh' returned a non-zero code: 1
Is my problem caused by the unfinished job?

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