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

Update jedi to v0.13.1 #277

Merged
merged 3 commits into from Dec 27, 2018
Merged

Update jedi to v0.13.1 #277

merged 3 commits into from Dec 27, 2018

Conversation

magnetikonline
Copy link
Contributor

@magnetikonline magnetikonline commented Nov 21, 2018

Change to update Jedi package to v0.13.1.

Note: this does cause an issue, where Jedi has now dropped support for Python 3.3 - so had to patch access.py here and here.

  • Can only assume that SublimeText 3 comes packaged with an earlier point release of Python 3?
  • Technically this does also mean the Makefile won't work as is without patching of the jedi package.

Otherwise, all good.

@edelvalle
Copy link
Collaborator

I kind of like this approach until Sublime upgrades its Python interpreter but I suggest to do it in a way that is easy to maintain.

Let's make a fork of Jedi and apply there the patch for Python 3.3 compatibility and let's point the make file there. As long we Sublime has this old Python we maintain our fork and when it upgrades then we delete it and repoint the Makefile.

What about that? @srusskih

@magnetikonline
Copy link
Contributor Author

That's not a bad idea @edelvalle - the only alternative I guess is produce a patch file from the mainline to the version I've constructed and roll that into the Makefile (download mainline, apply patch).

Regardless, it's working well this branch for me - sure there is some solution worth doing. 👍

@srusskih
Copy link
Owner

srusskih commented Nov 22, 2018

Thanks! Great job!
I have couple questions:

Default environments are now using the same Python version as the Python process. In 0.12.x, we used to load the latest Python version on the system.
if no setting provided, will it fails on SublimeText's Python?

Could you please create a patch-file and add include it PR?

@magnetikonline
Copy link
Contributor Author

Well spotted @srusskih - I'll grep the new version of Jedi and find any other instances of is_py34/etc. that might be of concern.

Along with those other concerns + a patch.

I guess you're thinking we then exec. said patch from Makefile?

@srusskih
Copy link
Owner

@magnetikonline Thanks a lot! 👍

@magnetikonline
Copy link
Contributor Author

No dramas @srusskih - a bit flat out with other items at the moment, but it's on my todo list! Using SL Jedi in anger the last week with this patched branch, it's been working really well.

@magnetikonline
Copy link
Contributor Author

Just rebased master in here. Sorry, still finding time to round this out!

@srusskih
Copy link
Owner

srusskih commented Dec 13, 2018

I hope complete it during next couple weeks, have started https://github.com/srusskih/SublimeJEDI/tree/jedi-0.13.x

have to update daemon.py also :(

@srusskih
Copy link
Owner

@magnetikonline
just updated daemon.py - please try, if it works for you. thanks :)

@edelvalle
Copy link
Collaborator

I'm testing, seems to be ok... Tomorrow will use it the whole day.... let's see

@srusskih
Copy link
Owner

@edelvalle thank you

@magnetikonline
Copy link
Contributor Author

Nice work @srusskih - I'll switch branches now for today..... will report back!

@magnetikonline
Copy link
Contributor Author

Just noted 0.13.2 released of Jedi.

https://github.com/davidhalter/jedi/releases/tag/v0.13.2

@magnetikonline
Copy link
Contributor Author

Also @srusskih the new branch is running very solid! 👍

@edelvalle
Copy link
Collaborator

edelvalle commented Dec 16, 2018 via email

@magnetikonline
Copy link
Contributor Author

magnetikonline commented Dec 18, 2018

I've just merged in https://github.com/davidhalter/jedi/releases/tag/v0.13.2 to my branch to give that a test - also including your changes too from your https://github.com/srusskih/SublimeJEDI/tree/jedi-0.13.x branch.

What 0.13.2 adds: https://github.com/magnetikonline/SublimeJEDI/commit/afa386ed302bbb3988865e934b725d73ef2b8b87

@magnetikonline
Copy link
Contributor Author

Been successfully running 0.13.2 for the last day in branch above ☝️ @srusskih I'd say it's safe to merge in those Jedi upstream release changes into your branch.

@srusskih
Copy link
Owner

@magnetikonline I think we can merge your PR, If you do not mind.

@srusskih srusskih added this to todo in 0.14.0 Dec 26, 2018
@magnetikonline
Copy link
Contributor Author

magnetikonline commented Dec 26, 2018

@srusskih let's do it. All running solid here.

Edit: Just cleaned up commit messages 👇

@magnetikonline
Copy link
Contributor Author

magnetikonline commented Dec 27, 2018

Argh! Left out your .patch file... trying again.

Edit: ....and, that's better - build now passing!

@srusskih srusskih merged commit 94b2542 into srusskih:master Dec 27, 2018
0.14.0 automation moved this from todo to done Dec 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
0.14.0
  
done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants