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

Support for Mypy-1.9 #114

Merged
merged 2 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file.
## 1.0.4 (unreleased)
---------------------

- Nothing changed yet.
- Drop support for python-3.7 (follow mypy).
- Support for mypy up to 1.9.x


## 1.0.3 (2023-12-26)
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ classifiers =
Environment :: Console
Intended Audience :: Developers
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -28,7 +27,7 @@ packages =
zope-stubs
package_dir = =src
install_requires =
mypy>=1.0.0,<1.9.0
mypy>=1.0.0,<1.10.0
zope.interface
zope.schema
include_package_data = True
Expand Down
2 changes: 1 addition & 1 deletion tests/samples/interface_implications.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def main(obj: Optional[IBookmark]) -> None:
interface_implications.py:21: note: Revealed type is "__main__.IBookmark"
interface_implications.py:22: note: Revealed type is "Union[__main__.IBookmark, None]"
interface_implications.py:26: note: Revealed type is "Type[__main__.IBookmark]"
interface_implications.py:28: note: Revealed type is "Union[Type[__main__.IBookmark], Type[None]]"
interface_implications.py:28: note: Revealed type is "Type[None]"
interface_implications.py:29: note: Revealed type is "Union[Type[__main__.IBookmark], Type[None]]"
</output>
"""
Loading