Closed BachoSeven closed 4 years ago
Hi @BachoSeven , did you try a virtualenv? Conflicts between dependencies on installed packages are pretty common.
However, I've updated the project, using poetry now and updated all deps, so this shoulD work now for you.
I was able to install through pip
, but it looks like it's 2.0.1, while your last release here is 3.0.0a. I also think it's not updated because typing katcr --help
does not show the --engines
option, for instance.
Hi @BachoSeven I've just uploaded "katcr-3.0.0a0" to pypi, have in account that its an alpha.
This is basically an "emergency" alpha, as most torrent providers had died or changed radically their webpages. (I.E, tpb using javascript...) making previous version hardly usable except with jackett.
It comes with major changes (and some drawbacks 😢 )
Basically, as improvements:
As drawbacks:
That sounds great, especially about the Jackett support, I actually discovered katcr
while looking for a nice cli tool for Jackett, I agree that using Jackett is gonna be more reliable than manually updating the torrent sites
P.S. I'll try to make an AUR package for this tool sometime soon
The AUR package would be really nice!
I just improved the jackett support a bit, it wasnt working with torrentstream, and I've added a configuration file to store the api key and URL.
Hei, I've been trying to make the AUR package, but I have some technical difficulties, since on Arch I need to follow the Packaging Guidelines, which means I cannot use pip
to install, but rather I have to add all necessary dependencies. Moreover, since not all dependencies listed in pyproject.toml
were present in Arch/AUR, I went ahead and packaged some of them, and some of the dependencies of the dependencies(...)
Unfortunately, even after doing all that, the tests fail because, being on Arch, robobrowser
pulls in the latest version of werkzeug
, rather than 0.16.1
as required by your torrentmirror
package. So, the unsolved library breakings (see 1, 2) introduced in robobrowser by newer versions of werkzeug make the tests fail. robobrowser
seems to be unmaintained, so do you think I should make a package for werkzeug
==0.16?
If you would not mind(it would make things a lot easier), you could try using the workaround shown here: Namely, adding
import werkzeug
werkzeug.cached_property = werkzeug.utils.cached_property
BEFORE import robobrowser
, so in our case it would be necessary here for torrentmirror
(and perhaps here for the test in this repo). This way, I could package using the latest werkzeug
version.
What do you think?
btw, here are my packages for torrentmirror and katcr (latter is not uploaded because it doesn't build)
@BachoSeven I actually closed this because robobrowser is no longer a dependency 😟
Maybe you're packaging an older version?
Oh! i see, it's a subdependency of torrentmirror, let's continue this discussion over there. I've opened https://github.com/XayOn/torrentmirror/issues/1
Feel free to add the AUR package to the installation methods, it works now(with optional support for streaming as well).
Done, thanks @BachoSeven 👍🏽
Hi, I'm unsure how I could resolve this, I tried using normal pip and also pipx(contained installation) but I always get this: