Re: Updating python-jsmin

2015-12-22 Thread gustavo panizzo (gfa)
On Tue, Dec 22, 2015 at 05:44:53PM +, Christopher Baines wrote:
> python-jsmin [1] is not currently maintained by the Python Modules Team,
> but I have made a attempt at updating it to the latest upstream version
> in a manor compliant with the team policy.
do you have a link for the team policy?


You could have open a bug and I would update the pkg, or just ping me.
to get it updated to the latest version.

> 
> You can find the package here [2]. Is anyone (including the current
> maintainer CC'ed) interested in updating this package, and possibly
> bringing it in to the team?

I'm OK moving it into the python modules team, if I don't have to change
my workflow much, or follow another mailing list

> 
> Thanks,
> 
> Chris

cheers!

> 
> 1: https://tracker.debian.org/pkg/python-jsmin
> 2: http://git.cbaines.net/python-jsmin/

-- 
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333

keybase: http://keybase.io/gfa



Updating python-requests and python-urllib3

2015-12-22 Thread Christopher Baines
I have had a go at updating python-requests to the latest upstream
release (from 2.8.1 to 2.9.1). This bundles the latest version of
python-urllib3 (1.13.1) so I have updated that also (from 1.12 to 1.13.1).

1: https://tracker.debian.org/pkg/requests
2: https://tracker.debian.org/pkg/python-urllib3

When updating python-urllib3, I also added in the DEP8 tests from
#796717 [3]. I duplicated the test, and adjusted it for python 3 (as the
patch was just python 2 only).

3: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796717

I am still getting to grips with git-dpm (previously I have just used
git buildpackage). So I may have made some mistakes when attempting to
update to the latest versions. Its also probably prudent to have the
python-requests package depend on the latest version of python-urllib3
(which I have not changed). You can find the updated repositories here
[4], [5].

4: http://git.cbaines.net/python-requests/
5: http://git.cbaines.net/python-urllib3/

Thanks,

Chris



Re: Bug#808743: r-cran-fastcluster: Does not provide upstream Python interface

2015-12-22 Thread Andreas Tille
Hi Gard,

thanks for the pointer - I was not aware of this Python module.

On Tue, Dec 22, 2015 at 01:57:54PM +0100, Gard Spreemann wrote:
> The upstream package from which r-cran-fastcluster originates, simply
> called "fastcluster", provides both an R and a Python interface as
> first-class citizens [1] (both are in fact thin wrappers around a C++
> library, whose interface is, AFAIK, not meant to be exposed). However,
> the current Debian package provides only the R interface.
> 
> It would be really nice if also the Python interface could be
> provided. I suspect one would then rename the source to something like
> "fastcluster", and from it build two binaries, for example
> "r-cran-fastcluster" and "python-fastcluster".
> 
> I have a sketch for packaging of the Python interface [2], but that is
> for *just* that interface. Hopefully it is not too hard to provide
> both. I am not too experienced with Debian packaging, but I'd happily
> assist if I can be of any help.

I think building a single Python package is not the problem.  From my
point of view the showstopper is that R packages are usually build using
cdbs and Python using dh and I do not know how to sneak in the Python
stuff into the R build system.  I hereby keep the Python team in CC
whether they might have a clever idea how this could be approached.

The wimpy solution would simply to maintain the same source twice if
there is no clever solution for this problem.

Kind regards

Andreas.

-- 
http://fam-tille.de



Re: Updating python-requests and python-urllib3

2015-12-22 Thread Daniele Tricoli
Hello Christopher,

On Tuesday, December 22, 2015 03:49:05 PM Christopher Baines wrote:
> I have had a go at updating python-requests to the latest upstream
> release (from 2.8.1 to 2.9.1). This bundles the latest version of
> python-urllib3 (1.13.1) so I have updated that also (from 1.12 to 1.13.1).

I'm going to work later on them or at max tomorrow, thanks for your work.

For #796717, however, there is no need to use requests: I did change the test 
a bit to use urllib3 directly but I forgot to send to the bug report. 

> Its also probably prudent to have the
> python-requests package depend on the latest version of python-urllib3
> (which I have not changed).

Yes, I follow upstream development closely, and you are right the Depends will  
be updated.

Thanks,

-- 
 Daniele Tricoli 'eriol'
 https://mornie.org

signature.asc
Description: This is a digitally signed message part.


Re: Updating python-requests and python-urllib3

2015-12-22 Thread Christopher Baines
On 22/12/15 17:20, Daniele Tricoli wrote:
> On Tuesday, December 22, 2015 03:49:05 PM Christopher Baines wrote:
>> I have had a go at updating python-requests to the latest upstream
>> release (from 2.8.1 to 2.9.1). This bundles the latest version of
>> python-urllib3 (1.13.1) so I have updated that also (from 1.12 to 1.13.1).
> 
> I'm going to work later on them or at max tomorrow, thanks for your work.

Great :)

> For #796717, however, there is no need to use requests: I did change the test 
> a bit to use urllib3 directly but I forgot to send to the bug report. 

That makes sense. It might be worthwhile to add the tests using requests
to the requests package, such that both packages (requests and urllib3)
would have DEP8 tests?



Updating python-jsmin

2015-12-22 Thread Christopher Baines
python-jsmin [1] is not currently maintained by the Python Modules Team,
but I have made a attempt at updating it to the latest upstream version
in a manor compliant with the team policy.

You can find the package here [2]. Is anyone (including the current
maintainer CC'ed) interested in updating this package, and possibly
bringing it in to the team?

Thanks,

Chris

1: https://tracker.debian.org/pkg/python-jsmin
2: http://git.cbaines.net/python-jsmin/