-
Notifications
You must be signed in to change notification settings - Fork 66
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
Consider fixing the python version for development #161
Comments
Some text from pipenv's website:
From: https://pipenv-fork.readthedocs.io/en/latest/basics.html#general-recommendations-version-control |
If this makes it easier for us to focus on shipping spiders and less on fixing dependencies I'm all for it. I wonder what the context for this decision was originally - supporting three versions was inherited when we forked the Pittsburgh City Scrapers project. This might be a mechanism for having some flexibility e.g. if a dependency doesn't yet support Python 3.8, we can just fall back to 3.7. That said, I can't recall any problems so far with changes to Python itself. To the points raised by the Pipenv docs, I would really like to keep Pipfile.lock because it gives us reproducible builds. I'm less attached to having multiple Python versions. tl;dr I see no problem with just sticking to Python 3.7 and bumping up the version number regularly. |
I talked about this with Bonnie a little bit after the meeting. I agree that keeping the lock file is a good idea, especially since we are running a daily cron job. We want that to have a consistent setup. Beyond that, I think we have some options. Some ideas are:
|
Some more things I learned:
|
We can discuss the pros and cons of this. Currently, we are running three different python versions through CI (3.6, 3.7, 3.8), and our documentation says that you can install any of those python versions. It might be worth just choosing a reasonable version of python and fixing it. It would help with Pipfile issues, for example. It would also make setup a little easier to debug, if we just enforce a single, known-to-work version of Python. Any thoughts?
The text was updated successfully, but these errors were encountered: