Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Package newer python-language-server and remove the old one
@ 2021-11-22  0:53 jgarte
  2021-11-23  0:56 ` foopub
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: jgarte @ 2021-11-22  0:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

New issue by jgarte on void-packages repository

https://github.com/void-linux/void-packages/issues/34192

Description:
This is the new fork that is being maintained: https://github.com/python-lsp/python-lsp-server

See: https://github.com/palantir/python-language-server/issues/935 and #34180.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Package newer python-language-server and remove the old one
  2021-11-22  0:53 [ISSUE] Package newer python-language-server and remove the old one jgarte
@ 2021-11-23  0:56 ` foopub
  2021-11-23  2:12 ` jgarte
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: foopub @ 2021-11-23  0:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

New comment by foopub on void-packages repository

https://github.com/void-linux/void-packages/issues/34192#issuecomment-976059421

Comment:
If you're up for it you should have a go at making the template for the python-lsp-server package and just make a pull request. I've been using python-lsp-server installed with pip so haven't really had the motivation, but I don't mind having a go at it tomorrow. 

@k4leg seeing as you're the maintainer of `python3-language-server`, what do you think? 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Package newer python-language-server and remove the old one
  2021-11-22  0:53 [ISSUE] Package newer python-language-server and remove the old one jgarte
  2021-11-23  0:56 ` foopub
@ 2021-11-23  2:12 ` jgarte
  2021-11-23  2:14 ` jgarte
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jgarte @ 2021-11-23  2:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

New comment by jgarte on void-packages repository

https://github.com/void-linux/void-packages/issues/34192#issuecomment-976103356

Comment:
I might not be able to work on it for a week or so. It depends on when I find the free time. Feel free to try it.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Package newer python-language-server and remove the old one
  2021-11-22  0:53 [ISSUE] Package newer python-language-server and remove the old one jgarte
  2021-11-23  0:56 ` foopub
  2021-11-23  2:12 ` jgarte
@ 2021-11-23  2:14 ` jgarte
  2022-03-06  1:49 ` camoz
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jgarte @ 2021-11-23  2:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

New comment by jgarte on void-packages repository

https://github.com/void-linux/void-packages/issues/34192#issuecomment-976103356

Comment:
I might not be able to work on it for a week or so. It depends on when I find the free time. Feel free to try it.

If you get stuck or have any questions you can post them here. I can help with testing also.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Package newer python-language-server and remove the old one
  2021-11-22  0:53 [ISSUE] Package newer python-language-server and remove the old one jgarte
                   ` (2 preceding siblings ...)
  2021-11-23  2:14 ` jgarte
@ 2022-03-06  1:49 ` camoz
  2022-03-06 11:20 ` paper42
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: camoz @ 2022-03-06  1:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

New comment by camoz on void-packages repository

https://github.com/void-linux/void-packages/issues/34192#issuecomment-1059873492

Comment:
BTW it would be cool if the new packge could be named exactly like the project `python-lsp-server`, and not `python3-lsp-server` or something... that makes it easier to find.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Package newer python-language-server and remove the old one
  2021-11-22  0:53 [ISSUE] Package newer python-language-server and remove the old one jgarte
                   ` (3 preceding siblings ...)
  2022-03-06  1:49 ` camoz
@ 2022-03-06 11:20 ` paper42
  2022-03-06 14:07 ` camoz
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: paper42 @ 2022-03-06 11:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/34192#issuecomment-1059943597

Comment:
> BTW it would be cool if the new packge could be named exactly like the project `python-lsp-server`, and not `python3-lsp-server` or something... that makes it easier to find.

On void, all python3 packages are prefixed with python3-, prefix python- would mean it's a Python 2 package.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Package newer python-language-server and remove the old one
  2021-11-22  0:53 [ISSUE] Package newer python-language-server and remove the old one jgarte
                   ` (4 preceding siblings ...)
  2022-03-06 11:20 ` paper42
@ 2022-03-06 14:07 ` camoz
  2022-03-06 14:36 ` Duncaen
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: camoz @ 2022-03-06 14:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 276 bytes --]

New comment by camoz on void-packages repository

https://github.com/void-linux/void-packages/issues/34192#issuecomment-1059969368

Comment:
Oh ok. Is there any chance this will be changed in the future? Python 2 is EOL for over two years now... No pressure, just curious. :)

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Package newer python-language-server and remove the old one
  2021-11-22  0:53 [ISSUE] Package newer python-language-server and remove the old one jgarte
                   ` (5 preceding siblings ...)
  2022-03-06 14:07 ` camoz
@ 2022-03-06 14:36 ` Duncaen
  2022-03-06 15:24 ` camoz
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Duncaen @ 2022-03-06 14:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34192#issuecomment-1059974104

Comment:
> Oh ok. Is there any chance this will be changed in the future? Python 2 is EOL for over two years now... No pressure, just curious. :)

No renaming packages is a pain and doing this again if there is a python4 or something like that would be annoying.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Package newer python-language-server and remove the old one
  2021-11-22  0:53 [ISSUE] Package newer python-language-server and remove the old one jgarte
                   ` (6 preceding siblings ...)
  2022-03-06 14:36 ` Duncaen
@ 2022-03-06 15:24 ` camoz
  2022-03-06 15:43 ` Duncaen
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: camoz @ 2022-03-06 15:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 510 bytes --]

