Giter Club home page Giter Club logo

Comments (9)

miyagawa avatar miyagawa commented on July 1, 2024 2

I suggest closing this issue since it has nothing to do with the autobox's versioning scheme, and move to miyagawa/cpanminus#574 although i can't reproduce with the combination of cpanm, perl and version.pm that i have.

from autobox.

DrHyde avatar DrHyde commented on July 1, 2024

See also https://rt.cpan.org/Ticket/Display.html?id=125441

from autobox.

chocolateboy avatar chocolateboy commented on July 1, 2024

cc @Grinnz

from autobox.

Grinnz avatar Grinnz commented on July 1, 2024

That doesn't make sense. A version object will compare fine with a number.

perl -Mstrict -Mwarnings -Mversion -E'say version->declare("v3.0.1") >= "2.86" ? 1 : 0'                                               
1

from autobox.

Grinnz avatar Grinnz commented on July 1, 2024

What version of Perl, version.pm, and cpanm are you using?

from autobox.

JohnPeacock avatar JohnPeacock commented on July 1, 2024

Why isn't this a bug of cpanm? This block in particular is many many many different flavors of wrong:

                      ? $self->numify_ver($version) < $self->numify_ver($local)
                          ? "downgraded"
                          : "upgraded"
                      : undef;

from autobox.

JohnPeacock avatar JohnPeacock commented on July 1, 2024

ticket opened with App-cpanminus: miyagawa/cpanminus#574

from autobox.

Grinnz avatar Grinnz commented on July 1, 2024

Side note: a more common way to write requires 'autobox', '>= 2.86'; would be requires 'autobox', '2.86'; (version ranges are greater-than-or-equals by default).

from autobox.

chocolateboy avatar chocolateboy commented on July 1, 2024

Closing this as I can't reproduce it without more information on where the error occurs.

@DrHyde if you have more details, please provide them and I'll take another look.

from autobox.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.