You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Christian Lenz <ch...@gmx.net> on 2017/09/07 13:24:16 UTC

AW: One wish was: NBPython: towards a new release

Should I create tickets in Jira for NBPython or are you on github?
This ist the plugin, right?: http://plugins.netbeans.org/plugin/61688/python. I tried it and I found couple of Bugs.


Regards

Chris

Gesendet von Mail für Windows 10

Von: Julien Enselme
Gesendet: Mittwoch, 12. Juli 2017 20:54
An: dev@netbeans.incubator.apache.org
Betreff: Re: One wish was: NBPython: towards a new release

Hi,

Thanks for your feedback. It's always good to know that the project you
are working on are useful ;-)

On Wed, 2017-07-12 at 09:31 +0200, Jaroslav Tulach wrote:
> Hello Julien,
> thanks for your work on NBPython. I use it daily because for
> OracleLabs 
> GraalVM group Python is really essential. 
> 
> First of all our build system [mx](https://github.com/graalvm/mx/) is
> written 
> in Python and it really helps if I get reasonable editing behavior
> when 
> working on the mx.py & co. thanks to NBPython modules.

From what I see, your project doesn't have a setup.py file so it cannot
be opened easily as a Python project. However, the editing of the
script files should work as expected. So should linting and possibly
the completion in the new version.

> 
> Second, we are supporting [Graal/Truffle based implementation of
> Python]
> (https://github.com/securesystemslab/zippy) and we plan to expand on
> that. It 
> would be great if NBPython worked with our Python version out of the
> box and 
> could also benefit from its unique features in the future.

I had never heard of zippy before. Have you tried to add as a Python
interpreter (Right click on a Python project > Properties. Then in the
Python category, next to "Python Platform" click on manage, then add
the executable with the "New" button)?

If this works, you should be able to run the project with this
interpreter. With a little luck, completion and syntax validation
should be able to rely on this interpreter to be more relevant (this
works with CPython for instance, if you run the project under  CPython
3.4 syntax validation will report an error for the async keyword but
not for CPython 3.5 onward). 

I don't know to which unique features you are interested in.

> 
> May I have a single wish, however? I was trying to use NBPython
> debugger to 
> debug our build system [mx](https://github.com/graalvm/mx/) and
> failed to get 
> it working - maybe that is something that could be fixed for the
> upcoming 
> version? Then I'd be completely happy NBPython user.

Sadly the debugger is not working at this point. I don't know when we
will be able to  fix and improve it. We are a very small team and for
the past year or so, I have been the only active contributor.

Given the state of the project and my needs, I think I'll work on
improvements on the completion/syntax validation before doing that.
Note that contributions and contributors are welcomed. So if you are
willing to help us work on the debugger, you are more than welcomed. 

Regards,

> 
> Best regards and thanks for keeping NBPython project on!
> -jt
> 
> 
> On neděle 2. července 2017 20:49:21 CEST Julien Enselme wrote:
> > Hi,
> > 
> > I represent the team behind NBPython, the Python plugin for
> > NetBeans.
> > First, some context for those that don't know us: Python was
> > officially
> > supported in NetBeans until around 2010. After languishing for five
> > years, The NBPython Project was resurrected as a standalone, all-
> > volunteer project in December 2014. Our code is currently hosted in
> > the
> > contrib repository (http://hg.netbeans.org/main/contrib/) and we
> > rely
> > on NetBeans bugtracker. We also have a website http://nbpython.org/
> >  and
> > a forum http://forums.nbpython.org
> > 
> > Our last release was made in November 2015 and I now think we are
> > ready
> > for a new one. The point of this email is to: informer as many
> > users
> > that we are planing to release and get feedback on what we are
> > planing
> > to do. I hope we will be able to do all that at Apache!
> > 
> > From my side, I have some questions on which I'd love your inputs:
> > - When do we do the release? Do we want for the Apache transition
> > do be
> >  done? IMHO, August looks good. This would allow us to release with
> > NetBeans 9.0
> > - Do we merge the improved completion and syntax validation? If so,
> > do
> > we enable them by default?
> > - Do we merge the RST support?
> > - Can we migrate our wiki pages from http://nbpython.atlassian.net/
> > (private and I don't have admin access) to
> > https://cwiki.apache.org/confluence/display/NETBEANS? If so, I
> > think we
> > need a Contrib/NBPython space to put the pages.
> > - How can we support the download of external binaries in the
> > Apache
> > process? We need to host two custom builds of Jython and some
> > Python
> > libs (for the new autocompletion/syntax validation).
> > 
> > 
> > Here is a small summary of the main changes:
> > - Improvements to completion and syntax validation. Feedback and
> > review
> > welcomed. The code is here:
> > https://bitbucket.org/Jenselme/nb-contrib/commits/branch/jedi The
> > wiki
> > page: https://dl.jujens.eu/nbpython/autocomplete.html
> > - Basic support for RST files (code is highlighted, text is run
> > against
> > the spellchecker). Feedback and review welcomed.
> > The code is here:
> > https://bitbucket.org/Jenselme/nb-contrib/commits/branch/rst The
> > wiki
> > page: https://dl.jujens.eu/nbpython/RST.html
> > 
> > For the full list, see: https://dl.jujens.eu/nbpython/release.html
> > 
> > 
> > If you don't want to build NetBeans or the NBMs yourself, you can
> > get
> > my development NBMs (that I use on my NetBeans 8.2 install) here:
> > https://bitbucket.org/Jenselme/nb-contrib/downloads/
> > 
> > They include most fixes pushed in the NetBeans main/contrib and my
> > completion/syntax/RST features.
> > 
> > 
> > Feedback and contributions welcomed ;-)
> > 
> > Regards,
> 
> 
-- 
Julien Enselme
http://www.jujens.eu/