-
Notifications
You must be signed in to change notification settings - Fork 176
Update cython requirement from <3 to <4 #703
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
Conversation
The following labels could not be found: |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #703 +/- ##
==========================================
- Coverage 98.44% 97.01% -1.43%
==========================================
Files 32 32
Lines 2245 2243 -2
==========================================
- Hits 2210 2176 -34
- Misses 35 67 +32
☔ View full report in Codecov by Sentry. |
@dependabot rebase |
affff64
to
f0d0902
Compare
This PR is not changing --- a/pyproject.toml
+++ b/pyproject.toml
@@ -2,7 +2,7 @@
requires = [
"setuptools",
"wheel",
- "Cython<3",
+ "Cython<4",
]
build-backend = "setuptools.build_meta" Nevertheless just released + /usr/bin/python3 -sBm build -w --no-isolation
* Getting build dependencies for wheel...
running egg_info
creating fastavro.egg-info
writing fastavro.egg-info/PKG-INFO
writing dependency_links to fastavro.egg-info/dependency_links.txt
writing entry points to fastavro.egg-info/entry_points.txt
writing requirements to fastavro.egg-info/requires.txt
writing top-level names to fastavro.egg-info/top_level.txt
writing manifest file 'fastavro.egg-info/SOURCES.txt'
reading manifest file 'fastavro.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'conda.recipe'
warning: no files found matching '*.c' under directory 'fastavro'
adding license file 'LICENSE'
adding license file 'NOTICE.txt'
writing manifest file 'fastavro.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-38
creating build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/__init__.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/__main__.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/_logical_readers_py.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/_logical_writers_py.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/_read_common.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/_read_py.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/_schema_common.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/_schema_py.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/_validate_common.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/_validation_py.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/_write_common.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/_write_py.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/const.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/json_read.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/json_write.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/logical_readers.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/logical_writers.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/read.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/schema.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/types.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/utils.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/validation.py -> build/lib.linux-x86_64-cpython-38/fastavro
copying fastavro/write.py -> build/lib.linux-x86_64-cpython-38/fastavro
creating build/lib.linux-x86_64-cpython-38/fastavro/io
copying fastavro/io/__init__.py -> build/lib.linux-x86_64-cpython-38/fastavro/io
copying fastavro/io/binary_decoder.py -> build/lib.linux-x86_64-cpython-38/fastavro/io
copying fastavro/io/binary_encoder.py -> build/lib.linux-x86_64-cpython-38/fastavro/io
copying fastavro/io/json_decoder.py -> build/lib.linux-x86_64-cpython-38/fastavro/io
copying fastavro/io/json_encoder.py -> build/lib.linux-x86_64-cpython-38/fastavro/io
copying fastavro/io/parser.py -> build/lib.linux-x86_64-cpython-38/fastavro/io
copying fastavro/io/symbols.py -> build/lib.linux-x86_64-cpython-38/fastavro/io
creating build/lib.linux-x86_64-cpython-38/fastavro/repository
copying fastavro/repository/__init__.py -> build/lib.linux-x86_64-cpython-38/fastavro/repository
copying fastavro/repository/base.py -> build/lib.linux-x86_64-cpython-38/fastavro/repository
copying fastavro/repository/flat_dict.py -> build/lib.linux-x86_64-cpython-38/fastavro/repository
copying fastavro/py.typed -> build/lib.linux-x86_64-cpython-38/fastavro
running build_ext
Error compiling Cython file:
------------------------------------------------------------
...
writer_schema, named_schemas, offset, size, options,
)
class Block:
def __init__(
^
------------------------------------------------------------
fastavro/_read.pyx:966:4: Compiler crash in AnalyseDeclarationsTransform
File 'ModuleNode.py', line 203, in analyse_declarations: ModuleNode(_read.pyx:1:0,
doc = 'Python code for reading AVRO files',
full_module_name = 'fastavro._read')
File 'Nodes.py', line 393, in analyse_declarations: StatListNode(_read.pyx:10:0)
File 'Nodes.py', line 393, in analyse_declarations: StatListNode(_read.pyx:965:0)
File 'Nodes.py', line 5169, in analyse_declarations: PyClassDefNode(_read.pyx:965:0,
name = 'Block')
File 'Nodes.py', line 393, in analyse_declarations: StatListNode(_read.pyx:966:4)
File 'Nodes.py', line 2712, in analyse_declarations: CFuncDefNode(_read.pyx:966:4,
args = [...]/10,
modifiers = [...]/0,
outer_attrs = [...]/2,
overridable = True,
visibility = 'private')
File 'Nodes.py', line 2723, in declare_cpdef_wrapper: CFuncDefNode(_read.pyx:966:4,
args = [...]/10,
modifiers = [...]/0,
outer_attrs = [...]/2,
overridable = True,
visibility = 'private')
File 'Nodes.py', line 2789, in call_self_node: CFuncDefNode(_read.pyx:966:4,
args = [...]/10,
modifiers = [...]/0,
outer_attrs = [...]/2,
overridable = True,
visibility = 'private')
Compiler crash traceback from this point on:
File "/usr/lib64/python3.8/site-packages/Cython/Compiler/Nodes.py", line 2789, in call_self_node
type_entry = self.type.args[0].type.entry
AttributeError: 'PyObjectType' object has no attribute 'entry'
Compiling fastavro/_read.pyx because it changed.
[1/1] Cythonizing fastavro/_read.pyx
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/usr/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/lib/python3.8/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/usr/lib/python3.8/site-packages/setuptools/build_meta.py", line 416, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/usr/lib/python3.8/site-packages/setuptools/build_meta.py", line 401, in _build_with_temp_dir
self.run_setup()
File "/usr/lib/python3.8/site-packages/setuptools/build_meta.py", line 338, in run_setup
exec(code, locals())
File "<string>", line 37, in <module>
File "/usr/lib/python3.8/site-packages/setuptools/__init__.py", line 107, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/usr/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/usr/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/usr/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 349, in run
self.run_command("build")
File "/usr/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/usr/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/usr/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/usr/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
self.build_extensions()
File "/usr/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
self._build_extensions_serial()
File "/usr/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
self.build_extension(ext)
File "/usr/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 246, in build_extension
_build_ext.build_extension(self, ext)
File "/usr/lib64/python3.8/site-packages/Cython/Distutils/build_ext.py", line 122, in build_extension
new_ext = cythonize(
File "/usr/lib64/python3.8/site-packages/Cython/Build/Dependencies.py", line 1134, in cythonize
cythonize_one(*args)
File "/usr/lib64/python3.8/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: fastavro/_read.pyx
ERROR Backend subprocess exited when trying to invoke build_wheel |
@kloczek Good point. At some point I will take a look at the cython issue, but I'm hoping if I wait long enough it will mostly get solved. |
Feel free to add that to your PR 😋 |
Up I see that you already added that 👍 😄 |
A newer version of cython exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged. |
Updates the requirements on [cython](https://github.com/cython/cython) to permit the latest version. - [Release notes](https://github.com/cython/cython/releases) - [Changelog](https://github.com/cython/cython/blob/master/CHANGES.rst) - [Commits](cython/cython@0.9.6.14...3.0.0) --- updated-dependencies: - dependency-name: cython dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]>
917c092
to
78c2b14
Compare
Notes for the future:
|
Updates the requirements on cython to permit the latest version.
Changelog
Sourced from cython's changelog.
... (truncated)
Commits
2f3a781
Prepare release of Cython 3.0.0.ac4f0bb
Update changelog.039ef7c
In Py2, the extension type might get cleaned up before the objects at system ...8edd90a
Prepare second release candidate 3.0.0rc2.7efee97
Update changelog.c0a3556
Test including "complex.h" in MSVC (#5527)36a3702
Write the version to stderr as before, but only if stderr is actually capture...8169009
Update changelog and version.864e563
Support hex constants in enums (GH-5525)0c6141a
Document@cython
.with_gil (GH-5522)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)