Giter Site home page Giter Site logo

Comments (7)

Lawouach avatar Lawouach commented on June 11, 2024

Good catch. Thanks.

Python 3.12 has broken dependencies in many places. You probably need to report that Pendulum or Maya. Maybe also look at sdispater/pendulum#696 for ideas?

Alternatively we may need to rewrite the plugin to get rid of these two and switch to a more modern/maintained lib.

from chaostoolkit.

binbjz avatar binbjz commented on June 11, 2024

It seems that Pendulum has a new version that now supports 3.12.

from chaostoolkit.

Lawouach avatar Lawouach commented on June 11, 2024

If you're successful, let me know, maybe we could pin it in the plugin at least.

from chaostoolkit.

binbjz avatar binbjz commented on June 11, 2024

But Pendulum latest version is Pre-release. I have installed it successfully for python 3.12.

$ python -V
Python 3.12.0

$ pip install Pendulum==3.0.0b1
Collecting Pendulum==3.0.0b1
  Downloading pendulum-3.0.0b1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (7.0 kB)
Requirement already satisfied: python-dateutil<3.0,>=2.6 in ./venv_3120/lib/python3.12/site-packages (from Pendulum==3.0.0b1) (2.8.2)
Requirement already satisfied: tzdata>=2020.1 in ./venv_3120/lib/python3.12/site-packages (from Pendulum==3.0.0b1) (2023.3)
Collecting time-machine<3.0.0,>=2.6.0 (from Pendulum==3.0.0b1)
  Downloading time_machine-2.13.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (21 kB)
Requirement already satisfied: six>=1.5 in ./venv_3120/lib/python3.12/site-packages (from python-dateutil<3.0,>=2.6->Pendulum==3.0.0b1) (1.16.0)
Downloading pendulum-3.0.0b1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (338 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 338.4/338.4 kB 1.4 MB/s eta 0:00:00
Downloading time_machine-2.13.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (33 kB)
Installing collected packages: time-machine, Pendulum
Successfully installed Pendulum-3.0.0b1 time-machine-2.13.0

from chaostoolkit.

Lawouach avatar Lawouach commented on June 11, 2024

Thanks. Does it fix the issue with the plugin?

from chaostoolkit.

binbjz avatar binbjz commented on June 11, 2024

Thanks. Does it fix the issue with the plugin?

I think it should have fixed this issue by now, but using the release version might be safer.

from chaostoolkit.

binbjz avatar binbjz commented on June 11, 2024

The problem has been resolved.

from chaostoolkit.

Related Issues (20)

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.