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

Update constraints and pin mypy #100

Merged
merged 3 commits into from
Jun 11, 2021
Merged

Update constraints and pin mypy #100

merged 3 commits into from
Jun 11, 2021

Conversation

bmw
Copy link
Member

@bmw bmw commented Jun 9, 2021

These constraints hadn't been updated since we added mypy to our dev or tests extras so mypy wasn't pinned and a new release came out yesterday causing our tests to fail. This PR adds mypy to constraints and pins it to the previously working version for now.

Additionally, the constraints file wasn't being used in the tox config for mypy. To fix this, I moved mypy to the test extras and deleted the mypy deps setting in the tox config so it is inherited from the default testenv which uses the constraints file.

I also added quotes around .[dev,tests] because without it zsh complains:

$ python3 -m pip install -e .[dev,tests] && pip freeze
zsh: no matches found: .[dev,tests]

@bmw bmw changed the title Update constraints and fix tests Update constraints and pin mypy Jun 9, 2021
@bmw bmw closed this Jun 9, 2021
@bmw bmw reopened this Jun 9, 2021
@bmw bmw closed this Jun 10, 2021
@bmw bmw reopened this Jun 10, 2021
@bmw bmw closed this Jun 10, 2021
@bmw bmw reopened this Jun 10, 2021
@bmw
Copy link
Member Author

bmw commented Jun 10, 2021

Tests are finally running. They broke on old versions of Python, but I fixed it and created #101 describing the problem.

Copy link
Contributor

@ohemorange ohemorange left a comment

Choose a reason for hiding this comment

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

lgtm

@ohemorange ohemorange merged commit d0eee7f into master Jun 11, 2021
@ohemorange ohemorange deleted the pin-mypy branch June 11, 2021 20:49
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.

2 participants