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

Options for python_requires directive? #13

Closed
hglick opened this issue Nov 22, 2022 · 2 comments
Closed

Options for python_requires directive? #13

hglick opened this issue Nov 22, 2022 · 2 comments

Comments

@hglick
Copy link

hglick commented Nov 22, 2022

First off, this is a much needed module that will keep many of us from jumping back and forth between Python and JS for the ease of object inspection. Thank you for your efforts.

I am currently working out of a Jupyter Lab setup built off a modified Docker image. The base structure is complicated enough that I don't want to tinker with it much, but my issue is that the image has python 3.7.1. The eerepr setup.cfg file has a python_requires directive of >=3.8, which made pip installing impossible. I manually cloned the repo from github, modified the file to accept 3.7.1, and ran an install from within my computing environment. It seems to work fine under light casual testing. So my question: Is the >=3.8 directive in place because of known issues with earlier versions of python, or is it possible (though perhaps untested), that your module works fine with <3.8?

@aazuspan
Copy link
Owner

Hi @hglick, sorry for the hassle with the install, but I'm glad you're finding it useful.

I'm following the Numpy Python support schedule which dropped 3.7 support last year, but I doubt you'll run into any issues with 3.7. As you guessed, it's just untested with earlier Python versions.

For future reference or if anyone else comes across this issue, running pip install eerepr --ignore-requires-python should allow you to install into a <3.8 environment.

@hglick
Copy link
Author

hglick commented Nov 23, 2022

Many thanks for the response, @aazuspan . Great to hear that you don't think 3.7 will be an issue. I wasn't aware of the --ignore-requires-python, which I suspect will resolve a number of my current workflow struggles, so I certainly appreciate the tip. I'll post again if I see any other hiccups.

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

No branches or pull requests

2 participants