Please grant me access to PAPT

2020-04-14 Thread Alex Mestiashvili
On 4/14/20 4:02 PM, Scott Kitterman wrote:
> On Tuesday, April 14, 2020 8:25:36 AM EDT Alex Mestiashvili wrote:
>> Hi,
>> could please somebody who have enough privileges remove
>>
>>  https://salsa.debian.org/python-team/modules/authprogs.git
>>
>> It is an application and should be located in python-team/applications.
> 
> I've moved it:
> 
> https://salsa.debian.org/python-team/applications/authprogs
> 
> Scott K
> 

Thanks! Would you also mind granting me access to PAPT as well?
I'd like to maintain authprogs.
I've read and accept the PAPT policy:
https://salsa.debian.org/python-team/tools/python-apps/blob/master/policy.rst
and my salsa login is: mestia

I have requested to join PAPT some time ago:
https://lists.debian.org/debian-python/2020/04/msg00032.html

Alex



Please remove python-team/modules/authprogs.git

2020-04-14 Thread Alex Mestiashvili
Hi,
could please somebody who have enough privileges remove

 https://salsa.debian.org/python-team/modules/authprogs.git

It is an application and should be located in python-team/applications.

Thank you,
Alex



Re: Join into the group

2020-04-10 Thread Alex Mestiashvili
On 4/10/20 11:11 PM, Javier Ruano wrote:
> Hello,
> My name is Javier Ruano, my mentor is po...@debian.org.
> I would like to be member of this group.
> Regards
> Javier Ruano.

Hi Javier,

You'll need to provide more details, have a look here:
 https://wiki.debian.org/Teams/PythonModulesTeam/HowToJoin

Best regards,
Alex





Request to join PAPT

2020-04-08 Thread Alex Mestiashvili
I'd like to join Python Applications Packaging Team,

I've read and accept the PAPT policy:
https://salsa.debian.org/python-team/tools/python-apps/blob/master/policy.rst

My salsa login is: mestia

Thank you,
Alex



Re: packaging manual for a beginner

2020-04-08 Thread Alex Mestiashvili
On 4/8/20 10:36 AM, Andrey Rahmatullin wrote:
> On Tue, Apr 07, 2020 at 08:13:02PM +0200, Alex Mestiashvili wrote:
>> Hi Debian Python folks,
>>
>> Is there a good entry point for a newbie who wants to package a python
>> module? I am looking for a tool similar to dh-make-perl. In the past
>> I've been using stdeb as far as I remember, but it is somehow painful
>> compared to other dh-make-x helpers.
>> A link with step-by-step instructions would be also helpful. Sorry but I
>> am unable to find Debian documentation suitable for a newcomer.
> There is https://wiki.debian.org/Python/LibraryStyleGuide but it doesn't
> cover the very first steps.
> 

Thanks, this is one of the most useful links about the topic.



Re: packaging manual for a beginner

2020-04-08 Thread Alex Mestiashvili
On 4/8/20 10:23 AM, Thomas Goirand wrote:
> On 4/7/20 8:13 PM, Alex Mestiashvili wrote:
>> Hi Debian Python folks,
>>
>> Is there a good entry point for a newbie who wants to package a python
>> module? I am looking for a tool similar to dh-make-perl. In the past
>> I've been using stdeb as far as I remember, but it is somehow painful
>> compared to other dh-make-x helpers.
>> A link with step-by-step instructions would be also helpful. Sorry but I
>> am unable to find Debian documentation suitable for a newcomer.
>>
>> Thank you,
>> Alex
>>
> 
> Hi Alex,
> 
> I'd advise you to check the content of the packaging-tutorial package.
> It contains nice PDFs under /usr/share/doc/packaging-tutorial/
> (translated in multiple languages). This is a very good start, IMO.
> 
> When you're done with that one, you may start reading the Debian Policy
> Manual, which is probably a lot harder to read.
> 
> I hope this helps,
> Cheers,
> 
> Thomas Goirand (zigo)
> 

Hi Thomas,

thanks, I can find my way to package python applications, but what I am
 actually looking for is an up-to-date guide or tools which would
simplify packaging. Most of the useful resources about python packaging
for Debian are either 10 years old or are blogposts living outside
Debian wiki.. I can imagine that for a newcomer it is kind of
complicated to start packaging python software. There must be some easy
py2deb stuff giving you almost ready debian package,(that's what stdeb
is doing to some extent), but again the documentation is sparse and
output of stdeb is sometimes scary :) I know, if you need it, just
implement it, but may be I am missing some already available tools.

