Giter VIP home page Giter VIP logo

Comments (3)

architest avatar architest commented on August 25, 2024

from pymeeus.

anarcat avatar anarcat commented on August 25, 2024

we have similar failures in debian, even with the latest release (0.5.12). here's a build log against Debian unstable, which I believe is against Python 3.12:

pymeeus_0.5.12+dfsg1-1_amd64.build.txt

tests pass fine in Debian bookworm (python 3.11), which is really odd considering the reporter here says they fail in 3.9. so i'm not sure what's going on ... could this be flaky?

this was reported in Debian as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067290 and is a release critical bug, which means that it's keeping pymeeus from shipping in Debian (and a whole slew of dependencies as well, of course). :)

i hope that helps!

from pymeeus.

anarcat avatar anarcat commented on August 25, 2024

pytest 8.10.0 and python 3.9.

one thing I just noticed is that we're also testing with pytest 8 here in Debian unstable, while bookworm has the older 7.2. pytest 8 was a pretty big release, with lots of breaking changes:

https://docs.pytest.org/en/8.0.x/changelog.html#pytest-8-0-0rc1-2023-12-30

i can indeed confirm that upgrading pytest, even just on debian bookworm, suffices to reproduce this issue.

the pattern here is that _N is not set (and _x is either empty or not the expected size), which probably means that either _compute_parameters is not being called or set() is not being called. now this whole thing is like a weird magic box to me, but it seems to me that a change in the pytest runners could have changed the order of how the tests are called, which, in turn, would break such initialization routines.

@architest did you try testing with pytest 8?

update: HA! found it! it's 7.2 which deprecated plain setup()! PR coming up

from pymeeus.

Related Issues (17)

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.