Re: How to watch pypi.org

2020-10-30 Thread Paul Wise
On Sat, Oct 31, 2020 at 2:31 AM Jeremy Stanley wrote: > I have to agree, though in the upstream projects with which I'm > involved, those generated files are basically a lossy re-encoding of > metadata from the Git repositories themselves: AUTHORS file > generated from committer headers,

Re: How to watch pypi.org

2020-10-30 Thread Paul Wise
On Fri, Oct 30, 2020 at 2:19 PM Fioddor Superconcentrado wrote: > As I said I'm very new to this and all (python) packages I'm using lately use > the usual python tools (pipy, setup.py, etc) and my first approach has been > to stick as close as possible to the upstream procedures. But I might

Re: Update PYTHONPATH after install

2020-10-07 Thread Paul Wise
On Wed, Oct 7, 2020 at 5:56 PM Francis Murtagh wrote: > My understanding of Debian policy means python3 modules should be installed > in /usr/lib/python3/dist-packages/ Correct. > Once the package installs there how is the PYTHONPATH meant to be updated so > that user can import the module

Re: How to watch pypi.org

2020-10-04 Thread Paul Wise
On Sun, Oct 4, 2020 at 3:29 PM Fioddor Superconcentrado wrote: > I've packaged a project provided via https://pipi.org and I wanted to create > a debian/watch file but pipi.org publishes the tarball behind a strange url > like I would suggest using the upstream git repo instead of the PyPi

Bug#970533: ITP: pytest-rerunfailures -- pytest plugin that re-runs failed tests up to -n times to eliminate flakey failures

2020-09-18 Thread Paul Wise
Package: wnpp Severity: wishlist Owner: Paul Wise X-Debbugs-Cc: debian-de...@lists.debian.org, debian-python@lists.debian.org * Package name: pytest-rerunfailures Version : 9.1 Upstream Author : Leah Klearman and others * URL : https://github.com/pytest-dev/pytest

Re: packaging DiscoDOS - a cli tool for vinyl DJs

2020-05-18 Thread Paul Wise
On Mon, May 18, 2020 at 7:12 AM Nicolas Chauvat wrote: > In other words, could the contribution from Ubuntu to Debian > diminishes because more effort is put on Snaps and less effort on > improving upstream Debian packages ? The same applies to Snap more generally as well as AppImage, Flatpak

Re: packaging DiscoDOS - a cli tool for vinyl DJs

2020-05-15 Thread Paul Wise
On Fri, 2020-05-15 at 19:56 -0700, Steve Langasek wrote: > FTR, UbuntuStudio is an official Ubuntu flavor, not a derivative ;) Woops. Did that change at some point or did I mix them up with another distro or just make a stupid mistake? -- bye, pabs https://wiki.debian.org/PaulWise

Re: packaging DiscoDOS - a cli tool for vinyl DJs

2020-05-15 Thread Paul Wise
On Fri, May 15, 2020 at 4:56 PM Thomas Goirand wrote: > I really think it's a shame that people join Debian just because of > Ubuntu... :( FTR, Ubuntu Studio is not Ubuntu, it is an Ubuntu derivative. Would it be fair to say that your main objection is that Ubuntu has much higher popularity

Re: PEP-517/PEP-518 Support In Debian

2020-04-12 Thread Paul Wise
On Sun, Apr 12, 2020 at 10:32 PM Scott Kitterman wrote: > I took a look at the presence of pyproject.toml files in the Debian archive. > There are currently 99 packages. Of those, only 28 specify a 'build-backend', > which is required by 517/518 to be useful for building a package. Is there a

Re: Where can I find packages that need a maintainer?

2020-03-20 Thread Paul Wise
On Thu, Feb 13, 2020 at 1:25 AM Pablo Mestre wrote: > With the desire to continue contributing I would like to know where I > can find other packages that need a maintainer. The WNPP data (specifically RFA, O bugs) list packages needing a new maintainer: https://www.debian.org/devel/wnpp/

Re: Where can I find packages that need a maintainer?

2020-02-23 Thread Paul Wise
On Thu, Feb 13, 2020 at 1:25 AM Pablo Mestre wrote: > I recently started as a maintainer of a package for Debian which is > currently awaiting approval to be reintroduced into the repositories. [1] In case you weren't aware, there are some extra steps when reintroducing packages:

Re: would anybody be interested in maintaining feed2toot ?

2019-11-19 Thread Paul Wise
On Tue, Nov 19, 2019 at 8:03 PM shirish शिरीष wrote: > I recently discovered feed2toot. It basically maintains a bot which > can help in re-directing traffic from blog, vlogs, youtube etc. to > fediverse. In a way it's a content re-director. It basically takes an > RSS feed and re-directs it any

Re: Python module packages that don't bytecompile on installation?

2019-11-02 Thread Paul Wise
On Sat, Nov 2, 2019 at 6:04 PM Matthias Klose wrote: > At this point I'd ignore any Python2 related package, and concentrate on > Python3 > stuff only. Yes, I was referring only to python3-* module packages. > Byte compilation is an optimization, speeding up a program start if > byte-compiled

Python module packages that don't bytecompile on installation?

2019-11-01 Thread Paul Wise
Hi all, I run adequate on my system, which means I notice when Python module packages don't bytecompile when they are installed. So far I've just been ignoring the warnings that adequate prints. https://salsa.debian.org/debian/adequate In addition I noticed: * some Python modules on my system

Re: Re: Bug#920127: Removed package(s) from unstable

2019-09-08 Thread Paul Wise
On Mon, Sep 9, 2019 at 4:11 AM Scott Kitterman wrote: > This was sent to the FTP Team, but it seems like someone with some bandwidth > to assist from DPMT/PAPT would be a better audience. Note that the removal's > already been done, but if someone wants to sponsor a python3 update to the >

Re: Looking for projects to work on

2019-06-09 Thread Paul Wise
On Sun, Jun 9, 2019 at 11:54 PM Manas Kashyap wrote: > I have been looking on any issue or currently in progress project to work on > , with a little mentoring i think i can finish the project and also help in > maintaining it . If you have some experience with Python & Django, there is always

Re: Future of pygame in Debian.

2018-10-12 Thread Paul Wise
On Sat, Oct 13, 2018 at 9:36 AM peter green wrote: > The other two are testsuite failures on architectures where frankly I doubt > pygame has many users* ... > *Both are very expensive architectures driven by IBM. Raptor Computing sells (expensive but less than IBM) POWER9 desktops with GPUs so

Re: Dask sourceless javascript passed by me.

2018-06-08 Thread Paul Wise
On Sat, Jun 9, 2018 at 2:05 AM, Diane Trout wrote: > Using a screen shot is just to deal with our build from source rule and > to avoid a privacy leak from loading a remote resource. I believe that rule applies to all of Debian main, not just ELF binaries. -- bye, pabs

Re: Dask sourceless javascript passed by me.

2018-06-07 Thread Paul Wise
On Fri, Jun 8, 2018 at 5:59 AM, Diane Trout wrote: > How do I replace the .orig.tar.gz that I already uploaded? You will need a new upstream version, typically people use 0.1.2+dfsg1 (for DFSG issues) or 0.1.2+ds1 (for other repack reasons) in these sort of situations. > I was planning on

Re: Dask sourceless javascript passed by me.

2018-06-05 Thread Paul Wise
On Wed, Jun 6, 2018 at 12:30 PM, Diane Trout wrote: > I was planning on patching the references to the .html files out and > removing them in the debian/rules files. > > But is that enough? That doesn't fix the orig.tar.gz. I would suggest talking to upstream about fixing this properly (no

Re: RFS: mwic 0.7.5-1

2018-05-25 Thread Paul Wise
On Sat, May 26, 2018 at 4:22 AM, Georg Faerber wrote: > Please review / sponsor mwic 0.7.5-1. Changes pushed to git [1], .dsc > available via [2]. The dh_clean arguments can be put in debian/clean to avoid an override. Why did you change the timestamp at the bottom of debian/changelog? I think

Re: setup.py sdist permissions

2018-04-04 Thread Paul Wise
On Wed, Apr 4, 2018 at 6:09 AM, Brian May wrote: > * Shouldn't sdist be ignoring my umask considering it is generating > packages for public consumption? IMO sdist should be deterministic in the reproducible builds sense: https://reproducible-builds.org/ -- bye, pabs

Re: RFS: mwic 0.7.4-1

2018-03-24 Thread Paul Wise
On Wed, Mar 21, 2018 at 8:43 PM, Paul Wise wrote: > I'll take a look, probably on Friday. Uploaded to NEW, thanks for your contribution. If you are so inclined, I would appreciated a commit (or patch) adding mwic support to check-all-the-things: https://anonscm.debian.org/cgit/collab-ma

Re: apt.Cache.update with alternative sources.list

2018-03-22 Thread Paul Wise
On Thu, Mar 22, 2018 at 6:12 AM, Ole Streicher wrote: > I need some access (as normal user) to an apt cache with an alternative > sources.list (those in /etc/blends/ installed by blends-dev), but I have > problems to find out how to use it. If you want to completely isolate apt from the system

Re: RFS: mwic 0.7.4-1

2018-03-21 Thread Paul Wise
On Wed, Mar 21, 2018 at 6:02 PM, Georg Faerber wrote: > To put it differently, especially regarding this upstream metadata > check: If someone opens a bug against lintian to add a new check, does > "this new check" needs to be backed up by some general consensus within > the project? Is there

Re: RFS: mwic 0.7.4-1

2018-03-20 Thread Paul Wise
On Wed, Mar 21, 2018 at 1:11 AM, Georg Faerber wrote: > Thanks a lot for your review, and sorry for not responding earlier, too > much stuff on my table: There is no need to apologise for being busy :) > On 18-03-18 11:33:59, Paul Wise wrote: >> The copyright years are mi

Re: Bug#891391: ITP: python-hsluv -- Python implementation of HSLuv (Human-friendly HSL)

2018-03-19 Thread Paul Wise
On Tue, 2018-03-20 at 08:39 +0800, Yao Wei (魏銘廷) wrote: > In the screenshot provided in the issue the code seems to be pretty > different, so I am wondering that does it count as an > "reimplementation" of hsluv? To me it looks fairly similar and the changes seem mechanical, they could probably

Re: Bug#891391: ITP: python-hsluv -- Python implementation of HSLuv (Human-friendly HSL)

2018-03-19 Thread Paul Wise
On Mon, Mar 19, 2018 at 10:04 PM, Yao Wei wrote: > [1]: https://github.com/hsluv/hsluv-python/blob/master/hsluv.py I quote from that file: """ This module is generated by transpiling Haxe into Python and cleaning the resulting code by hand, e.g. removing unused Haxe classes. To try it yourself,

Re: Bug#891391: ITP: python-hsluv -- Python implementation of HSLuv (Human-friendly HSL)

2018-03-19 Thread Paul Wise
On Mon, Mar 19, 2018 at 10:04 PM, Yao Wei wrote: > I am having a situation that this code is said to be "transpiled" from > HSLuv written in Haxe [1], the code seems to be gone though a lot of > overhaul from the generated code that cannot be diffed. I believe the > code written in Python is

Re: RFS: mwic 0.7.4-1

2018-03-17 Thread Paul Wise
On Sat, Mar 17, 2018 at 5:49 PM, Georg Faerber wrote: > Thanks a lot; sure, see [1]. These things block the upload: The copyright years are missing 2012, I'm not sure if the ftp-masters would reject the package on that basis. I require these things to be fixed before I would sponsor the

Re: RFS: mwic 0.7.4-1

2018-03-16 Thread Paul Wise
On Sat, Mar 17, 2018 at 5:29 AM, Georg Faerber wrote: > I'm searching a sponsor for the initial upload of mwic. I'll be happy to sponsor this, but I will need you to upload the source package to mentors.d.n first. > - Running autopkgtest gives "SKIP no tests in this package". I've > searched

Re: Thread on flit...

2018-02-17 Thread Paul Wise
On Sat, Feb 17, 2018 at 4:41 PM, Julien Puydt wrote: > It is intended for trivial packaging... so perhaps dh_python could > detect its use and do something smarter. Ideally, debhelper should DTRT no matter what build system is in use. -- bye, pabs https://wiki.debian.org/PaulWise

Re: Thread on flit...

2018-02-16 Thread Paul Wise
On Thu, Feb 15, 2018 at 11:05 PM, Julien Puydt wrote: > Should it be packaged? If it meets Debian standards and is needed by another package, there is no reason why it shouldn't be packaged. -- bye, pabs https://wiki.debian.org/PaulWise

Re: pyapi-gitlab vs python-gitlab

2018-02-11 Thread Paul Wise
On Fri, Feb 9, 2018 at 8:43 PM, IOhannes m zmölnig wrote: > i've contacted them in 2017-12 (via github), and afaict both projects > acknowleged the problem and rejected a solution :-( > > https://github.com/pyapi-gitlab/pyapi-gitlab/issues/263 >

Re: pyapi-gitlab vs python-gitlab

2018-02-08 Thread Paul Wise
On Fri, Feb 9, 2018 at 11:17 AM, Scott Kitterman wrote: > I'd encourage you to work with the upstreams to deconflict the namespace. > This isn't really a problem Debian should solve. Good point, I've contacted them via email and will file tickets if there is no response. -- bye, pabs

pyapi-gitlab vs python-gitlab

2018-02-08 Thread Paul Wise
Hi all, I wanted to use the python-gitlab cli but I noticed it wasn't in the Debian packages and then I noticed that we have pyapi-gitlab as python*-gitlab packages instead of python-gitlab. I'm not sure what the right solution here is? Maybe rename the pyapi-gitlab packages to include pyapi

Re: Package name of src:fontmake

2018-01-27 Thread Paul Wise
On Sun, Jan 28, 2018 at 2:30 AM, Piotr Ożarowski wrote: > please also remember to install this private library into private (as > in: outside dist-packages) dir. You can do that with something like: Is there or should there be a lintian warning about packages not named python{,3}-* containing

Bug#883903: RFP: robobrowser -- Your friendly neighborhood web scraper

2017-12-08 Thread Paul Wise
Package: wnpp Severity: wishlist X-Debbugs-Cc: debian-python@lists.debian.org * Package name: robobrowser Version : 0.5.3 Upstream Author : Joshua Carp * URL : http://robobrowser.readthedocs.org/ https://github.com/jmcarp/robobrowser * License : BSD 3-clause

Re: pycharm package in debian

2017-10-01 Thread Paul Wise
On Sun, Oct 1, 2017 at 3:26 PM, Ghislain Vaillant wrote: > May I ask what would be the benefit for pycharm to be in Debian, when we > already have the official Jetbrains Toolbox App or the snap package as means > to install and update the application? I've never heard of the first of those,

Re: pycharm package in debian

2017-09-30 Thread Paul Wise
On Sat, Sep 30, 2017 at 10:35 PM, Julien Puydt wrote: > Le 30/09/2017 à 14:22, kamaraju kusumanchi a écrit : >> Are there any plans to make a debian package of pycharm that is part >> of official debian? I used their community edition on windows 7 and it >> is awesome. > > Maybe you should look at

Re: a few quick questions on gbp pq workflow

2017-08-07 Thread Paul Wise
On Sun, Aug 6, 2017 at 2:53 PM, Jeremy Stanley wrote: > Why would you need to repack a tarball just because it contains > prebuilt docs (non-DFSG-free licensed documentation aside)? I'd suggest removing prebuilt files should happen in both the upstream VCS and tarballs, failing that then at

Re: Packaging ElasticSearch (different version for different server API version)

2017-04-04 Thread Paul Wise
On Wed, Apr 5, 2017 at 3:21 AM, Adam Cécile wrote: > It's working just fine, and I even think it's a lot saner as I can simply do > "from elasticsearch5 import ElasticSearch" instead "from elasticsearch2 > import ElasticSearch" to test my code against a new ES5 servers cluster. > Do you think

Re: GnuPG signatures on PyPI: why so few?

2017-03-12 Thread Paul Wise
On Mon, Mar 13, 2017 at 4:28 AM, Jeremy Stanley wrote: > upload them to PyPI since the authors of the coming Warehouse > replacement for the current CheeseShop PyPI have already indicated > that they intend to drop support for signatures entirely. Did they give any reasoning for this decision?

Re: PyPI source or github source?

2017-03-11 Thread Paul Wise
On Sun, Mar 12, 2017 at 10:19 AM, Brian May wrote: > Sure, you could argue that PyPI source packages should contain > everything the github package does. In fact there is a PyPI tool to help > get the MANIFEST.in correct for such purposes - > https://pypi.python.org/pypi/check-manifest Anyone

Re: Best way to package a python module which is "private" with exposed calling script

2017-02-06 Thread Paul Wise
On Tue, Feb 7, 2017 at 7:32 AM, Simon McVittie wrote: > This is not portable to platforms that don't have symlinks (hello Windows) FYI, Windows has symlinks: https://msdn.microsoft.com/en-us/library/windows/desktop/aa363878(v=vs.85).aspx https://en.wikipedia.org/wiki/NTFS_symbolic_link --

Re: http://pypi.debian.net/ down?

2017-01-17 Thread Paul Wise
On Wed, Jan 18, 2017 at 3:39 PM, Andreas Tille wrote: > lots of watch files are reported as failing since (at least yesterday). > Is something wrong with http://pypi.debian.net/ ? There was an issue renewing sponsorship of the VM. There is a proposal on debian-admin to move it to DSA. DSA hasn't

Re: /usr/bin/python2 shebangs

2016-11-09 Thread Paul Wise
On Thu, Nov 10, 2016 at 12:02 AM, Thomas Goirand wrote: > The point is, some people also use venvs. In a world of Python 3 only, > some upstream will continue to use /usr/bin/python (IMO, rightly). We > should be able to provide a default implementation for these scripts. I think this is a bug

Re: DEP 8: Gathering Django usage analytics

2016-11-06 Thread Paul Wise
On Mon, Nov 7, 2016 at 12:06 PM, Paul Wise wrote: > Making it opt-in with *informed* user consent. Thinking on it more, due to the whole click-through culture on the modern web, I'm not sure that informed user consent is quite enough. Some discussion of that phenomenon in the latest FaiF epis

Re: DEP 8: Gathering Django usage analytics

2016-11-06 Thread Paul Wise
On Mon, Nov 7, 2016 at 10:21 AM, Brian May wrote: > I think upstream Django have requested our feedback on this pull request: > > https://github.com/django/deps/pull/31 I would suggest a few things: Making it opt-in with *informed* user consent. Use a Django-hosted piwik/etc service instead of

Re: Packaging new version of ZODB (Zope Object Database)

