-
Notifications
You must be signed in to change notification settings - Fork 14
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
Drop support Python 3.7, run tests on Python 3.11 #247
Merged
Commits on Dec 2, 2023
-
Drop support Python 3.7, run tests on Python 3.11
FontTools has dropped support for 3.7, thus we follow suit fonttools/fonttools#2879 fonttools/fonttools#2878
Configuration menu - View commit details
-
Copy full SHA for 420444a - Browse repository at this point
Copy the full SHA 420444aView commit details -
import generic abstract collections from typing module, instead of co…
…llections.abc Fixes TypeError on Python 3.8 https://github.com/fonttools/ufoLib2/actions/runs/3404749253/jobs/5662213808
Configuration menu - View commit details
-
Copy full SHA for 2f24905 - Browse repository at this point
Copy the full SHA 2f24905View commit details -
remove typing_extensions from install_requires
No longer needed since we target >= 3.8 now
Configuration menu - View commit details
-
Copy full SHA for 36684d4 - Browse repository at this point
Copy the full SHA 36684d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 488a5b8 - Browse repository at this point
Copy the full SHA 488a5b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87ce061 - Browse repository at this point
Copy the full SHA 87ce061View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01a5ced - Browse repository at this point
Copy the full SHA 01a5cedView commit details -
I don’t understand what these are: src/ufoLib2/serde/__init__.py:91: error: Argument 1 to "classmethod" has incompatible type "Callable[[Type[T], Union[str, bytes], NamedArg(Callable[..., T]), KwArg(Any)], T]"; expected "Callable[[Type[_T], Union[str, bytes], NamedArg(Callable[..., _T]), KwArg(Any)], _T]" [arg-type] src/ufoLib2/serde/__init__.py:91: note: This is likely because "_loads" has named arguments: "cls". Consider marking them positional-only src/ufoLib2/serde/__init__.py:91: error: Argument 1 to "classmethod" has incompatible type "Callable[[Type[T], Union[str, bytes], NamedArg(Callable[..., T]), KwArg(Any)], T]"; expected "Callable[[Type[Any], Union[str, bytes], NamedArg(Callable[..., Any]), KwArg(Any)], Any]" [arg-type] src/ufoLib2/serde/__init__.py:96: error: Argument 1 to "classmethod" has incompatible type "Callable[[Type[T], Union[Union[str, bytes, PathLike[str], PathLike[bytes]], IO[AnyStr]], NamedArg(Callable[..., T]), KwArg(Any)], T]"; expected "Callable[[Type[_T], Union[str, bytes, PathLike[str], PathLike[bytes], IO[AnyStr]], NamedArg(Callable[..., _T]), KwArg(Any)], _T]" [arg-type] src/ufoLib2/serde/__init__.py:96: note: This is likely because "_load" has named arguments: "cls". Consider marking them positional-only src/ufoLib2/serde/__init__.py:96: error: Argument 1 to "classmethod" has incompatible type "Callable[[Type[T], Union[Union[str, bytes, PathLike[str], PathLike[bytes]], IO[AnyStr]], NamedArg(Callable[..., T]), KwArg(Any)], T]"; expected "Callable[[Type[Any], Union[str, bytes, PathLike[str], PathLike[bytes], IO[AnyStr]], NamedArg(Callable[..., Any]), KwArg(Any)], Any]" [arg-type]
Configuration menu - View commit details
-
Copy full SHA for c06fc18 - Browse repository at this point
Copy the full SHA c06fc18View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.