Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Closed
Milestone
Description
Hello.astropy tests against the dev version of matplotlib by installinggit+https://github.com/matplotlib/matplotlib.git#egg=matplotlib (seehttps://github.com/astropy/astropy/blob/13c4faa2ef41624f0f454f16ded57043c2b1c4ec/tox.ini#L84). Unfortunately, this gives a dev version that is hard to check.
Example log using latest stable:https://github.com/astropy/astropy/runs/1807399647?check_suite_focus=true (Matplotlib: 3.3.4)
Example log using dev:https://github.com/astropy/astropy/runs/1807399544?check_suite_focus=true (Matplotlib: 3.3.2+2259.g30546931d)
As a result, I am not sure how to check if a given Matplotlib version is dev or not:
>>>frompackaging.versionimportVersion>>>stable=Version('3.3.4')>>>dev=Version('3.3.2+2259.g30546931d')>>>dev>stable# Expected: TrueFalse>>>dev.is_devrelease# Expected: TrueFalse
Any advise would be really appreciated. Thanks!
Metadata
Metadata
Assignees
Labels
No labels