Giter VIP home page Giter VIP logo

Comments (13)

gazpachoking avatar gazpachoking commented on May 26, 2024 1

I built pendulum 3.0 without the rust extensions. Try to grab this version, remove the .zip extension, then in your virtualenv run pip install path/to/downloaded/pendulum-3.0.0-py3-none-any.whl
pendulum-3.0.0-py3-none-any.whl.zip (EDIT: I put a broken build up at first, this is now edited to be the proper one.)

This isn't a permanent solution, but might work before we figure a better way.

from flexget.

gazpachoking avatar gazpachoking commented on May 26, 2024

Hmm, there should be precompiled wheels available. What platform are you on?

from flexget.

gazpachoking avatar gazpachoking commented on May 26, 2024

you could also try to set the environment variable PENDULUM_EXTENSIONS=0 before building. Either way, report back your platform. If this is a common issue I'd like to make installation go more smoothly somehow.

from flexget.

flexyboooy avatar flexyboooy commented on May 26, 2024

I tried again while setting PENDULUM_EXTENSIONS=0 before updating but got the same error.

This is on a Raspbian GNU/Linux 11.8 (bullseye) on ARMv7 (armv7l).

from flexget.

gazpachoking avatar gazpachoking commented on May 26, 2024

Here's the pendulum ticket for this issue. sdispater/pendulum#784

from flexget.

flexyboooy avatar flexyboooy commented on May 26, 2024

I tried that and it let me upgrade to flexget v3.11.2 but unfortunately then flexget failed to start.

Dec 28 14:53:49 hostmachine systemd[1]: Started FlexGet Daemon.
Dec 28 14:53:52 hostmachine flexget[26349]: Traceback (most recent call last):
Dec 28 14:53:52 hostmachine flexget[26349]:   File "/hostpath/flexget/bin/flexget", line 5, in <module>
Dec 28 14:53:52 hostmachine flexget[26349]:     from flexget import main
Dec 28 14:53:52 hostmachine flexget[26349]:   File "/hostpath/flexget/lib/python3.9/site-packages/flexget/__init__.py", line 11, in <module>
Dec 28 14:53:52 hostmachine flexget[26349]:     from flexget.manager import Manager
Dec 28 14:53:52 hostmachine flexget[26349]:   File "/hostpath/flexget/lib/python3.9/site-packages/flexget/manager.py", line 37, in <module>
Dec 28 14:53:52 hostmachine flexget[26349]:     from flexget.config_schema import ConfigError
Dec 28 14:53:52 hostmachine flexget[26349]:   File "/hostpath/flexget/lib/python3.9/site-packages/flexget/config_schema.py", line 15, in <module>
Dec 28 14:53:52 hostmachine flexget[26349]:     from flexget.utils import qualities, template
Dec 28 14:53:52 hostmachine flexget[26349]:   File "/hostpath/flexget/lib/python3.9/site-packages/flexget/utils/template.py", line 12, in <module>
Dec 28 14:53:52 hostmachine flexget[26349]:     import pendulum
Dec 28 14:53:52 hostmachine flexget[26349]: ModuleNotFoundError: No module named 'pendulum'
Dec 28 14:53:52 hostmachine systemd[1]: flexget.service: Main process exited, code=exited, status=1/FAILURE
Dec 28 14:53:52 hostmachine systemd[1]: flexget.service: Failed with result 'exit-code'.

I am going back to a fresh install of flexget==3.10.7 for now and wait it out.

Thank you!

from flexget.

gazpachoking avatar gazpachoking commented on May 26, 2024

Oops, sorry about that, I made a broken one at first and turns out I uploaded that accidentally. You could run pip uninstall pendulum in your virtualenv, then try again with the same procedure with this one.
pendulum-3.0.0-py3-none-any.whl.zip

from flexget.

gazpachoking avatar gazpachoking commented on May 26, 2024

Can everyone having this issue please post what platform you are on here? (what processor and OS) Is everybody with this issue on a 32 bit OS?

from flexget.

SpaceRat42 avatar SpaceRat42 commented on May 26, 2024

I'm experiencing the same or similar problem using Raspberry Pi OS () / 64 bit (Linux raspberryPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 / Raspbian GNU/Linux 11 (bullseye)).

After setting PENDULUM_EXTENSIONS=0, "pip install --upgrade flexget" results in:

Collecting pendulum==3.0.0 (from flexget)
  Using cached pendulum-3.0.0.tar.gz (84 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  Γ— Preparing metadata (pyproject.toml) did not run successfully.
  β”‚ exit code: 1
  ╰─> [10 lines of output]
      error: failed to parse manifest at `/tmp/pip-install-8nis1tmv/pendulum_ccb8c1e74cd34af4be45e580ac0b8b8a/rust/Cargo.toml`
      
      Caused by:
        invalid type: unit variant, expected string only for key `profile.release.strip`
      πŸ’₯ maturin failed
        Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
        Caused by: `cargo metadata` exited with an error:
      Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-7zb2146g', '--interpreter', '/usr/bin/python3']' returned non-zero exit status 1.
      Checking for Rust toolchain....
      Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-7zb2146g --interpreter /usr/bin/python3`
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

Γ— Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I also downgrade to 3.10.7 for the moment.

Big thanks for your great work and support!

from flexget.

flexyboooy avatar flexyboooy commented on May 26, 2024

Oops, sorry about that, I made a broken one at first and turns out I uploaded that accidentally. You could run pip uninstall pendulum in your virtualenv, then try again with the same procedure with this one. pendulum-3.0.0-py3-none-any.whl.zip

Ah, this one did it, I was able to upgrade and start Flexget: 3.11.2.

Again, thank you!

from flexget.

SpaceRat42 avatar SpaceRat42 commented on May 26, 2024

Just wantet to add, that my problem might be related to the mssion virtal environment. On a second Raspberry Pi (Raspberry Pi Bookworm / 64 bit), flexgte is installed in an virtual environment I was able to update to 3.11.3 without problems.

from flexget.

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.