[issue13150] Most of Python's startup time is sysconfig

2011-10-11 Thread Tarek Ziadé
Tarek Ziadé added the comment: I am curious: wouldn't be a way of keeping the compiled expressions in a static cache somewhere, so we would compile them just once and have both import time and runtime fast ? -- ___ Python tracker

[issue12143] packaging extension gcc linking fails on Ubuntu Shared

2011-05-22 Thread Tarek Ziadé
Tarek Ziadé added the comment: Thanks for the test David -- ___ Python tracker <http://bugs.python.org/issue12143> ___ ___ Python-bugs-list mailing list Unsub

[issue10126] test_distutils failure with --enable-shared

2011-05-22 Thread Tarek Ziadé
Tarek Ziadé added the comment: I am trying to fix this by backporting the distutils fix, but --enabled-share does not work for me ?! $ make distclean && ./configure --enable-shared --with-pydebug && make $ ./python libpython3.3dm.so.1.0: cannot open shared object file:

[issue10126] test_distutils failure with --enable-shared

2011-05-22 Thread Tarek Ziadé
Tarek Ziadé added the comment: Fixed in packaging. It seems that all fronts are OK, so closing this -- status: open -> closed ___ Python tracker <http://bugs.python.org/issu

[issue12132] test_packaging failures when run with -j

2011-05-22 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- resolution: duplicate -> status: closed -> open ___ Python tracker <http://bugs.python.org/issue12132> ___ ___ Python-bugs-list

[issue12132] test_packaging failures when run with -j

2011-05-22 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue12132> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12141] sysconfig.get_config_vars('srcdir') fails in specific cases

2011-05-22 Thread Tarek Ziadé
Tarek Ziadé added the comment: @ned: right. done, and fixes issue12132 -- assignee: pitrou -> tarek components: +Library (Lib) title: --multiprocessing fails with packaging.tests.test_command_build_ext -> sysconfig.get_config_vars('srcdir') fails in specific cases v

[issue12150] test_sysconfig fails on solaris

2011-05-22 Thread Tarek Ziadé
New submission from Tarek Ziadé : == ERROR: test_get_path (test.test_sysconfig.TestSysConfig) -- Traceback (most recent call last): File "/home2/bui

[issue12125] test_sysconfig fails on OpenIndiana because of test_packaging

2011-05-23 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- assignee: -> tarek ___ Python tracker <http://bugs.python.org/issue12125> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12113] test_packaging fails when run twice

2011-05-24 Thread Tarek Ziadé
Tarek Ziadé added the comment: I fixed it. The pypi server missed a Content-Length in its responses, and that made urlretrieve crazy :) -- ___ Python tracker <http://bugs.python.org/issue12

[issue12169] Factor out common code for d2 commands register, upload and upload_docs

2011-05-24 Thread Tarek Ziadé
Tarek Ziadé added the comment: good idea! want to tackle this ? -- ___ Python tracker <http://bugs.python.org/issue12169> ___ ___ Python-bugs-list mailin

[issue12180] test_packaging: failures --without-threads

2011-05-25 Thread Tarek Ziadé
Tarek Ziadé added the comment: looking -- ___ Python tracker <http://bugs.python.org/issue12180> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12180] test_packaging: failures --without-threads

2011-05-25 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- assignee: -> tarek ___ Python tracker <http://bugs.python.org/issue12180> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12180] test_packaging: failures --without-threads

2011-05-25 Thread Tarek Ziadé
Tarek Ziadé added the comment: all good now -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue12180> ___ ___

[issue11254] distutils doesn't byte-compile .py files to __pycache__ during installation

2011-05-30 Thread Tarek Ziadé
Tarek Ziadé added the comment: to be backported in packaging -- in a way that will make it work with previous python versions for the incoming 2.x backport -- ___ Python tracker <http://bugs.python.org/issue11

[issue10645] Remove egg-info files in stdlib

2011-05-30 Thread Tarek Ziadé
Tarek Ziadé added the comment: I am going to remove wsgiref.egg-info -- ___ Python tracker <http://bugs.python.org/issue10645> ___ ___ Python-bugs-list mailin

[issue12125] test_sysconfig fails on OpenIndiana because of test_packaging