Regards,
Alex



packaging manual for a beginner

2020-04-07 Thread Alex Mestiashvili
Hi Debian Python folks,

Is there a good entry point for a newbie who wants to package a python
module? I am looking for a tool similar to dh-make-perl. In the past
I've been using stdeb as far as I remember, but it is somehow painful
compared to other dh-make-x helpers.
A link with step-by-step instructions would be also helpful. Sorry but I
am unable to find Debian documentation suitable for a newcomer.

Thank you,
Alex



Re: Cant run pip3 as user.

2019-04-30 Thread Alex Mestiashvili
On 4/30/19 7:40 PM, aprekates wrote:
> Hi . Strangely i can run pip3 as user in my Debian 9.6 .
> 
> $ which pip3
> /usr/bin/pip3
> 
> $ LANG=us sudo apt-cache policy  python3-pip
> python3-pip:
>   Installed: 9.0.1-2+deb9u1
>   Candidate: 9.0.1-2+deb9u1
>   Version table:
>  *** 9.0.1-2+deb9u1 500
>     500 http://ftp.gr.debian.org/debian stretch/main amd64 Packages
>     500 http://ftp.gr.debian.org/debian stretch/main i386 Packages
>     100 /var/lib/dpkg/status
> 
> $ pip3 --version
> Traceback (most recent call last):
>   File "/usr/bin/pip3", line 9, in 
>     from pip import main
> ImportError: cannot import name 'main'
> 
> $ sudo pip3 --version
> pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.5)
> 
> 
> thanks.
> 
> Alexandros
> 
> 

Hi,
most likely you messed up your python modules, test it by renaming
~/local/lib/python3.6 to ~/local/lib/python3.6-test and try to run pip3
again.

Also it makes more sense to ask this question on
debian-u...@lists.debian.org, debian-python@ is for python packages
maintenance.

Regards,
Alex



Re: Packaging python-xrayutilities

2019-03-21 Thread Alex Mestiashvili
On 3/21/19 11:44 AM, MARIE Alexandre wrote:
>> Is there really the leading tab only on the second line?
> 
> In fact I am trying to figure out where should I install the doc, and how 
> could I avoid the lintian tag : privacy-breach-generic.
> 
>> What exactly doesn't seem to work?
> 
> The code I paste before wasn't working because the path was not good, I 
> should have cleaned that before, sorry.
> 
> First I have this overrided to use the right method : 
> _
> override_dh_installdocs-indep:
>   PYTONPATH=$(CURDIR)/debian python3 setup.py build_doc
>   dh_installdocs
> _
> 
> Then I want to deal with mathjax causing the privacy-breach-generic.
> But I really don't know how to do that.
> 
> Cheers,
> 
> Alex
> 
> 

Hi,

I didn't have time to look into issue, but may be looking on how other
people solve similar problems will give you a hint:

 https://codesearch.debian.net/search?q=path%3Adebian%2Frules+mathjax

Best,
Alex



Re: Request to join python-team/modules on salsa

2018-11-27 Thread Alex Mestiashvili

On 11/27/18 4:01 PM, Ondrej Novy wrote:
> Hi,
> 
> pá 23. 11. 2018 v 11:59 odesílatel Alex Mestiashvili
> mailto:ames...@rsh2.donotuse.de>> napsal:
> 
> please grant "mes...@debian.org <mailto:mes...@debian.org>" access
> to Debian Python Modules Team
> 
> 
> do you accept our team policy please?
> https://salsa.debian.org/python-team/tools/python-modules/blob/master/policy.rst

Sorry for not mentioning this.
Yes, I do, I am actually a member of DPMT since 2016 :)

 https://lists.debian.org/debian-python/2016/01/msg00034.html

Thank you!
Alex

> 
> -- 
> Best regards
>  Ondřej Nový
>  
> Email: n...@ondrej.org <mailto:n...@ondrej.org>
> PGP: 3D98 3C52 EB85 980C 46A5  6090 3573 1255 9D1E 064B
> 



signature.asc
Description: OpenPGP digital signature


Re: sponsorship request

2016-03-07 Thread Alex Mestiashvili
Hi Steffen!

On 03/07/2016 06:50 PM, Steffen Möller wrote:
> Hello,
>
> On 07/03/16 18:00, Alex Mestiashvili wrote:
>> Hello Debian Python folks,
>>
>> I've prepared the new version of python-bibtexparser [0] and look for a
>> sponsor.
>>
>> Thank you,
>> Alex
>>
>> [0] https://anonscm.debian.org/cgit/python-modules/packages/bibtexparser.git
>>
> I can just do that.
>
> Cheers,
>
> Steffen
>

