Skip to content

fix python version requirements #334

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

Merged
merged 1 commit into from
Oct 21, 2021
Merged

fix python version requirements #334

merged 1 commit into from
Oct 21, 2021

Conversation

alanag13
Copy link
Contributor

When running the cli on python 3.6.1 or 3.6.0, you will get

ImportError: cannot import name 'NoReturn'

On startup. This is because typing.NoReturn was not introduced until python 3.6.2, and ipython references this module.

This correctly updates our install requirements to require 3.6.2.

@alanag13 alanag13 requested a review from a team as a code owner October 21, 2021 19:01
@github-actions
Copy link

CLA Assistant Lite bot All contributors have signed the CLA ✍️

@@ -16,8 +16,7 @@ Use the `code42` command to interact with your Code42 environment.

## Requirements

- Python 3.6.0+
- Code42 Server 6.8.x+
Copy link
Contributor Author

Choose a reason for hiding this comment

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

got rid of this server reference because of on-prem deprecation

install_requires=[
"chardet",
"click>=7.1.1, <8",
"click_plugins>=1.1.1",
"colorama>=0.4.3",
"keyring==18.0.1",
"keyrings.alt==3.2.0",
"ipython>=7.16.1",
"ipython==7.16.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I pinned this version because theres a comment in ipython about versions later than it not supporting 3.6:
https://github.com/ipython/ipython/blob/967787ca35ad3e8731a34c26013ae32f875804a6/setup.py#L48

@alanag13 alanag13 merged commit 60faeeb into main Oct 21, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 21, 2021
@timabrmsn timabrmsn deleted the bugfix/fix-install-deps branch October 28, 2021 20:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants