Giter VIP home page Giter VIP logo

Comments (9)

buzz avatar buzz commented on May 28, 2024 1

I'm not sure what is the right thing to do to force a rebuild in case of a Python version upgrade. Bumping the revision number would still leave a time window in which the package would break for users unless AUR package authors would closely monitor the Python package version and bump in the exact right moment.

I found this which is the exact same case (for Python 3.5 to 3.6 switch). Personally I just rebuilt my AUR Python 3.8 packages by looking into what was left inside /usr/lib/python3.8/site-packages. Pretty much what is also suggested in the aforementioned thread.

If there's some recommended, foolproof way of automating rebuilds, I'll be happy to add it to the package.

from volctl.

buzz avatar buzz commented on May 28, 2024

If you'd provide more specifics, I might be able to help you.

from volctl.

Narrat avatar Narrat commented on May 28, 2024

Kinda sounds like a missing rebuild for python 3.9

from volctl.

MoSchaub avatar MoSchaub commented on May 28, 2024

How can I get the missing rebuild?

from volctl.

Narrat avatar Narrat commented on May 28, 2024

You probably need to do it as this is only available from the AUR. And those are built from source.
Rebuild it with makepkg or the AUR helper of your choice

from volctl.

dotfoo avatar dotfoo commented on May 28, 2024

If you'd provide more specifics, I might be able to help you.

I'll provide it:

Traceback (most recent call last):
  File "/usr/bin/volctl", line 33, in <module>
    sys.exit(load_entry_point('volctl==0.8.0', 'gui_scripts', 'volctl')())
  File "/usr/bin/volctl", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution
    return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: volctl

I did a fresh pull and rebuilt, with the same result. I also happen to have an older version (0.6.3-1) around, which throws the same error.

I did a huge update yesterday -- many Python packages where upgraded -- so can't really do some simple downgrades to see where the error is coming from.

Hope this helps.

from volctl.

buzz avatar buzz commented on May 28, 2024

@dotfoo

The volctl Python package is not found on your system. Without knowing your Linux distro and installation method, it's only a shot in the dark. If you're on Arch, just use whatever AUR helper suits you or clone the repo and use makepkg manually.

On other distros you should probably clone the repo and sudo ./setup.py install manually, use a virtualenv or use another method of installation which is appropriate for your distro.

from volctl.

dotfoo avatar dotfoo commented on May 28, 2024

Oh, sure, I am coming from an Arch system, and had built the package from AUR. Sorry that I wasn't clear about this yet.

Unfortunately I'm not close to this machine and can't test the packet again. I do realise that I actually didn't rebuild, but rather only reinstalled it.

I'll let you know once I've rebuilt and reinstalled it again.

from volctl.

dotfoo avatar dotfoo commented on May 28, 2024

Allright, I did a rebuild now it is working again. Sorry for the hassle.

Would you mind to bump the revision number over in AUR? I don't use any AUR helper myself, but I guess this might be happening on other machines as well.

from volctl.

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.