Great! thank you a lot!
Alex



sponsorship request

2016-03-07 Thread Alex Mestiashvili
Hello Debian Python folks,

I've prepared the new version of python-bibtexparser [0] and look for a
sponsor.

Thank you,
Alex

[0] https://anonscm.debian.org/cgit/python-modules/packages/bibtexparser.git



Re: Request to join DPMT

2016-01-12 Thread Alex Mestiashvili
On 01/11/2016 11:32 PM, Piotr Ożarowski wrote:
> Hi
> 
> [Alex Mestiashvili, 2016-01-07]
>> I would like to join the DPMT with the goal to co-maintain the 
>> python-bibtexparser [0] package. I've been working with
>> Debian-Med and Debian-Perl teams for a while and also packaged a
>> few python packages under the hood of Debian-Med team. My Alioth
>> account is malex-guest. I've read the policy
>> https://python-modules.alioth.debian.org/policy.html and accept
>> it.
> 
> welcome :)

Thanks! Can I go ahead and create the git repository for the package?

> 
>> [0] https://tracker.debian.org/pkg/bibtexparser
> 
> you are running the same tests using the same interpreter version 
> multiple times (there's no interpreter name / version in `nosetests
> -v $(CURDIR)/$(PYBUILD_NAME)/tests`) - what's wrong with what
> pybuild does by default?
> 

By default pybuild does not run the tests as far as I see.

I tried to play with pybuild and pytest but couldn't find a way to
tell that the tests are in bibtexparser/tests directory.
With nosetests it worked right away.

> you are running the same tests using the same interpreter version 
> multiple times

any hint how can I solve that and why does it happen ?

Best regards,
Alex



Bug#806190: RFS: python-bibtexparser/0.6.1-1 [ITP] -- Python library to parse bibtex files

2015-11-25 Thread Alex Mestiashvili
Package: sponsorship-requests
Severity: wishlist
X-Debbugs-Cc: mailatgo...@gmail.com, debian-python@lists.debian.org

Dear mentors,

 I am looking for a sponsor for my package python-bibtexparser:

* Package name: python-bibtexparser
  Version : 0.6.1
  Upstream Author : François Boulogne 
* URL : https://github.com/sciunto-org/python-bibtexparser
* License : LGPL-3+ or BSD-3-Clause
  Section : Python

  It builds 3 binary packages:
   - python-bibtexparser
   - python3-bibtexparser
   - python-bibtexparser-doc

  To access further information about this package, please visit the
following URL:

  https://mentors.debian.net/package/bibtexparser

  I'd like to maintain it under the umbrella of the Python Modules
packaging team.


Bug#805891: ITP: python-bibtexparser -- a Python library to parse bibtex files

2015-11-23 Thread Alex Mestiashvili
Package: wnpp
Severity: wishlist
Owner: Alex Mestiashvili <mailatgo...@gmail.com>
X-Debbugs-Cc: debian-python@lists.debian.org
<debian-de...@lists.debian.org,debian-as...@lists.debian.org,debian-python@lists.debian.org>

* Package name: python-bibtexparser
  Version : 0.6.1
  Upstream Author : François Boulogne <fboulo...@sciunto.dot.org>
* URL : https://github.com/sciunto-org/python-bibtexparser
* License : LGPL-3+ or BSD-3-Clause
  Programming Lang: Python
  Description : a Python library to parse bibtex files

 The bibtexparser module provides parsing and writing of BibTeX files
 functionality. The parsed data is returned as a simple
 BibDatabase object with the main attribute being entries
 representing bibliographic sources such as books and journal articles.


Re: accidental import with git-buildpackage

2015-10-22 Thread Alex Mestiashvili
On 10/22/2015 05:34 PM, Jeremy Lainé wrote:
> Hi all,
>
> I had not followed the transition to git too closely and had assumed the
> new repos were to be managed with git-buildpackage. So I imported a new
> upstream version of python-netfilter using git-buildpackage, only to
> realise I am supposed to use git-dpm. Now my repo is in a state which
> git-dpm cannot handle.. Any ideas how to roll back to a sane state?
> Could the repo be reset to its state post SVN conversion?
>
> Jeremy
>

I would make a copy of screwed up repository and try to rollback to the
previous version in  all branches by using git reset --hard HEAD^
How did you import the new upstream ? with gbp import-orig ?

Regards,
Alex



Re: git-buildpackage python3

2014-05-01 Thread Alex Mestiashvili

Hi Julian,
On 05/01/2014 12:39 AM, Julian Taylor wrote:

On 30.04.2014 22:56, Alex Mestiashvili wrote:

Greetings everybody,

git-buildpackage --git-pbuilder --git-arch=amd64
dh clean --with python2,python3 --buildsystem=pybuild
dh_testdir -O--buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
 pybuild --clean -i python{version} -p 2.7 --dir .
I: pybuild base:170: python2.7 setup.py clean
running clean
removing
'/home/toor/debian-med/python-multipletau/.pybuild/pythonX.Y_2.7/build'
(and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
 pybuild --clean -i python{version} -p 3.3 3.4 --dir .
I: pybuild base:170: python3.3 setup.py clean
Traceback (most recent call last):
   File setup.py, line 4, in module
 from setuptools import setup, find_packages
ImportError: No module named 'setuptools'
E: pybuild pybuild:256: clean: plugin distutils failed with: exit
code=1: python3.3 setup.py clean
dh_auto_clean: pybuild --clean -i python{version} -p 3.3 3.4 --dir .
returned exit code 13
make: *** [clean] Error 13...

git-buildpackage runs the clean target before exporting the dsc so you
need the build dependencies installed on the host for pybuild.
you can disable that with --git-cleaner=true




yes, this was exactly the problem I was hitting, but using 
--git-cleaner=true didn't work for me.
The problem was solved by installing python3-setuptools on the host 
system. ( now it is very obvious :) )


Here is the detailed answer: 
https://lists.debian.org/debian-mentors/2014/04/msg00355.html


Thank you,
Alex


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5361e647.8020...@biotec.tu-dresden.de



git-buildpackage python3

2014-04-30 Thread Alex Mestiashvili

Greetings everybody,

I started packaging of python-multipletau [0] and added python3 stanza 
to the control file fgollowing guidelines from 
https://wiki.debian.org/Python/LibraryStyleGuide and 
https://wiki.debian.org/Python/Pybuild


However when I try to build the package using git-buildpackage and a 
minimal base system I get the following:


git-buildpackage --git-pbuilder --git-arch=amd64
dh clean --with python2,python3 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
pybuild --clean -i python{version} -p 2.7 --dir .
I: pybuild base:170: python2.7 setup.py clean
running clean
removing 
'/home/toor/debian-med/python-multipletau/.pybuild/pythonX.Y_2.7/build' 
(and everything under it)

'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
pybuild --clean -i python{version} -p 3.3 3.4 --dir .
I: pybuild base:170: python3.3 setup.py clean
Traceback (most recent call last):
  File setup.py, line 4, in module
from setuptools import setup, find_packages
ImportError: No module named 'setuptools'
E: pybuild pybuild:256: clean: plugin distutils failed with: exit 
code=1: python3.3 setup.py clean
dh_auto_clean: pybuild --clean -i python{version} -p 3.3 3.4 --dir . 
returned exit code 13

make: *** [clean] Error 13

I looked on some other python3 packages and for example I get a similar 
result for python-dnsq package:


gbp-clone git://anonscm.debian.org/collab-maint/python-dnsq.git

/tmp/test/python-dnsq$ git-buildpackage --git-pbuilder --git-arch=amd64
dh clean --with python2,python3 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py clean
running clean
removing '/tmp/test/python-dnsq/.pybuild/pythonX.Y_2.7/build' (and 
everything under it)

'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
I: pybuild base:170: python3.4 setup.py clean
/bin/sh: 1: python3.4: not found
E: pybuild pybuild:256: clean: plugin distutils failed with: exit 
code=127: python3.4 setup.py clean
dh_auto_clean: pybuild --clean -i python{version} -p 3.4 3.3 --dir . 
returned exit code 13

make: *** [clean] Error 13
gbp:error: Couldn't run 'fakeroot debian/rules clean': fakeroot 
debian/rules clean returned 2


So, I assume that there is something wrong with git-buildpackage or 
pbuilder... or pybuild...


Just for the reference here is the very beginning of the thread:
https://lists.debian.org/debian-mentors/2014/04/msg00343.html

I would appreciate any help,
thank you,
Alex

[0] http://anonscm.debian.org/gitweb/?p=debian-med/python-multipletau.git


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53616383.7020...@biotec.tu-dresden.de