-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
setuptools_rust should not be a runtime dep #13926
Comments
Lines 177 to 185 in 1254eb2
Erm wat. Was this meant to be a dev dependency or not @erikjohnston? |
Argh, that comment is confused. The problem is that we don't have the ability to set build dependencies, so we have to set it as a "runtime" dependency in pyproject.toml. We could add it as a "dev" dependency, but decided against that as We could special case it in Synapse so that it doesn't check that particular dependency. |
Isn't that what this is trying to do? Or does poetry ignore these? Lines 309 to 311 in 1254eb2
I'd be fine with this... begrudingly. |
That's what the first part of the comment is talking about:
i.e. if the build requirements are ignored when doing |
I would like to once again declare that I hate Python packaging. |
could you advice which lines i should patch to workaround this issue until a fix is ready? |
It's difficult to say without knowing how the openSUSE Tumbleweed rpm is built. You could comment out this line for the time being. synapse/synapse/util/check_dependencies.py Line 197 in bf9d549
|
Description
This is a build time dep and not a runtime dep. At startup synapse should not check for this anymore.
Steps to reproduce
try to start synapse without setuptools_rust installed.
Homeserver
another home server
Synapse Version
1.68.0
Installation Method
Other (please mention below)
Platform
openSUSE Tumbleweed rpm
Relevant log output
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: