unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ben Woodcroft <b.woodcroft@uq.edu.au>
To: Lukas Gradl <lgradl@openmailbox.org>, guix-devel@gnu.org
Subject: Re: [Patch] Add python-rope
Date: Sat, 21 May 2016 09:53:27 +1000	[thread overview]
Message-ID: <573FA377.5030003@uq.edu.au> (raw)
In-Reply-To: <87y474st15.fsf@openmailbox.org>

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

Hi Lukas,

Thank you for the patch.

On 21/05/16 00:28, Lukas Gradl wrote:
> Hello,
>
> This patch adds the Rope refactoring library for python.
> I am only interested in this package as a dependency of elpy.

Looking forward to trying elpy out.

> There is no particular reason why the old (0.10.2) would be needed,
> AFAIK.

OK. Is it necessary then? We try not to keep old packages around if 
possible.

> There are some tests that fail on the python-3 version.  According to
> this (https://groups.google.com/forum/#!topic/rope-dev/rmimG01CHUk),
> upstream seems to have no particular interest in fixing that at the
> moment.
The rope_py3k doesn't appear to be maintained, the repository at 
https://bitbucket.org/zjes/rope-0.9.3_py3k/ 
<https://www.google.com/url?q=https%3A%2F%2Fbitbucket.org%2Fzjes%2Frope-0.9.3_py3k%2F&sa=D&sntz=1&usg=AFQjCNEi96dmwDUxiFQA4QgsgL4RskzoyQ> 
has been deleted and the last release was in 2013. Do you use this 
library yourself? Otherwise it is an unmaintained library lacking unit 
tests. If you are confident of including it I'd say rename it to 
rope_py3k as it is more than a fork of rope, commit it separately, and 
enable tests where possible (most pass according to your link). WDYT?

Do you know if the rope you have packaged for python2 works on python3 ? 
I did some digging, the short answer to this question is no, not yet, 
unfortunately.
https://github.com/python-rope/rope/issues/57

I'll only review the python2-rope@0.10.3 for now then.

> +(define-public python2-rope
> +  (package
> +    (name "python2-rope")
> +    (version "0.10.3")
> +    (source
> +     (origin
> +      (method url-fetch)
> +      (uri (pypi-uri "rope" version))
> +      (sha256
> +        (base32
> + "18k5znhpwvrfck3yp0jmhd5j8r0f0s8bk1zh5yhs2cfgmfhbwigb"))))
> +    (arguments
> +     `(#:python ,python-2))
Might be good to add a comment here saying only python2 is supported, 
with a URL so that later we can check on progress.
> +    (build-system python-build-system)
> +    (native-inputs
> +     `(("python2-unittest2" ,python2-unittest2)
> +       ("python2-setuptools" ,python2-setuptools)))
> +    (home-page "http://rope.sf.net/")
https://github.com/python-rope/rope might be a better choice since the 
sf address redirects there.
> +    (synopsis "Refactoring library for Python")
> +    (description "Rope is a Refactoring library for Python.")
Would it be possible to expand on this description, perhaps with a few 
examples of refactoring processes? Also s/Refactoring/refactoring/.
> +    (license gpl2)))
> +

Thanks.
ben

[-- Attachment #2: Type: text/html, Size: 5235 bytes --]

  parent reply	other threads:[~2016-05-20 23:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-20 14:28 [Patch] Add python-rope Lukas Gradl
2016-05-20 14:32 ` Lukas Gradl
2016-05-20 23:53 ` Ben Woodcroft [this message]
2016-05-21 23:24   ` Lukas Gradl
2016-05-22  4:21     ` Ben Woodcroft
2016-05-23 13:50       ` Lukas Gradl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=573FA377.5030003@uq.edu.au \
    --to=b.woodcroft@uq.edu.au \
    --cc=guix-devel@gnu.org \
    --cc=lgradl@openmailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).