2016-11-01 Thread Paul Wise
On Wed, Nov 2, 2016 at 8:51 AM, Julien Muchembled wrote: > Bug#842870: ITP: zodbpickle -- Fork of pickle module, for ZODB Please ensure the security team are informed about this fork, via their embedded-code-copies file: https://wiki.debian.org/EmbeddedCodeCopies -- bye, pabs

Re: Jupyter Notebook: how to comment out code in ipynb files ?

2016-09-26 Thread Paul Wise
On Tue, Sep 27, 2016 at 12:17 AM, Jerome BENOIT wrote: > everyone read the documentation. Ok, so when they load the documentation, their web browser will call out to the Internet. > on unstable, the embedded youtube stuff was detected. Ah, good. I must have overlooked that. > Out of

Re: Jupyter Notebook: how to comment out code in ipynb files ?

2016-09-25 Thread Paul Wise
On Mon, Sep 26, 2016 at 12:53 PM, Jerome BENOIT wrote: > I put them a few hours ago at the Debian Sage Tean [1] repository at Aliot > [2]. Looks like these are not false positives and are definitely privacy breaches (probably minor since I'm not sure anyone would read the docs) and there is one

Re: Jupyter Notebook: how to comment out code in ipynb files ?

2016-09-25 Thread Paul Wise
On Mon, Sep 26, 2016 at 12:03 PM, Jerome BENOIT wrote: > Now, I am not so sure: in case it is a false positive Can you upload source and binary packages somewhere so we can determine the right answer? -- bye, pabs https://wiki.debian.org/PaulWise

Re: Jupyter Notebook: how to comment out code in ipynb files ?

2016-09-25 Thread Paul Wise
On Mon, Sep 26, 2016 at 12:22 AM, Jerome BENOIT wrote: > Some code in an ipynb document have to be discarded because > it causes a privacy-breach-logo lintian error. Bring the involved > icon in the debian folder makes no senses because the code is meant > to be a URL example. Currently, I

Re: can we disable the bounce kicker? Re: confirm

2016-09-10 Thread Paul Wise
On Sun, Sep 11, 2016 at 3:23 AM, Sandro Tosi wrote: > On Sat, Sep 10, 2016 at 7:35 PM, Barry Warsaw wrote: >> On Sep 10, 2016, at 02:46 PM, Sandro Tosi wrote: >> >>>I'm sure i'm not the only member using gmail, which bounces spam >>>emails and that what causes this problem. >> >> Are you sure

Re: Bug#834768: RFS: codicefiscale/0.9-1

2016-08-20 Thread Paul Wise
On Sat, Aug 20, 2016 at 10:05 PM, Elena ``of Valhalla'' wrote: > Thanks. I currently check packages with lintian (--pedantic) and > piuparts, and I sort-of-know-but-still-don't-use check-all-the-things: If it helps convince you to use it, installing without recommends will lead to knowing which

Re: help2man usage with pybuild / debhelper packaging workflow

2016-06-04 Thread Paul Wise
On Sat, Jun 4, 2016 at 8:05 PM, Ghislain Vaillant wrote: > I like this approach. Any example you may have in mind? Apparently onionbalance uses sphinxcontrib-autoprogram. I plan to figure out python3-sphinx-argparse at some point for check-all-the-things. Another really useful thing to have is

Re: request to join DPMT

2016-05-03 Thread Paul Wise
On Tue, May 3, 2016 at 7:17 PM, Jonathon Love wrote: > can someone add me to the team? You were added a week ago: https://lists.debian.org/msgid-search/20160426064708.gy2...@sar0.p1otr.com You may want to subscribe to the debian-python list: https://lists.debian.org/debian-python/ -- bye,

Re: pep8 build depends on jessie

2016-05-01 Thread Paul Wise
On Mon, May 2, 2016 at 7:06 AM, Brian May wrote: > The idea was to allow it to build unchanged on Jessie, which doesn't > have python-pep8. I guess my question wasn't clear enough. I was asking why pep8/python-pep8 are used at build time at all. They are tools for checking style, there is no

Re: pep8 build depends on jessie

2016-05-01 Thread Paul Wise
On Sun, May 1, 2016 at 6:21 PM, Brian May wrote: > "python-pep8 | pep8" in the build depends Why is pep8 in a Build-Depends? It doesn't seem like something that should be used at build time, only at upstream development time. -- bye, pabs https://wiki.debian.org/PaulWise

Re: JOB: for a Debian Pythonista to work with others alike

2016-04-19 Thread Paul Wise
On Wed, Apr 20, 2016 at 4:47 AM, Yaroslav Halchenko wrote: > Hopefully you wouldn't throw way too many stones for such an OT, but I > thought to ask since the audience is right! ;) Please post these on debian-jobs instead. -- bye, pabs https://wiki.debian.org/PaulWise

Re: Packaging dependencies for mailman3-hyperkitty

2016-03-25 Thread Paul Wise
On Fri, 2016-03-25 at 19:35 +0100, Pierre-Elliott Bécue wrote: > That's in progress, the only goal of this detection is to deactivate > javascript dynamic load of threads. We're thinking about alternative > solutions. I don't understand why you would deactivate JavaScript dynamic load for bots?

Re: Packaging dependencies for mailman3-hyperkitty

2016-03-24 Thread Paul Wise
On Thu, Mar 24, 2016 at 11:43 PM, Pierre-Elliott Bécue wrote: > Packaging dependencies for mailman3-hyperkitty Does HyperKitty depend on mailman3 or just enhance it by providing an archive web interface? If the latter, I would suggest calling it hyperkitty instead of mailman3-hyperkitty. >

Re: nose2 reverse dependancies

2016-03-07 Thread Paul Wise
On Tue, Mar 8, 2016 at 12:02 PM, Brian May wrote: > Paul Wise writes: > Are these available in Debian/testing? If so, what packages? According to packages.debian.org and apt metadata: botch is only in unstable dose-ceve is in dose-extra, which is in all suites. -- bye, pabs

Re: static analysis and other tools for checking Python code

2016-03-06 Thread Paul Wise
On Sat, Mar 5, 2016 at 10:03 PM, Nicolas Chauvat wrote: > Would "pylint -E *.py" do what you want? That is essentially what the added check does now. > Or maybe use find with 'file' as a filter? MIME support is in progress in c-a-t-t. -- bye, pabs https://wiki.debian.org/PaulWise

Re: static analysis and other tools for checking Python code

2016-03-04 Thread Paul Wise
On Fri, Mar 4, 2016 at 11:11 PM, Nicolas Chauvat wrote: > It does recursively scan for Python files: That doesn't pick up Python scripts that don't have .py in their name. I couldn't get it to work with files in the current directory: $ touch __init__.py $ echo 'a = b+1' > bar.py $ pylint -E .

Re: static analysis and other tools for checking Python code

2016-03-04 Thread Paul Wise
On Fri, Mar 4, 2016 at 10:14 PM, Daniel Stender wrote: > BTW there's also Prospector which provides a uniform interface to many > individual linters: > https://packages.qa.debian.org/p/prospector.html Already on the TODO list:

Re: static analysis and other tools for checking Python code

2016-03-04 Thread Paul Wise
On Fri, Mar 4, 2016 at 5:24 PM, Nicolas Chauvat wrote: > I hope this helps making clearer what pylint can be used for. I had a > look at the README and I suppose the intro section at the top could > state the above goal with more clarity. It does, thanks. Do you know if pylint can recursively

Re: static analysis and other tools for checking Python code

2016-03-03 Thread Paul Wise
On Thu, 2016-03-03 at 12:52 +0100, Nicolas Chauvat wrote: > That would be https://pypi.python.org/pypi/PyChecker > > Pylint has never run code from the source tree. I wonder where I got that impression from. What about from the module it is checking? > "pylint " should work fine.

Re: static analysis and other tools for checking Python code

2016-03-02 Thread Paul Wise
On Thu, Mar 3, 2016 at 7:52 AM, Jeremy Stanley wrote: > ... All of flake8, hacking, bandit, pep257, clonedigger and more are on the TODO list: https://anonscm.debian.org/cgit/collab-maint/check-all-the-things.git/tree/data/python FYI pep257 is definitely packaged:

Re: static analysis and other tools for checking Python code

2016-03-02 Thread Paul Wise
On Wed, Mar 2, 2016 at 9:23 PM, Nicolas Chauvat wrote: > Maybe add pylint? As I understand it: pylint runs code from the source tree so it isn't suitable for running by default as that could be a security issue for people reviewing potentially untrusted code. pylint isn't able to be run

Re: static analysis and other tools for checking Python code

2016-03-01 Thread Paul Wise
On Wed, Mar 2, 2016 at 12:38 PM, Scott Kitterman wrote: > It's probably worth looking at [1] to see if there's anything worth salvaging > for what you're doing. ... > [1] http://snapshot.debian.org/package/lintian4python/0.28.4/ If someone were to revive upstream development of lintian4python

Re: nose2 reverse dependancies

2016-03-01 Thread Paul Wise
On Wed, Mar 2, 2016 at 7:02 AM, Mattia Rizzolo wrote: > FYI, I don't know of a nice way to build a dependency graph, like > sometimes I see somewhere, with graphiz On #debian-mentors recently this question came up and the answers were: debtree apt-cache dotty botch dose-ceve -- bye, pabs

static analysis and other tools for checking Python code

2016-03-01 Thread Paul Wise
Hi all, Some of you may have noticed I'm working on a tool called check-all-the-things that does what it says on the tin. https://anonscm.debian.org/cgit/collab-maint/check-all-the-things.git https://anonscm.debian.org/cgit/collab-maint/check-all-the-things.git/tree/doc/README One of the things

Re: Autopkgtest smoke test for Python libraries

2016-03-01 Thread Paul Wise
On Wed, Mar 2, 2016 at 6:53 AM, Ben Finney wrote: > Who can recommend a way to make this a more automated part of the Debian > Python package build workflow? Add things that should be changed to `cme fix` or pypi2deb https://wiki.debian.org/AutomaticPackagingTools -- bye, pabs

Re: Python Policy: Things to consider for Stretch

2016-02-15 Thread Paul Wise
On Tue, Feb 16, 2016 at 11:42 AM, Barry Warsaw wrote: > I don't remember exactly why we called it 'site-packages' ... Thanks for the history :) I always thought it strange to put site- in /usr/local since /usr/local already implies site/system-wide packages. Same for dist- since /usr already

Re: Pushing a bunch of packages to jessie-backports

2015-11-28 Thread Paul Wise
On Fri, Nov 27, 2015 at 8:02 PM, Thomas Goirand wrote: > That's one of the multiple breakage that the NEW queue brings. There's > unfortunately no way to fix that for this kind of complex uploads with > inter-dependencies and updates of existing packages. The only way, > unfortunately, is to have

Re: Dealing with flit -- a simplified packaging of python modules

2015-09-27 Thread Paul Wise
On Sat, Sep 26, 2015 at 5:21 AM, Donald Stufft wrote stuff Thanks for the summary, it sounds like the Python community is slowly moving towards a setup that is more closely aligned with Debian's values and setup. -- bye, pabs https://wiki.debian.org/PaulWise

Re: Dealing with flit -- a simplified packaging of python modules

2015-09-26 Thread Paul Wise
On Fri, 2015-09-25 at 19:25 -0400, Donald Stufft wrote: > Because the way Python packaging currently is and historically has > been, binary packages are not something that is widely available or > viable. Hmm, I thought eggs have been around for ages (seems about 8 years)? -- bye, pabs

Re: Dealing with flit -- a simplified packaging of python modules

2015-09-25 Thread Paul Wise
On Thu, Sep 24, 2015 at 1:17 PM, Thomas Kluyver wrote: > That's my point ;-). From our upstream point of view, it's not a bug > that the distributions we put on PyPI contain generated/bundled files - > we do it that way deliberately, so that end users can install without > needing Javascript

Re: Sphinx 1.3 in Debian experimental

2015-06-29 Thread Paul Wise
On Tue, Jun 30, 2015 at 4:14 AM, Barry Warsaw wrote: Maybe upstream would accept a patch similar to what I've done before. It could map |today| to the value of an environment variable, if it's set. E.g. something like SPHINX_TODAY. Then pybuild, dh_python{2,3}, or some other infrastructure

Re: Python 2 d-d-a proposal

2015-04-16 Thread Paul Wise
On Thu, Apr 16, 2015 at 4:48 AM, Scott Kitterman wrote: You might also ask Debian teams using Python in the Debian infrastructure to review their packaged dependencies and identify any that aren't available for Python3. We'll need to know that soon so we can work on porting

Python and Debian infrastructure

2015-04-16 Thread Paul Wise
In addition to the Python 3 related work: Port service dependencies to Python 3. Port service code-bases to Python 3. We also need to: Port Django based services to Django 1.7 Port services based on Pylons (deprecated) to something else like Django: snapshot.debian.org debexpo

Re: Python and Debian infrastructure

2015-04-16 Thread Paul Wise
On Thu, Apr 16, 2015 at 10:48 PM, Jan Dittberner wrote: Pyramid is a bit more lightweight Flask might be another option for lightweight framework needs. Paul already suggested to merge debianmemberportfolio with db.debian.org but I did not have time to evaluate that option yet. That is

Re: Offer to help with Python 2 porting

2015-04-16 Thread Paul Wise
On Fri, Apr 17, 2015 at 10:10 AM, Bryan Shook wrote: I saw Paul Tagliamonte's post to the debian-devel-announce list. I'd be interested in assisting with this project. I wrote some ctypes Python code that interacted with a Windows DLL. I ran into a lot of String encoding situations with

Re: Speech Input

2015-01-11 Thread Paul Wise
On Sat, Jan 10, 2015 at 6:19 PM, chaitanya sai alaparthi wrote: ... takes the help of google speech recogniton api ... This means that the software relies on proprietary software and transmits user data over the Internet to Google. If you put this in Debian it will have to go to contrib and it

Re: Help with old mathplotlib API (nxutils) needed

2014-09-10 Thread Paul Wise
The mathplotlib API changes document recommends switching from matplotlib.nxutils to matplotlib.path.Path.contains_point and friends. http://matplotlib.org/api/api_changes.html#id1 Also I used codesearch.d.n and found some code which supports both versions of the mathplotlib API:

Re: apache2.2 / apache2.4 config

2014-07-16 Thread Paul Wise
On Thu, Jul 17, 2014 at 9:11 AM, Brian May wrote: Anyone got any better ideas? Something like this for the configuration: /etc/apache2/conf-available/someconf-2.x.conf: # All the common config options here /etc/apache2/conf-available/someconf-2.2.conf: Allow from all Include

Re: Passing arguments to nosetests in debian/rules:override_dh_auto_test

2014-07-06 Thread Paul Wise
On Mon, Jul 7, 2014 at 2:45 AM, Josue Ortega wrote: How can I pass them? and which is the right way to do it? According to the nosetests manual page the right way to do it is for upstream to delete the options from the Makefile and from travis.yaml and put them in a [nosetests] section in the

Re: RFS: python-rarfile/2.6-1 [ITP] -- RAR archive reader module for Python

2014-06-09 Thread Paul Wise
On Tue, Jun 10, 2014 at 4:21 AM, Hugo Lefeuvre wrote: It builds the python-rarfile package, which provides an RAR archive reader module for Python. More informations can be obtained from the following URLs: I don't intend to sponsor this but here are some comments: It looks like upstream is

Re: Embedded six.py in many packages: can someone add a lintian check?

2014-05-29 Thread Paul Wise
On Thu, May 29, 2014 at 10:53 PM, Barry Warsaw wrote: One of the things I want to add to my mythical PEP are at least declarations of vendored packages. What tool do people use to do vendorising? Maybe that could be patched to include a file containing info about which projects were

Re: Embedded six.py in many packages: can someone add a lintian check?

2014-05-29 Thread Paul Wise
On Thu, May 29, 2014 at 11:13 PM, Barry Warsaw wrote: On May 29, 2014, at 10:58 PM, Paul Wise wrote: On Thu, May 29, 2014 at 10:53 PM, Barry Warsaw wrote: One of the things I want to add to my mythical PEP are at least declarations of vendored packages. What tool do people use to do

restarting services after security upgrades in pure-Python modules?

2014-05-16 Thread Paul Wise
Hi all, Anyone know if it is possible to detect processes that are using old versions of pure-Python modules after security upgrades to them? -- bye, pabs http://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part

Re: favouring Python3 in the Debian policy

2014-05-07 Thread Paul Wise
On Wed, May 7, 2014 at 10:45 PM, Matthias Klose wrote: Attached is a proposed change to the Debian Python policy to focus on Python3 within the distribution. The intent is to document and start a large journey towards one Python stack in Debian. This is unlikely to happen for jessie+1, but

Re: Python 3.4 and ensurepip (rehashed, long)

2014-03-20 Thread Paul Wise
On Thu, Mar 20, 2014 at 5:40 AM, Barry Warsaw wrote: I: Should we follow Fedora? Fedora is discussing some of these issues too[6]. Looks like one of their devs created an rpm-wheel conversion script so that if you pip install a package from the archive, it'll get the rpm, convert it to a

Re: RFS: Pyspread 0.2.6-1

2014-02-18 Thread Paul Wise
On Tue, Feb 18, 2014 at 7:48 PM, Andreas Noteng wrote: Pyspread works just fine without ttf-mscorefonts-installer, so I guess suggests would be a better choice anyway. The tests will fail without the package though. Is it OK to include ttf-mscorefonts-installer as a test dependency in

Re: Future of django-pagination in Debian

2014-02-11 Thread Paul Wise
On Wed, Feb 12, 2014 at 11:02 AM, Andrew Starr-Bochicchio wrote: Any one have any opinions? How does the upstream Django community recommend to do pagination? -- bye, pabs http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of

Re: QA Developer overview, compared with PET

2014-01-26 Thread Paul Wise
On Mon, Jan 27, 2014 at 7:37 AM, Ben Finney wrote: Thanks for bringing PET to my attention. But I wonder whether it's unused for good reason? The only reason it is unused is people don't know about it or forget it exists. What does PET do which the Packages Overview tool does not? It looks

Re: Recommending get-orig-source for packages ?

2013-12-04 Thread Paul Wise
On Wed, Dec 4, 2013 at 3:43 PM, Andreas Tille wrote: That's in devscripts git and will be included in the next devscripts version. (see [1]) Awesome, thanks for your work on that. That said, the choice of debian/copyright as the location for files to be excluded seems awkward/weird. I would

Re: Recommending get-orig-source for packages ?

2013-12-03 Thread Paul Wise
On Tue, Dec 3, 2013 at 11:42 PM, Olivier Berger wrote: I haven't spotted anything recommending a get-orig-source target in debian/rules in the team's docs. Policy recommends it, that should be enough? http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules -- bye, pabs

  1   2   >