Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dev version hard to check #19419

Closed
Closed
Milestone
@pllim

Description

@pllim

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!

xrefastropy/astropy#11267

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp