Comments (11)
Additional important note: pip-installing sbpy does not cause this problem to occur.
from sbpy.
When I search on this error, I see a lot of references to upgrading or reinstalling numpy. Does pip installing sbpy affect the numpy version or does it pip install another numpy?
from sbpy.
No, the numpy version remains the same: 1.24.1.
The pip install of sbpy only installs the following:
Successfully installed MarkupSafe-2.1.2 ads-0.12.3 astroquery-0.4.6 beautifulsoup4-4.11.1 html5lib-1.1 httpretty-0.8.10 jaraco.classes-3.2.3 keyring-23.13.1 mock-5.0.1 more-itertools-9.0.0 pyvo-1.4 sbpy-0.3.0 soupsieve-2.3.2.post1 synphot-1.1.1 webencodings-0.5.1 werkzeug-2.2.2
from sbpy.
If it's any help, the conda install does work with no test collection failure for Python 3.6 and sbpy 0.2.2: this installs numpy 1.19.5 and astropy 3.2.3. However the issue resumes with Python 3.7 (sbpy 0.3.0, numpy 1.21.6, astropy 4.3.1).
from sbpy.
I'm still having this issue - any advice? We're looking to release soon, but we're unwilling to do so unless we can trust that a full conda environment will work without issues.
from sbpy.
@astronomerritt Apologies for missing this message! I do have a PR that updates a few things that might help. We'll get that merged ASAP.
from sbpy.
Although it may be we need to do a release, since you are installing via conda. That will still take a couple weeks.
But maybe re-building the conda package could address this? @mwcraig , is this something that can be done without a release? And if there is something that I can do to make it happen, let me know.
from sbpy.
Ah, got it. I'm seeing now that astropy
ignores this warning. If we do the same, then the tests should pass. We will need to make a new release.
from sbpy.
@astronomerritt In the meantime, are you able to add command line arguments to filter the warning out? Something like -W ignore:numpy.ndarray size changed:RuntimeWarning
The documentation on the warnings filter is at https://docs.python.org/3/library/warnings.html#warning-filter
from sbpy.
This is terrific news, thanks for getting back to this! We're absolutely fine to wait a couple weeks for the next conda release on this, our own release has been delayed, as these things often are.
from sbpy.
@mkelley -- we could patch the source in the conda recipe as a temporary workaround but since a new release is coming soon it seems better to wait.
from sbpy.
Related Issues (20)
- Fill Obs with reduced mangitude
- Manually add orbits to Orbit() HOT 2
- Phys from_sbpy fails for comets HOT 3
- Write observations to file in MPC and/or DES format HOT 3
- Allow measurement errors in `photometry.DiskIntegratedPhaseFunc.from_obs` method
- Resolve remote testing on PRs HOT 2
- Add `in` Operator for `DataClass`
- Observations not found for numerous objects which are in the MPC database HOT 2
- `sbpy.data.DataClass._translate_columns` bug? HOT 5
- `DataClass.__setitem__` doesn't check column names HOT 3
- HG12 fitting in photometry module can produce non-physical non-monotonic phase function fits HOT 15
- Hook into ASSIST?
- Notice: You might be using enable_deprecations_as_exceptions that is removed in astropy v6
- Website linked to 'latest' documentation HOT 5
- Conda installability for M1 mac HOT 6
- Use pip installable pyoorb for testing?
- Improve HG, HG12, etc. documentation HOT 4
- Adding functionality to unpack MPC's new LSST-era extended packed designation format HOT 1
- SpectralGradient.from_color is inverted for linear inputs
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 sbpy.