Comments (14)
@neutrinoceros It's not weird at all that pip
is involved on conda-forge; lots of projects have $PYTHON -m pip install --no-deps --no-build-isolation -vv .
as their canonical build step.
@mgrover1 Here's an example where the recipe for netcdf patches the source. Essentially, create a patch file (could be as easy as git diff > my.patch
) and list it under sources; conda-build will take care of applying it.
from pyart.
Hey @neutrinoceros, thanks for the heads up! @mgrover1 and I will keep an eye out and will get that tested and switched over as soon as possible. Thanks again!
from pyart.
Ohhh that is a good point - I will apply the patch and see if that resolves the issue.
from pyart.
There is an issue with numpy 2.0 and cython.. described here
cython/cython#6100 (comment)
from pyart.
@neutrinoceros More of a heads up, we were able to get the numpy wheels builds going etc, but we are still trying to figure out the cause of the cython errors in the mac os feedstock builds.
from pyart.
thanks for letting me know !
from pyart.
Reopening - unfortunately we cannot support this yet @neutrinoceros as we are running into conda-forge distribution errors. Until this is tested/sorted out, we are rolling back to oldest-supported-numpy
from pyart.
Not sure I get what the problem is. My understanding is that conda-forge has its own, unrelated mechanism for dealing with numpy ABI compatibility and numpy 2.0 isn't a concern yet from the standpoint of feedstock maintainers.
xref conda-forge/conda-forge.github.io#1997
from pyart.
We are seeing numerous cython related issues
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=917141&view=logs&j=9c5ef928-2cd6-52e5-dbe6-9d173a7d951b&t=20c71c51-4b27-578b-485d-06ade2de1d00&l=1608
from pyart.
the only thing that has changed as been moving from numpy 1 to 2
from pyart.
As far as I understand, conda-forge build bots do not even read build system metadata from pyproject.toml
, so I doubt this is where the problem is. However, it should be okay to apply any patch needed in that area directly in your conda-forge recipe, since building against numpy 2.0.0rc1 really just matters for PyPI wheels
from pyart.
I see that pip seems to be used in the conda-forge build process, which seems unusual (to me ?), so that might be why, but patching pyproject.toml
on conda-forge should be enough to resolve the matter without loosing numpy 2 compat in PyPI wheels.
from pyart.
Do you have an example of applying patches to conda-forge recipes?
from pyart.
Great - thanks @dopplershift !!
from pyart.
Related Issues (20)
- Ensure Xradar Data Model is Consistent in Py-ART HOT 1
- Freezing level masking in LP phase code makes invalid assumptions about scans for RHIs
- Incorrect sweep partitioning for RHIs at azimuth 0. when using the `determine_sweeps` method
- BUG: As of latest version of scipy, gaussian not imported at signal level
- Not be8ing able to write_grid_mdv properly HOT 11
- RoI calculation (in gridding routine) smear data too strongly, especially vs. z than vs. x and y (physically inconsistent) HOT 2
- Missing get_sweep_keys from xradar HOT 7
- BUG: PyGLPK Not Installed or Tested within Py-ART
- Composite Z bugs (issue and fix) HOT 8
- ENH: Update documentation of `hydroclass_semisupervised` for X band classification. HOT 3
- DOC: Add a blog post on phase processing with Py-ART HOT 1
- Probability of hail using pyart HOT 7
- describe the principles of a region-based algorithm using Py-ART in my paper HOT 1
- Level3 product with code 153 is not supported HOT 7
- An error occurred while reading CAPPI file:ValueError: negative dimensions are not allowed HOT 7
- Grid.projection being str not handled HOT 3
- FR: Export radar file after edit HOT 4
- inadequate RHOHV values in the radar file HOT 1
- Outdated NEXRAD location database HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyart.