Repository navigation
astropy.units.core.UnitConversionError: 's / m' and 's / m' are not convertible #587
Description
Activity
- addedbugIssues describing unexpected behavior or defects. Remember: a bug is a sign of a missing test!Issues describing unexpected behavior or defects. Remember: a bug is a sign of a missing test!priority: very highIssues & PRs of the highest urgency (e.g., broken CI and critical bug fixes)Issues & PRs of the highest urgency (e.g., broken CI and critical bug fixes)upstream fix requiredIssues & PRs that are blocked due to a problem with a dependencyIssues & PRs that are blocked due to a problem with a dependency
on Dec 11, 2018 Looks like this is going to be fixed for Astropy 3.1.1 in astropy/astropy#8263 which leaves us to figure out how to block 3.1 in requirements. Basically we want to say
Astropy >= 3.0.2 & Astropy != 3.1.0"I could find only this as the package installation file having astropy. Should this be made to
Astropy >= 3.0.2 & Astropy != 3.1.0"or I am missing something?astropy (>= 2.0) @manasbedmutha98 Yep, modifying that line to a format which requirements.txt accepts would be the way to go. I think replacing it with something like
astropy (>= 3.0.2, != 3.1.0)should work.Perhaps it would be also be a good idea to add a comment in requirements.txt referencing this issue for why we do not want
astropy v3.1.0.Wait. This doesn't seems to be working. If I
pip install "astropy==3.1.0"and then modify the astropy line inrequirements.txttoastropy (>= 3.0.2, != 3.1.0). It doesn't seem to install a different version (anything other thanv3.1.0) when runningpython setup.py install.This seems a problem specific to PlasmaPy as I am able to create a dummy
test.txtwith a line containingastropy (>= 3.0.2, != 3.1.0)and then when installing it withpip install -r test.txtit indeed downgrades tov3.0.5fromv3.1.0.
https://travis-ci.org/PlasmaPy/PlasmaPy/jobs/466396211
After wrestling with system packages (
conda,pipandpacman, argh!), I've managed to figure out that this is localized toastropy3.1. Also, runningpython setup.py test -dand getting intoplasmapy.physics.distribution.Maxwellian_1D: