Package Details: virtualfish 2.5.1-1

Git Clone URL: (read-only, click to copy)
Package Base: virtualfish
Description: Fish shell tool for managing Python virtual environments
Upstream URL:
Keywords: environment fish python virtual
Licenses: MIT
Submitter: XenGi
Maintainer: XenGi
Last Packager: XenGi
Votes: 6
Popularity: 0.147651
First Submitted: 2017-09-24 15:17
Last Updated: 2020-12-06 20:33

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

ruahcra commented on 2020-04-07 01:46

Virtualfish' Python script doesn't seem to be able to pickup the vendored

>vf ls
Traceback (most recent call last):
  File "/usr/bin/vf", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3259, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3242, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3271, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 584, in _build_master
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 901, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 787, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'xdg<5.0,>=4.0' distribution was not found and is required by virtualfish
>ll /usr/lib/python3.8/site-packages/virtualfish/loader/
-rw-r--r-- 1 root root 3.7K Apr  7 10:43 /usr/lib/python3.8/site-packages/virtualfish/loader/

XenGi commented on 2020-04-07 01:16

I added my 2 cents to the pull request upstream. Good idea btw.

It's amazing how much trouble this one line of code is causing down the road. If the package still complains about checksums try deleting the cached package. I had to do that because yay doesn't seem to recognize new files with unchanged filename.

avb commented on 2020-04-06 14:55

@XenGi: Thanks for your work on this. Copying in is probably easier to maintain, rather than potentially having to update the patch with every release. I also submitted a pull request upstream, in case they want to use pyxdg themselves.

javier.ruere commented on 2020-04-05 20:08

The checksum of fails, for me.

XenGi commented on 2020-04-05 15:49

I found another hacky way of dealing with until it's fixed. As the docs from the xdg package suggests I just copied the single file from the upstream package to the virtualfish dir. So it will import the correct file no matter what archlinux is installing. I know it's ugly but it's just temporary. I'm sorry.

XenGi commented on 2020-04-04 23:24

I removed the split package and will only build the python3 version from now on. Having a python2 version makes no sense. I also changed the name of the package from python-virtualfish to just virtualfish to comply with the arch package guidelines. As this package is not a python module but a tool written in python it doesn't need the python- prefix. As for the dependency problem. Arch packages pyxdg under the name python-xdg. virtualfish has a dependency on xdg which is a different library with a similar function. In my opinion the arch packages python-xdg and python2-xdg have the wrong name. They should be renamed to python-pyxdg and python2-pyxdg. That way someone could package the correct xdg under python-xdg and python2-xdg. I'll open up a thread for that change on the mailing list soon. for now I'll try to integrate the patch from avb. Many thx for that!

avb commented on 2020-04-04 19:35

Here's a patch that makes virtualfish work with Arch's python-xdg (and updates to 2.1.0).

avb commented on 2020-04-04 18:45

When attempting to run vf install after a clean install of this package, I get the following error:

pkg_resources.DistributionNotFound: The 'xdg<5.0,>=4.0' distribution was not found and is required by virtualfish

It looks like Arch install the pyxdg python package (in python-xdg) simply as xdg, but that is distinct from the xdg package on pypi that virtualfish expects to find. Activating the module with eval... in fish.config still works, but prints an annoying error message. The problem remains with v2.1.0 of virtualfish.

XenGi commented on 2018-10-23 19:35

@efficientbug this is a split package. That means it builds both, the python2 and the python3 version. After that it only installs the one you want. So if you want the python3 version just do a:

$aur_helper -S python-virtualfish

And for the python2 version use:

$aur_helper -S python2-virtualfish

There is no need to do:

$aur_helper -S virtualfish

After that you can use the virtualfish tool to create python2 and python3 virtualenvs with the -p flag.

efficientbug commented on 2018-10-23 02:20

Thanks for the package! However, I'm a bit confused about all the makedeps, why would I need python2 dependencies on this package if there's a separate python2-virtualfish? Arch defaults to Python 3 anyway, and I don't believe anything else is required even if you change the -p flag to use another version of Python.