2011-05-30 Thread Tarek Ziadé
Tarek Ziadé added the comment: I fixed it -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue12125> ___ ___

[issue12218] Removing wsgiref.egg-info

2011-05-30 Thread Tarek Ziadé
New submission from Tarek Ziadé : I am removing that metadata info, since we're moving to PEP 376 -- assignee: tarek components: Library (Lib) messages: 137306 nosy: tarek priority: normal severity: normal status: open title: Removing wsgiref.egg-info versions: Python 3.3, Pytho

[issue10645] Remove egg-info files in stdlib

2011-05-30 Thread Tarek Ziadé
Tarek Ziadé added the comment: see issue12218 -- ___ Python tracker <http://bugs.python.org/issue10645> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12218] Removing wsgiref.egg-info

2011-05-30 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue12218> ___ ___ Python-bugs-list

[issue12222] All pysetup commands should respect exit codes

2011-05-31 Thread Tarek Ziadé
New submission from Tarek Ziadé : All actions in packaging.run need to respect a basic exit convention 0/1. This is important because pysetup will be used in automated scripts so the caller needs to know wether the call failed or succedeed. Example: pysetup install project => sys,exit(0

[issue12222] All pysetup commands should respect exit codes

2011-05-31 Thread Tarek Ziadé
Tarek Ziadé added the comment: fixed install in http://hg.python.org/cpython/rev/ebff46b232ed -- ___ Python tracker <http://bugs.python.org/issue1> ___ ___

[issue12226] use secured channel for uploading packages to pypi

2011-05-31 Thread Tarek Ziadé
Tarek Ziadé added the comment: Have you tried registering/uploading stuff through https ? if it's working as is I am +1 for this change in the next 2.7.x. For 2.6 don't know if it's worth a security patch. Martin, Barry, any opinion ? -- nosy:

[issue12226] use secured channel for uploading packages to pypi

2011-06-01 Thread Tarek Ziadé
Tarek Ziadé added the comment: On Wed, Jun 1, 2011 at 5:17 PM, Fred Drake wrote: > On Wed, Jun 1, 2011 at 11:14 AM, anatoly techtonik > wrote: >> Adding catalog-sig to CC. I can guarantee this for Windows. I'll be >> near Linux box tomorrow and will try upload to PyPI

[issue12246] create installation path if it's non-existent

2011-06-03 Thread Tarek Ziadé
Tarek Ziadé added the comment: This is probably because Tshepang works in a dev environment. I think we should have a nice message like "The installation path xxx seems not to exist, aborting installation" -- ___ Python trac

[issue12246] create installation path if it's non-existent

2011-06-03 Thread Tarek Ziadé
Tarek Ziadé added the comment: Strange, you should get a /usr/[local]/lib/python3.3/site-packages when you just run "./configure; make" It looks like you have a dev environment that has installed some stuff -- ___ Python trac

[issue12246] create installation path if it's non-existent

2011-06-03 Thread Tarek Ziadé
Tarek Ziadé added the comment: s/should get/should not get/ -- ___ Python tracker <http://bugs.python.org/issue12246> ___ ___ Python-bugs-list mailing list Unsub

[issue12335] pysetup create will clobber an existing setup.cfg

2011-06-15 Thread Tarek Ziadé
Tarek Ziadé added the comment: I find this behavior a bit awkward. Maybe we should ask first if it's ok to create a new setup.cfg and rename the old one, *before* doing it. -- ___ Python tracker <http://bugs.python.org/is

[issue12347] add an "extras" in packaging.pypi.simple.Crawler

2011-06-16 Thread Tarek Ziadé
New submission from Tarek Ziadé : It occurs to me that our Crawler don't allow us to specify extra locations, like easy_install or pypi We should add that and let the crawler look up to these places because the index -- messages: 138439 nosy: alexis, tarek priority: normal sev

[issue12347] add an "extras" in packaging.pypi.simple.Crawler

2011-06-16 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- type: -> feature request ___ Python tracker <http://bugs.python.org/issue12347> ___ ___ Python-bugs-list mailing list Unsubscri

[issue12348] case sensitivness in packaging.pypi.simple.Crawler

2011-06-16 Thread Tarek Ziadé
New submission from Tarek Ziadé : the PyPI server deals with the package names case issue: if you get webob, it'll find WebOb. That's not true for mirrors, so we need to fallback to the global index when "webob" is not found under simple/webob/, and look for the name wi

[issue12348] case sensitivness in packaging.pypi.simple.Crawler

2011-06-16 Thread Tarek Ziadé
Tarek Ziadé added the comment: see also http://mail.python.org/pipermail/catalog-sig/2011-June/003793.html -- ___ Python tracker <http://bugs.python.org/issue12

[issue12416] packaging does not have hooks callable during distribution removal

2011-06-27 Thread Tarek Ziadé
Tarek Ziadé added the comment: Sounds good. Also, we should make the assumption that this hook might be deactivated or might fail. So it should not break the uninstallation in this case (a warning seem fine) -- ___ Python tracker <h

[issue12416] packaging does not have hooks callable during distribution removal

2011-06-27 Thread Tarek Ziadé
Tarek Ziadé added the comment: We need to make it crystal clear in the doc: developers need to understand this behavior. Also, for a fatal error, I am -1 for activating this for an uninstall hook because we want to uninstall wathever happens in the hooks, +1 for others (as long as it&#

[issue9576] logging.addLevelName in file-based configurations

2010-08-12 Thread Tarek Ziadé
New submission from Tarek Ziadé : It's not possible to use a custom level in a file-based configuration unless you programatically call logging.addLevelName('LEVEL', VALUE) It would be nice to be able to declare new levels in config files -- assignee: vinay.sajip comp

[issue9576] logging.addLevelName in file-based configurations

2010-09-03 Thread Tarek Ziadé
Tarek Ziadé added the comment: You set it to "won't fix", that's why I didn't give you any feedback. In general, if you provides features programatically *and* via configuration, it makes sense to provide the whole set on both sides. IOW, if you don't want a fea

[issue9845] Allow changing the method in urllib.request.Request

2010-09-13 Thread Tarek Ziadé
New submission from Tarek Ziadé : Right now you have to override Request or patch its get_method() method to be able to send HTTP requests where the method is not GET or POST. This is making some assumptions on what the users wants to do with the request. The way get_method guesses the method

[issue9845] Allow changing the method in urllib.request.Request

2010-09-13 Thread Tarek Ziadé
Tarek Ziadé added the comment: sorry - Removed the assignment (the name is not followed by *) -- assignee: orsenthil -> ___ Python tracker <http://bugs.python.org/iss

[issue9841] sysconfig and distutils.sysconfig differ in subtle ways

2010-09-13 Thread Tarek Ziadé
Tarek Ziadé added the comment: That's what I wanted to do first but it turned out to be a bad idea. This duplication is unfortunate but the freeze is also to prevent third party code that patches distutils to break. For instance, there's a lot of code out there that ju

[issue9841] sysconfig and distutils.sysconfig differ in subtle ways

2010-10-01 Thread Tarek Ziadé
Tarek Ziadé added the comment: Not in distutils2 because we want to get rid of it, thats the whole point. distutils2 will use the sysconfig module I've extracted from distutils. -- ___ Python tracker <http://bugs.python.org/i

[issue8980] distutils.tests.test_register.RegisterTestCase.test_strict fails

2010-10-03 Thread Tarek Ziadé
Tarek Ziadé added the comment: done in r85197 / r85198 Thanks ! -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue10016] shutil.copyfile -- allow sparse copying

2010-10-04 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- assignee: -> tarek ___ Python tracker <http://bugs.python.org/issue10016> ___ ___ Python-bugs-list mailing list Unsubscri

[issue10132] mkpkg.py is lacked.

2010-10-17 Thread Tarek Ziadé
Tarek Ziadé added the comment: The file was renamed to mkcfg.py, but we forgot to rename it in the scripts options in setup.py for py < 2.6. This was fixed since then. Until the alpha4 release is out you can make the same change in setup.py for your build to work. -- resolut

[issue10132] mkpkg.py is lacked.

2010-10-17 Thread Tarek Ziadé
Tarek Ziadé added the comment: The file was renamed to mkcfg.py, but we forgot to rename it in the scripts options in setup.py for py < 2.6. This was fixed since then. Until the alpha4 release is out you can make the same change in setup.py for your build to w

[issue10361] Fix issue 9995 - distutils forces developers to store password in cleartext (issue2874041)

2010-11-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: Looks good to me: the upload command will get the credentials from the session instead of using the existing config at all. I remember that we changed the behavior to you'd had to set ONLY the user in the rc file, but allowing to pass the user is better

[issue9995] "setup.py register sdist upload" requires pass to be saved

2010-11-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: Please stop changing this flag. If you want to have a more secure PyPI transaction, you should first send a feature request on Catalog-SIG so pypi.python.org forces https. -- ___ Python tracker <h

[issue10374] setup.py caches outdated scripts in the build tree

2010-11-09 Thread Tarek Ziadé
Tarek Ziadé added the comment: As described in distutils-SIG, we need to work on a clever way to update the build tree. For Distutils1, removing it completely (possibly via the clean command) is what people can do. -- components: +Distutils2 -Distutils type: behavior -> feat

[issue962772] when both maintainer and author provided, author discarded

2010-11-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: PEP 345 adds a Maintainer field to fix this, and this is now present and active in Ditsutils2. You can now have both. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.p

[issue3871] cross and native build of python for mingw32 with distutils

2010-11-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: We don't punish anyone here. We try to avoid breaking distutils because it's really easy to get broken and get people upset. (you ask me) This bug has been opened for years and no one commited it because it's very very hard to review. it invo

[issue3871] cross and native build of python for mingw32 with distutils

2010-11-12 Thread Tarek Ziadé
Tarek Ziadé added the comment: I understand your frustration, but I can't lift the freeze because any change to distutils potentially break third party projects out there. We suffered from that in the past and we decided to proceed on a new version and freeze this one. Having this com

[issue10409] mkcfg crashes with ValueError

2010-11-13 Thread Tarek Ziadé
Tarek Ziadé added the comment: Thanks for the feedback, I can reproduce this. Fixing it. -- ___ Python tracker <http://bugs.python.org/issue10409> ___ ___ Pytho

[issue10409] mkcfg crashes with ValueError

2010-11-13 Thread Tarek Ziadé
Tarek Ziadé added the comment: Commited in a99e29d63071 (hg.python.org) -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue1326113] Letting "build_ext --libraries" take more than one lib

