Skip to content

Conversation

da-woods
Copy link
Contributor

Fixes #5873

@da-woods da-woods added this to the 3.0.x milestone Nov 26, 2023
@@ -57,19 +48,27 @@ cdef struct S:
int x

cdef public api void cdef_func() # just to test generation of headers

############ 测试.py #############
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Google translate tells me this translates as "test"

I want to backport this PR so they aren't useful right now
@scoder
Copy link
Contributor

scoder commented Nov 27, 2023

We should change the I/O encoding used in EndToEnd tests to UTF-8:
scoder@75aa6cb
Let me quickly try this in CI and then push it to master if it works.

@scoder scoder merged commit f0bc01d into cython:master Nov 28, 2023
scoder pushed a commit that referenced this pull request Nov 28, 2023
… and avoid potentially failing to do so.

Closes #5873
@scoder
Copy link
Contributor

scoder commented Nov 28, 2023

3.0.x commit: a6fecd0

@da-woods da-woods deleted the nonlatin1-mod-names branch November 28, 2023 08:55
scoder added a commit that referenced this pull request Nov 28, 2023
This reverts commit a6fecd0.

Reverted due to missing changes that are currently only available in Cython 3.1.
@da-woods
Copy link
Contributor Author

Could we pick the fix but not the test into 3.0.x? I think it's only writing the test output that's the problem and there's no reason not to have the fix?

scoder added a commit that referenced this pull request Nov 29, 2023
…ils in the stable 3.0 branch for other reasons).

Closes #5873
@scoder
Copy link
Contributor

scoder commented Nov 29, 2023

pick the fix but not the test into 3.0.x

Done in 6ec1291

@scoder scoder modified the milestones: 3.0.x, 3.0.7 Nov 29, 2023
clrpackages pushed a commit to clearlinux-pkgs/pypi-cython that referenced this pull request Dec 22, 2023
…on 3.0.7

Stefan Behnel (10):
      Set the encoding used in EndToEnd tests to UTF-8 on all platforms since we read it from a pipe anyway and don't want to care about platform specific encoding issues.
      Revert "Avoid writing non-latin1 module names in the file (GH-5874)"
      Revert "Set the encoding used in EndToEnd tests to UTF-8 on all platforms since we read it from a pipe anyway and don't want to care about platform specific encoding issues."
      Manually apply the safe fix from cython/cython#5874 but without the test (which fails in the stable 3.0 branch for other reasons).
      Fix a set usage bug in Errors.warn_once().
      Update changelog.
      Update changelog.
      Update changelog.
      Prepare release of 3.0.7.
      Update changelog.

da-woods (6):
      Avoid writing non-latin1 module names in the file (GH-5874)
      Clarify performance hint wording (#5883)
      Fix an issue trying list.index indexing in FusedNode (#5896)
      Fix some exceptions in the unicode cimports (#5902)
      Fix conflicting enum to_py function with multiple modules (#5887)
      Fix await/yield/yield from in genexpression iteration (GH-5898)
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.

[BUG] Unable to encrypt Chinese function
2 participants