New comment by camoz on void-packages repository

https://github.com/void-linux/void-packages/issues/34192#issuecomment-1059982799

Comment:
AIUI Python 4 is unlikely to happen at all, but I understand that people are spoiled from the 2->3 transition... It just seems unfortunate to me that if you search for the official project names like `python-lsp-server` or the current `python-language-server`, you get no results.

Also, why is renaming packages a pain? Isn't there a `replaces=` field in templates?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Package newer python-language-server and remove the old one
  2021-11-22  0:53 [ISSUE] Package newer python-language-server and remove the old one jgarte
                   ` (7 preceding siblings ...)
  2022-03-06 15:24 ` camoz
@ 2022-03-06 15:43 ` Duncaen
  2022-03-06 15:45 ` Duncaen
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: Duncaen @ 2022-03-06 15:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1420 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34192#issuecomment-1059986053

Comment:
> Also, why is renaming packages a pain? Isn't there a `replaces=` field in templates?

This just makes xbps replace the other package if the replacing package is being installed, i.e. through a dependency.
If you've manually installed `python3-foo` and nothing depends on it that would pull in the new package name with the `replaces` directive, it will never be installed or replace any package.

This can not be changed as this is also used by some packages that act as an alternative for another package, i.e. nvidia used to replace the mesa libgl implementations, so by installing nvidia you can replace the open source implementation, without having to force break and uninstall the opensource implementation first.

The only alternative to this is to use "transaction dummy packages", i.e. a meta package with the old name and a higher version that depends on the new package name which then in turn replaces the old name.
But this is kinda buggy in the current xbps release and drops the manual/automatic install mode sometimes.

But that is also not a nice solution and would require us to ship 937 dummy packages for who knows how long until everyone updated their system.

Its simply not worth it with the current solutions to rename all those packages.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Package newer python-language-server and remove the old one
  2021-11-22  0:53 [ISSUE] Package newer python-language-server and remove the old one jgarte
                   ` (8 preceding siblings ...)
  2022-03-06 15:43 ` Duncaen
@ 2022-03-06 15:45 ` Duncaen
  2022-03-06 16:54 ` camoz
  2022-04-06 21:34 ` [ISSUE] [CLOSED] " leahneukirchen
  11 siblings, 0 replies; 13+ messages in thread
From: Duncaen @ 2022-03-06 15:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1440 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/34192#issuecomment-1059986053

Comment:
> Also, why is renaming packages a pain? Isn't there a `replaces=` field in templates?

This just makes xbps replace the other package if the replacing package is being installed, i.e. through a dependency.
If you've manually installed `python3-foo` and nothing depends on it that would pull in the new package with the `replaces` directive into the xbps transaction it will never be installed or replace any package.

This can not be changed as this is also used by some packages that act as an alternative for another package, i.e. nvidia used to replace the mesa libgl implementations, so by installing nvidia you can replace the open source implementation, without having to force break and uninstall the opensource implementation first.

The only alternative to this is to use "transaction dummy packages", i.e. a meta package with the old name and a higher version that depends on the new package name which then in turn replaces the old name.
But this is kinda buggy in the current xbps release and drops the manual/automatic install mode sometimes.

But that is also not a nice solution and would require us to ship 937 dummy packages for who knows how long until everyone updated their system.

Its simply not worth it with the current solutions to rename all those packages.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Package newer python-language-server and remove the old one
  2021-11-22  0:53 [ISSUE] Package newer python-language-server and remove the old one jgarte
                   ` (9 preceding siblings ...)
  2022-03-06 15:45 ` Duncaen
@ 2022-03-06 16:54 ` camoz
  2022-04-06 21:34 ` [ISSUE] [CLOSED] " leahneukirchen
  11 siblings, 0 replies; 13+ messages in thread
From: camoz @ 2022-03-06 16:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

New comment by camoz on void-packages repository

https://github.com/void-linux/void-packages/issues/34192#issuecomment-1059998016

Comment:
Understood, thank you for the nice explanation, appreciated!

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [ISSUE] [CLOSED] Package newer python-language-server and remove the old one
  2021-11-22  0:53 [ISSUE] Package newer python-language-server and remove the old one jgarte
                   ` (10 preceding siblings ...)
  2022-03-06 16:54 ` camoz
@ 2022-04-06 21:34 ` leahneukirchen
  11 siblings, 0 replies; 13+ messages in thread
From: leahneukirchen @ 2022-04-06 21:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

Closed issue by jgarte on void-packages repository

https://github.com/void-linux/void-packages/issues/34192

Description:
This is the new fork that is being maintained: https://github.com/python-lsp/python-lsp-server

See: https://github.com/palantir/python-language-server/issues/935 and #34180.



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-04-06 21:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-22  0:53 [ISSUE] Package newer python-language-server and remove the old one jgarte
2021-11-23  0:56 ` foopub
2021-11-23  2:12 ` jgarte
2021-11-23  2:14 ` jgarte
2022-03-06  1:49 ` camoz
2022-03-06 11:20 ` paper42
2022-03-06 14:07 ` camoz
2022-03-06 14:36 ` Duncaen
2022-03-06 15:24 ` camoz
2022-03-06 15:43 ` Duncaen
2022-03-06 15:45 ` Duncaen
2022-03-06 16:54 ` camoz
2022-04-06 21:34 ` [ISSUE] [CLOSED] " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).