-
Notifications
You must be signed in to change notification settings - Fork 80
[dependencies] update 3rd party dependencies #407
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
base: master
Are you sure you want to change the base?
Conversation
.github/workflows/python-app.yml
Outdated
| # stop the build if there are Python syntax errors or undefined names | ||
| flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
| # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
| flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use tox instead of using flake8 directly, and keep this within the tox configuration so that running tox -e flake8 has the same effect, and users can run that locally?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Github Actions were an experiment. We don't need them now, so I'll remove them.
|
Tip: add |
| 'tqdm==4.55.1', | ||
| 'tqdm', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably keep some limit, assuming we do not support just any version.
tests/requirements.txt
Outdated
| # via pipenv | ||
|
|
||
| # The following packages are considered to be unsafe in a requirements file: | ||
| # pip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It probably makes sense to remove this file in favor of tox.ini.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We discussed this on Slack.
requirements.txt and requirements-test.txt serve to document the versions of the libraries that passed the tests when the branch was merged.
| os.path.join(basepath, 'a', 'b')) | ||
|
|
||
|
|
||
| @unittest.skip('broken by changes in `click.invoke(input=)`') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then we should either address this in code or limit the upper version of click to a version we support in setup.py.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. This test is complicated yet unimportant, so not enough reason to downgrade click.
Also, there should be only minor changes on this release.
I'll leave this comment open to remind us to search or post an issue against click.
…' into update_dependencies
Remove pins to very old versions that produce conflicts with other tools used alongside Scrapy (#404).
Remove
requirements.inand rely onsetup.py.install_requires.Remove
pipfrom dependencies as mentioning it is deemed unsafe.Upgrade all libraries through
pip-compile --upgrade.Hopefully solve security warnings reported by dependabot.
This PR drops support for Python 2.7, 3.5, and 3.6.
fixes #406
fixes #412