2010-11-15 Thread Tarek Ziadé
Tarek Ziadé added the comment: Distutils is frozen and we fix only bugs. This case is a little bit at the edge. Can you show us an example of a call you are trying to make, and the gcc command line output that fails ? I want to see if we can find a workaround. If so, this will be changed

[issue11409] pysetup --search should return non-zero when a dist is not installed and print a message stating the fact.

2011-03-05 Thread Tarek Ziadé
Tarek Ziadé added the comment: pysetup is currently under heavy refactoring -- see the https://bitbucket.org/tarek/distutils2-new-cmdline clone if you want to help on this. I am planning to merge it before the release, this week. -- ___ Python

[issue11501] distutils.archive_util should handle absence of zlib module

2011-03-15 Thread Tarek Ziadé
Changes by Tarek Ziadé : Removed file: http://bugs.python.org/file21137/pycon-issue11501.patch ___ Python tracker <http://bugs.python.org/issue11501> ___ ___ Python-bug

[issue11501] distutils.archive_util should handle absence of zlib module

2011-03-15 Thread Tarek Ziadé
Changes by Tarek Ziadé : Removed file: http://bugs.python.org/file21142/pycon-issue11501.patch ___ Python tracker <http://bugs.python.org/issue11501> ___ ___ Python-bug

