Skip to content

Commit 10179e2

Browse files
Starbuck5ankith26
authored andcommitted
Merge pull request #2395 from yunline/cython3
Bump cython to 3.0.0
1 parent 41a5231 commit 10179e2

File tree

12 files changed

+82364
-50050
lines changed

12 files changed

+82364
-50050
lines changed

.github/workflows/build-emsdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
# use the most recent cython from github, but pin on a commit for CI
4444
# stability. This is also needed to benefit from caching cython installs
45-
LATEST_CYTHON_COMMIT: 9366abc7d6700da7c98b3b1f169e4f2bfac28c54
45+
LATEST_CYTHON_COMMIT: 2f3a781dcca092ce95fbfef2736b12b0d1ab50dd # cython 3.0.0
4646

4747
WHEELHOUSE_CYTHON: /tmp/wheelhouse/cython
4848

buildconfig/stubs/pygame/_sdl2/video.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Texture:
6565
self,
6666
srcrect: Optional[RectValue] = None,
6767
dstrect: Optional[RectValue] = None,
68-
angle: int = 0,
68+
angle: float = 0.0,
6969
origin: Optional[Iterable[int]] = None,
7070
flip_x: bool = False,
7171
flip_y: bool = False,
@@ -105,7 +105,7 @@ class Image:
105105
texture_or_image: Union[Texture, Image],
106106
srcrect: Optional[RectValue] = None,
107107
) -> None: ...
108-
def get_rect(self, **kwargs: Any) -> Rect: ...
108+
def get_rect(self) -> Rect: ...
109109
def draw(
110110
self, srcrect: Optional[RectValue] = None, dstrect: Optional[RectValue] = None
111111
) -> None: ...

0 commit comments

Comments
 (0)