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

Test with Python 3.9 and TF 2.5 #490

Merged
merged 5 commits into from
Feb 7, 2022
Merged

Conversation

uri-granta
Copy link
Collaborator

No description provided.

@uri-granta uri-granta linked an issue Feb 4, 2022 that may be closed by this pull request
@uri-granta uri-granta marked this pull request as ready for review February 4, 2022 07:52
@uri-granta uri-granta changed the title Test with Python 3.8 and TF 2.5 Test with Python 3.9 and TF 2.5 Feb 4, 2022
@@ -24,29 +24,36 @@ extend-exclude = docs/notebooks/,.venv

[testenv]
basepython = python3.7
deps = pip~=20.3
deps = pip
Copy link
Collaborator

Choose a reason for hiding this comment

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

will this potentially mean an old pip version will be used?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This should use the latest version (which we were explicitly doing anyway in most of the commands via a pip install).

types: pip install -r common_build/types/requirements.txt -c common_build/types/constraints.txt
types: mypy
types: mypy {posargs}
Copy link
Collaborator

Choose a reason for hiding this comment

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

where from are these {posargs} coming from?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

They're passed in on the command line. Hence to run the slow tests we can now run "tox -e tests -- --runslow yes" instead of having a whole different tox job. This also lets you run just one test or type check just one file if you want to.

Copy link
Collaborator

@hstojic hstojic left a comment

Choose a reason for hiding this comment

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

seems ok to me, just some minor comments

@uri-granta uri-granta merged commit 4983914 into develop Feb 7, 2022
@uri-granta uri-granta deleted the uri/test_with_py38_tf25 branch February 7, 2022 15:36
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

Successfully merging this pull request may close these issues.

Test with multiple versions of Python
2 participants