textX-LS icon indicating copy to clipboard operation
textX-LS copied to clipboard

Release a new version of text_ls_core that doesn't depend on click

Open ryansobol opened this issue 4 years ago • 7 comments

My project can't upgrade to black version 20.8b1 because of the latest published version of textx_ls_core depends on click version 7.0.

$ poetry update black
Updating dependencies
Resolving dependencies... (0.1s)

  SolverProblemError

  Because no versions of black match >20.8b1,<21.0
   and black (20.8b1) depends on click (>=7.1.2), black (>=20.8b1,<21.0) requires click (>=7.1.2).
  And because textx-ls-core (0.1.1) depends on click (7.0)
   and no versions of textx-ls-core match >0.1.1,<0.2.0, black (>=20.8b1,<21.0) is incompatible with textx_ls_core (>=0.1.1,<0.2.0).
  So, because tsdoc0 depends on both textx_ls_core (^0.1.1) and black (^20.8b1), version solving failed.

Additionally, it appears the click dependency has already been removed.

Could you please release a new version of textx_ls_core that doesn't depend on click?

ryansobol avatar Nov 24 '20 19:11 ryansobol

Sure, I'll release it tomorrow.

danixeee avatar Nov 29 '20 14:11 danixeee

Any news?

ryansobol avatar Dec 07 '20 18:12 ryansobol

@danixeee or @igordejanovic, would either of you please, please publish text_ls_core v0.1.2 to PyPi? It's been almost 2 years since it was released on GitHub but never found its way to PyPi. I'm sure you both are super busy, but this simple act would really make a big difference to a code base that I maintain.

ryansobol avatar Oct 15 '21 14:10 ryansobol

Hi @ryansobol . I plan to put some time into textX-LS during next month. If @danixeee don't find time for a release until then I'll do the release.

igordejanovic avatar Oct 15 '21 15:10 igordejanovic

I really appreciate the message, @igordejanovic. And I'm sorry to pester because you probably have a lot on your plate. If there's any way you could find <10 minutes to run the PyPi publishing command sooner, I would be sooooo grateful. I'm under a lot of pressure to get all our codebase's dependencies ready for Python 3.10 ASAP.

ryansobol avatar Oct 15 '21 16:10 ryansobol

I can feel your pain and will help if I can. It seems that click dependency removal has happened after v0.1.2 release, so a new release should be made. I'll try to investigate more during next week.

igordejanovic avatar Oct 16 '21 12:10 igordejanovic

@ryansobol It seems that a new release is required. It is not a simple PyPI release command. It would require some cleanup. I don't have time to deal with it at the moment (probably will in a few weeks). I've contacted @danixeee. He is overbooked also. If you are in a hurry, the best workaround I could think of is for you to fork the project and do quick and dirty release under different name (please just make a note about that in README or somewhere visible). If you depend on regular releases that might be your best strategy. You can always pull upstream changes.

igordejanovic avatar Oct 25 '21 16:10 igordejanovic