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

Support for Python 3.9 #332

Open
syedhassaanahmed opened this issue Apr 15, 2021 · 9 comments
Open

Support for Python 3.9 #332

syedhassaanahmed opened this issue Apr 15, 2021 · 9 comments
Labels
enhancement New feature or request InBacklog

Comments

@syedhassaanahmed
Copy link

Current latest version of iotedgehubdev (v0.14.6) doesn't support Python 3.9. When users with Python 3.9 perform pip install, v0.11.1 gets installed because of the way setup.py was defined in v0.11.1.

Are there specific reasons for excluding Python 3.9?

@mhshami01
Copy link
Contributor

Hello @syedhassaanahmed. Thank you for your input. We have it in our backlog to support Python 3.9.

@mhshami01 mhshami01 added enhancement New feature or request InBacklog labels Apr 16, 2021
@hammar
Copy link
Member

hammar commented Jan 18, 2022

Since Python 3.9 is the standard python3 in MacOS 12/Monterey, this issue now effectively touches every IoT Edge dev using MacOS.

@syedhassaanahmed
Copy link
Author

@mhshami01 Any ETA on this issue?

@typecasto
Copy link

Having this same thing happen to me on 3.10, vscode is nagging me to upgrade to a version that I can't even install.

@marianan
Copy link
Collaborator

Python 3.9 has been supported since version 0.14.12 (released on Mar 1st, 2022) - https://github.com/Azure/iotedgehubdev/blob/main/CHANGELOG.md. If you are experiencing issues, please share detailed repro env and repro steps and we will investigate the root cause.

@derSchtefan
Copy link

Yes,

Having this same thing happen to me on 3.10, vscode is nagging me to upgrade to a version that I can't even install.

We have the same issue with 3.10. 3.9 works, but 3.10 only installs an 0.11.x version absurdly

@typecasto
Copy link

typecasto commented May 24, 2022

If you are experiencing issues, please share detailed repro env and repro steps and we will investigate the root cause.

Repro env:
Dockerfile containing the following:

FROM python:3.10
RUN pip install iotedgehubdev
CMD iotedgehubdev --version

Repro steps:
docker build . --tag reproenv; docker run --rm reproenv

Output:
iotedgehubdev, version 0.11.1

@marianan
Copy link
Collaborator

@derSchtefan @thecakeisalie25 thanks for the quick reply. Python 3.10 is not supported at this time.

@typecasto
Copy link

Python 3.10 is not supported at this time.

Ah. Is there any way I can just force it to install and run under 3.10 anyway? For some reason vscode won't recognize it as installed if it's in a virtual env, and i'm not willing to downgrade my system install of python to use it.

It does install and run just fine under 3.10, it just installs an outdated version of it.

Also, any eta on supporting 3.10 and 3.11?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request InBacklog
Projects
None yet
Development

No branches or pull requests

6 participants