Skip to content
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

MNT: Support Cython 3.0 #1440

Merged
merged 10 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion continuous_integration/environment-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ dependencies:
- pytest-cov
- pytest-mpl
- coveralls
- libnetcdf<=4.9.1
- flake8
- Cython
- fsspec
- glpk
- cftime
Expand Down
2 changes: 1 addition & 1 deletion pyart/map/grid_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def map_to_grid(
toa=17000.0,
copy_field_data=True,
algorithm="kd_tree",
leafsize=10.0,
leafsize=10,
roi_func="dist_beam",
constant_roi=None,
z_factor=0.05,
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,5 +273,7 @@ def check_rsl_path(rsl_lib_path, rsl_include_path):
"version_scheme": "post-release",
"local_scheme": "dirty-tag",
},
ext_modules=cythonize(extensions, compiler_directives={"language_level": "3"}),
ext_modules=cythonize(
extensions, compiler_directives={"language_level": "3", "cpow": True}
),
)