Package Details: konsave 2.2.0-2

Git Clone URL: https://aur.archlinux.org/konsave.git (read-only, click to copy)
Package Base: konsave
Description: Save and apply your KDE Plasma customizations with just one command!
Upstream URL: https://github.com/Prayag2/konsave
Licenses: GPL3
Submitter: zhixi
Maintainer: brody
Last Packager: brody
Votes: 13
Popularity: 1.56
First Submitted: 2021-03-06 09:32 (UTC)
Last Updated: 2023-05-04 07:28 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

brody commented on 2023-05-04 18:08 (UTC)

I understand your reasoning. And normally I also use double quotes for variables. However, Shellcheck is of limited use here. I would even argue that it reflects a false positive, since all variables are known. And all of them (url, pkgname, pkgver) must not contain spaces. The bottom line is that the feared error case cannot happen at all.

mehrad commented on 2023-05-04 14:49 (UTC)

in the latest update you have removed the double quotes from addresses which contains a variable. This is a bad practice. I suggest running shellcheck on your PKGBUILD before pushing.

ishaanbhimwal commented on 2022-03-31 14:05 (UTC)

Anybody getting this error can modify the requires.txt file to use a latest version of PyYaml:

pkg_resources.DistributionNotFound: The 'PyYaml==5.4.1' distribution was not found and is required by Konsave
sudo sed -i 's/PyYaml==5.4.1/PyYaml>=5.4.1/g' /usr/lib/python3.10/site-packages/Konsave-2.1.1-py3.10.egg-info/requires.txt

nmiculinic commented on 2021-04-01 14:57 (UTC)

LookupError: setuptools-scm was unable to detect version for '/home/nmiculinic/.cache/yay/konsave/src/konsave-1.1.9'.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

still having the same issue with installation

brody commented on 2021-03-21 17:44 (UTC)

@moonglade please refer to my comment of March 8.

Moonglade commented on 2021-03-21 17:09 (UTC)

It fails to build with the error: LookupError: setuptools-scm was unable to detect version for '/home/<user>/.cache/paru/clone/konsave/src/konsave-1.1.9'.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

I replaced my username with <user> btw, just to clarify.

al3xis commented on 2021-03-13 18:34 (UTC) (edited on 2021-03-13 20:25 (UTC) by al3xis)

Version 1.1.6 works fine ;) But I see a new version already on GitHub. Update: Thanks, got the update to 1.1.7 already!

nmiculinic commented on 2021-03-10 09:06 (UTC)

Cannot install konsave 1.1.5-1

==> Starting build()...
Traceback (most recent call last):
  File "/home/nmiculinic/.cache/yay/konsave/src/konsave-1.1.5/setup.py", line 9, in <module>
    setup(
  File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.9/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 432, in __init__
    _Distribution.__init__(self, {
  File "/usr/lib/python3.9/distutils/dist.py", line 292, in __init__
    self.finalize_options()
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 708, in finalize_options
    ep(self)
  File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 715, in _finalize_setup_keywords
    ep.load()(self, ep.name, value)
  File "/usr/lib/python3.9/site-packages/setuptools_scm/integration.py", line 26, in version_keyword
    dist.metadata.version = _get_version(config)
  File "/usr/lib/python3.9/site-packages/setuptools_scm/__init__.py", line 173, in _get_version
    parsed_version = _do_parse(config)
  File "/usr/lib/python3.9/site-packages/setuptools_scm/__init__.py", line 134, in _do_parse
    raise LookupError(
LookupError: setuptools-scm was unable to detect version for '/home/nmiculinic/.cache/yay/konsave/src/konsave-1.1.5'.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj

prayagjain commented on 2021-03-09 14:15 (UTC)

Thank you for updating it!

salamander commented on 2021-03-09 09:34 (UTC)

thanks a lot for your help.

@zhixi: indeed, it seems my aur helper of choice (paru) is the culprit, so i will try as you suggested.