[issue11841] Bug in the verson comparison

2011-04-13 Thread Tarek Ziadé
New submission from Tarek Ziadé : The NormalizedVersion class is not correctly sorting rc1: >>> from packaging.version import NormalizedVersion >>> NormalizedVersion('0.7.0') < NormalizedVersion('0.7.0rc1') True >>> NormalizedVersion('0.7.0

[issue10496] "import site failed" when Python can't find home directory (sysconfig._getuserbase)

2011-05-02 Thread Tarek Ziadé
Tarek Ziadé added the comment: As discussed w/ Victor, a process should be able to run Python even if its user does not have a home. So the call to _getuserbase() should be protected. But then we have to control that all the code that uses CONFIG_VARS['userbase'] is protecte

[issue10496] "import site failed" when Python can't find home directory (sysconfig._getuserbase)

2011-05-03 Thread Tarek Ziadé
Tarek Ziadé added the comment: Paths that are starting with ~ should be extended with the right value with the user base. If the user base cannot be calculated, paths starting with ~ should not exist or be used at all in this context. Maybe we need to completely reset them to None like

[issue12112] The new packaging module should not use the locale encoding

2011-05-19 Thread Tarek Ziadé
Tarek Ziadé added the comment: Looks good, please commit this -- ___ Python tracker <http://bugs.python.org/issue12112> ___ ___ Python-bugs-list mailin

[issue12115] some tests need to be skipped on threadless systems

2011-05-19 Thread Tarek Ziadé
New submission from Tarek Ziadé : == ERROR: packaging.tests.test_command_upload_docs (unittest.loader.ModuleImportFailure) -- Traceback (most recent call last

[issue12113] test_packaging fails when run twice

2011-05-19 Thread Tarek Ziadé
Tarek Ziadé added the comment: my commit fixed only the first issue. the second one is a separate issue that needs more investigation -- ___ Python tracker <http://bugs.python.org/issue12

[issue12120] test_packaging failure

2011-05-19 Thread Tarek Ziadé
Tarek Ziadé added the comment: on it -- ___ Python tracker <http://bugs.python.org/issue12120> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12120] test_packaging failure

2011-05-19 Thread Tarek Ziadé
Tarek Ziadé added the comment: I cannot reproduce this. there's exactly the same test in distutils, so I am wondering why it passes there and not in packaging for you. Any special way to run the tests ? -- ___ Python tracker

[issue12112] The new packaging module should not use the locale encoding

2011-05-19 Thread Tarek Ziadé
Tarek Ziadé added the comment: That's not used anymore, I am going to strip it -- ___ Python tracker <http://bugs.python.org/issue12112> ___ ___ Pytho

[issue12120] test_packaging failure

2011-05-19 Thread Tarek Ziadé
Tarek Ziadé added the comment: a well, we can skip that pyc test in case PYTHONDONTWRITEBYTECODE is set, thanks ! -- ___ Python tracker <http://bugs.python.org/issue12

[issue12135] test_packaging failure under Windows

2011-05-21 Thread Tarek Ziadé
Tarek Ziadé added the comment: As I said on python-dev, I am aware of the failures. I have fixed most of them today and yesterday. I have four left including this one. So no need to add more issues, I am on it :) -- ___ Python tracker <h

[issue12135] The spawn function should return stderr.

2011-05-21 Thread Tarek Ziadé
Tarek Ziadé added the comment: That's a feature request then, so we will see this once the bbot are green -- priority: critical -> normal title: test_packaging failure under Windows -> The spawn function should return stderr. type: behavior -> f

[issue12131] python built with --prefix fails in site.py with no section 'posix_prefix'

2011-05-21 Thread Tarek Ziadé
Tarek Ziadé added the comment: This seems to be the proper fix, I forgot to change the Makefile. Would you mind applying it ? thanks about editing this file: as mentioned on python dev, there will be several levels of customization (global, per project, per user

[issue12141] --multiprocessing fails with packaging.tests.test_command_build_ext

2011-05-21 Thread Tarek Ziadé
New submission from Tarek Ziadé : this test module looks for sysconfig.get_config_var('srcdir') which in turns uses the sys,executable path. multiprocess seems to change it in every process, leading to the errors. To reproduce: ./python Lib/test/regrtest.py -j2 -v test_pa

[issue12132] test_packaging failures when run with -j

2011-05-21 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- superseder: -> test_packaging failures when run with -j ___ Python tracker <http://bugs.python.org/issue12132> ___ ___ Python-

[issue12132] test_packaging failures when run with -j

2011-05-21 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- superseder: test_packaging failures when run with -j -> --multiprocessing fails with packaging.tests.test_command_build_ext ___ Python tracker <http://bugs.python.org/issu

[issue12141] --multiprocessing fails with packaging.tests.test_command_build_ext

2011-05-21 Thread Tarek Ziadé
Tarek Ziadé added the comment: Oops. It's a duplicate. Keeping this one since the problem was narrowed to multiprocessing/sys,executable and sysconfig -- ___ Python tracker <http://bugs.python.org/is

[issue12132] test_packaging failures when run with -j

2011-05-21 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- resolution: -> duplicate status: open -> closed ___ Python tracker <http://bugs.python.org/issue12132> ___ ___ Python-bugs-list

[issue12141] --multiprocessing fails with packaging.tests.test_command_build_ext

2011-05-21 Thread Tarek Ziadé
Tarek Ziadé added the comment: sysconfig is looking for the source dir when sysconfig.get_config_var('srcdir') is called. And this is done like this: if sys.executable: _PROJECT_BASE = os.path.dirname(_safe_realpath(sys.executable)) else: # sys.executable can be empty

[issue12143] packaging extension gcc linking fails on Ubuntu Shared

2011-05-21 Thread Tarek Ziadé
New submission from Tarek Ziadé : I can't reproduce this yet, or compare it to distutils. I == ERROR: test_build_ext (packaging.tests.test_command_build_ext.BuildExtTes

[issue1059244] distutil bdist hardcodes the python location

2010-11-26 Thread Tarek Ziadé
Tarek Ziadé added the comment: I am +1 with what Eric said. I'd suggest that you send a mail to teh distutils2 development mailing list to make some proposals. -- ___ Python tracker <http://bugs.python.org/issu

[issue10510] distutils upload/register should use CRLF in HTTP requests

2010-11-26 Thread Tarek Ziadé
Tarek Ziadé added the comment: If you can make your server work with the current implementation, I'd rather not change this in distutils but in distutils2. Distutils is frozen and we make only bug fixes. By bug fix I mean anything that is a bug. A non-strict implementation of the EOLs i

[issue6983] Add specific get_platform() for freebsd

2010-11-26 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- components: +Distutils2, Library (Lib) -Distutils ___ Python tracker <http://bugs.python.org/issue6983> ___ ___ Python-bugs-list mailin

[issue10510] distutils upload/register should use CRLF in HTTP requests

2010-11-26 Thread Tarek Ziadé
Tarek Ziadé added the comment: > If it's not a bug in distutils1, I imagine it will not be a bug in distutils2 Yes that would be a feature request. we would be happy to add. e.g. make the commands works with server X ou server Y. > I also don't see distutils2 i

[issue10578] Add mock PyPI server to test distutils

2010-11-29 Thread Tarek Ziadé
Tarek Ziadé added the comment: Please no more enhancements in distutils ! even in the tests. Distutils is on maintenance mode, and we need to do the bare minimum there. we need to do the minimum changes. If there's a bug in PyPI related code in distutils, you need to do this: - fix th

[issue10571] "setup.py upload --sign" broken: TypeError: 'str' does not support the buffer interface

2010-11-29 Thread Tarek Ziadé
Tarek Ziadé added the comment: Eric: #10578 will not happen in Distutils1. You need to add a test in distutils2, apply the bugfix there, then apply Jakub's patch in distutils1 -- components: +Distutils2 ___ Python tracker <http://bugs.py

[issue10578] Add mock PyPI server to test distutils

2010-11-29 Thread Tarek Ziadé
Tarek Ziadé added the comment: I don't think this will be a huge problem, given the low amount of bugs we have for all code involving PyPI. Other bugfix can be backported w/ their tests most of the time. -- ___ Python tracker

[issue10595] Adding a syslog.conf reader in syslog

2010-12-01 Thread Tarek Ziadé
New submission from Tarek Ziadé : The syslog module allows to configure via openlog() the facility. There's one missing feature though, I'd love to have in a new API: a way to read the syslog configuration, and in particular to know where each facility file is located on the sy

[issue10367] "python setup.py sdist upload --show-response" can fail with "UnboundLocalError: local variable 'result' referenced before assignment"

2010-12-03 Thread Tarek Ziadé
Tarek Ziadé added the comment: Philip, Eric is currently assigned to this issue, and was working on a test, obviously. It means that commiting a fix without a test without asking him first is is quite rude. He and I are maintaining Distutils. Your help is welcome but please do not commit

[issue10367] "python setup.py sdist upload --show-response" can fail with "UnboundLocalError: local variable 'result' referenced before assignment"

2010-12-03 Thread Tarek Ziadé
Tarek Ziadé added the comment: Ugh sorry I thought Eric was working on a test. I misunderstood. -- ___ Python tracker <http://bugs.python.org/issue10

[issue10627] Remove usage of deprecated configparser.ConfigParser class in the stdlib

2010-12-04 Thread Tarek Ziadé
Tarek Ziadé added the comment: So, as discussed w/ Lukasz: - distutils1 gets unchanged and the warning is silenced there - distutils2 uses SafeConfigParser [done] -- ___ Python tracker <http://bugs.python.org/issue10

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-21 Thread Tarek Ziadé
Tarek Ziadé added the comment: Will do tonight -- ___ Python tracker <http://bugs.python.org/issue10743> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-23 Thread Tarek Ziadé
Tarek Ziadé added the comment: I have investigated the problem and it turns out virtualenv patches distutils.sysconfig behavior by adding to the sys module a "real_prefix" attribute that points to the global Python install and is used instead of sys.prefix that points to the virtua

[issue10764] sysconfig and alternative implementations

2010-12-27 Thread Tarek Ziadé
Tarek Ziadé added the comment: Yes that's what we said we would do, and was the second step after the extraction of sysconfig from distutils. -- ___ Python tracker <http://bugs.python.org/is

[issue11045] shutil._make_tarball

2011-01-28 Thread Tarek Ziadé
New submission from Tarek Ziadé : This line : logger.info("creating %s" % archive_dir) should check that logger is not None before being called.. -- assignee: tarek components: Library (Lib) messages: 127300 nosy: tarek priority: high severity: normal status: open tit

[issue11045] shutil._make_tarball

2011-01-28 Thread Tarek Ziadé
Tarek Ziadé added the comment: will fix + write patch -- stage: -> needs patch ___ Python tracker <http://bugs.python.org/issue11045> ___ ___ Python-bugs-lis

[issue11037] How does distutils2 handle namespaces?

2011-01-29 Thread Tarek Ziadé
Tarek Ziadé added the comment: Yes me neither. The PEP is hard to understand, maybe a pseudo-code example could shed some light -- ___ Python tracker <http://bugs.python.org/issue11

[issue11037] How does distutils2 handle namespaces?

2011-01-29 Thread Tarek Ziadé
Tarek Ziadé added the comment: Eric: the PEP was accepted already IIRC, and its status is not up-to-date. So it's just a matter of adding the implementation now. This bug can be a placeholder for its implementation if no other bug was opened for thi

[issue11037] Implementing PEP 382

2011-01-29 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- title: How does distutils2 handle namespaces? -> Implementing PEP 382 ___ Python tracker <http://bugs.python.org/issue11037> ___ _

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2011-01-31 Thread Tarek Ziadé
Tarek Ziadé added the comment: Yeah I agree. Until we get a solution + patch the priority here does not really matter. -- ___ Python tracker <http://bugs.python.org/issue6

[issue11200] Addition of abiflags breaks distutils

2011-02-20 Thread Tarek Ziadé
Tarek Ziadé added the comment: Toshio: yeah go ahead and add one, and let's do this asap in Distribute -- ___ Python tracker <http://bugs.python.org/is

[issue11200] Addition of abiflags breaks distutils

2011-02-20 Thread Tarek Ziadé
Tarek Ziadé added the comment: Also, let's keep this open/valid for Distutils2 -- components: +Distutils2 -Library (Lib) nosy: +alexis, eric.araujo resolution: invalid -> ___ Python tracker <http://bugs.python.org

[issue2663] shutil.copytree glob-style filtering [patch]

2008-05-21 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: patch with the new trunk Added file: http://bugs.python.org/file10392/copytree2.patch __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2663] shutil.copytree glob-style filtering [patch]

2008-05-21 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10179/copytree.patch __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2663> __

  1   2   3   4   5   6   7   8   9   10   >