-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
mautrix-telegram: init at 0.4.0.post1 #54893
Conversation
|
||
let | ||
|
||
localPython = python3.override { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't do that for python packages. However, isn't this an application rather than a library?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's both, because an other tool need to import it to work. What would be suggested to force the dependency version ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What would be suggested to force the dependency version ?
There is none as long as this is in pythonPackages
. The suggested way to deal with this is to make an upstream PR that fixes it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As you see in mautrix/telegram@a258c59, their pinning of telethon is completely useless. Just apply that patch to make it work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an other tool need to import it to work
Would you mind adding that tool to this PR or at least giving me a link?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the manual is suggesting that this is the preferred method when a python library is also a application
I'd say it's not actually a library, just a strange requirement of using alembic.
What's your stance @worldofpeace?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the manual is suggesting that this is the preferred method when a python library is also a application
I'd say it's not actually a library, just a strange requirement of using alembic.
What's your stance @worldofpeace?
I agree that this is an application and belongs in all-packages.nix
and alembic just has this requirement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you ever need to use it with alembic you can use pkgs.python3.withPackages (ps: [ ps.alembic (ps.toPythonModule pkgs.mautrix-telegram) ]).
So they'd have to do that to setup the bridge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's only used for updating the database scheme.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be ok now
ddf463b
to
1c2fe30
Compare
1c2fe30
to
00e14ce
Compare
ec0db1b
to
4484a69
Compare
4484a69
to
53fddad
Compare
@GrahamcOfBorg build mautrix-telegram |
Seems like we forgot something: 6d19c1d |
and 467df7b |
Motivation for this change
Bridge library between Matrix and Telegram
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)