Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency conflict #1

Closed
XayOn opened this issue Apr 4, 2021 · 6 comments
Closed

Dependency conflict #1

XayOn opened this issue Apr 4, 2021 · 6 comments

Comments

@XayOn
Copy link
Owner

XayOn commented Apr 4, 2021

Torrentmirror depending on a specific version of robobrowser is breaking packaging to arch of katcr. This should be addressed here.

@BachoSeven
Copy link

BachoSeven commented Apr 4, 2021

Summarizing what said in XayOn/katcr#129:

  • on Arch, robobrowser pulls in the latest werkzeug, which breaks robobrowser (1, 2).
  • a possible solution would be to allow using the newer version of werkzeug through this small change:
import werkzeug
werkzeug.cached_property = werkzeug.utils.cached_property

The above could be added before importing robobrowser, as a workaround for that breaking change. It should be enough to do so here.

@XayOn
Copy link
Owner Author

XayOn commented Apr 4, 2021

@BachoSeven torrentmirror 2.0.3 has been released with the fix, and updated werkzeug versions.

I've also made another minor fix due to a change in torrentmirror.net
I'm updating katcr's deps now.

@XayOn
Copy link
Owner Author

XayOn commented Apr 4, 2021

@BachoSeven I just published katcr 3.0.6, thanks! 👍🏽

@XayOn XayOn closed this as completed Apr 4, 2021
@BachoSeven
Copy link

BachoSeven commented Apr 4, 2021

Thank you, I just published katcr as an AUR package because it built, but I believe there are some things not working as they should: selecting a torrent from the search view gives me the magnet link, but it is followed by this warning:

Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f6a84f68be0>

or this similar but longer one:

Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f579666ed00>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7f579669c700>, 11646.288644454)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f579663f0a0>, 11646.586501255)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f579663f760>, 11646.856275767)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f579665b0a0>, 11647.60878818)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f579665b5e0>, 11647.907814565)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f579665b9a0>, 11648.170023446)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f5795d38520>, 11648.616481016)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f5795d38b80>, 11649.115423636)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f5795d38040>, 11649.460662387)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f5795d44b80>, 11649.779933047)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f5795d38fa0>, 11650.047641389)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f5795d444c0>, 11650.167494221)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f5795d54640>, 11650.395983883)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f5795d549a0>, 11650.72364622)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f5795d610a0>, 11651.212468246)]', '[(<aiohttp.client_proto.ResponseHandler object at 0x7f5795d54580>, 11651.402663689)]']
connector: <aiohttp.connector.TCPConnector object at 0x7f579666ef40>

Perhaps it's connected to this warning during build tests?
image

@XayOn
Copy link
Owner Author

XayOn commented Apr 5, 2021

@BachoSeven Yep, XayOn/katcr#144
Already fixed, it's only a warning but it's ugly to show it to users, I released katcr 3.0.7 with it.

@BachoSeven
Copy link

Perfect, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants