Skip to content

Commit 2fa9798

Browse files
authored
Remove workaround for cython/cython#3291 (ipython#15033)
2 parents fafc679 + 3023e6c commit 2fa9798

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.github/workflows/nightly-wheel-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v6
1919
with:
20-
python-version: "3.13"
20+
python-version: "3.14"
2121
cache: pip
2222
cache-dependency-path: |
2323
pyproject.toml

IPython/utils/py3compat.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,3 @@ def execfile(fname, glob, loc=None, compiler=None):
5757

5858

5959
PYPY = platform.python_implementation() == "PyPy"
60-
61-
62-
# Cython still rely on that as a Dec 28 2019
63-
# See https://github.com/cython/cython/pull/3291 and
64-
# https://github.com/ipython/ipython/issues/12068
65-
def no_code(x, encoding=None):
66-
return x
67-
68-
69-
unicode_to_str = cast_bytes_py2 = no_code

0 commit comments

Comments
 (0)