Re: [openstack-dev] [tripleo] Recap of Python 3 testing session at PTG

2018-04-13 Thread Victor Stinner
2018-04-13 15:07 GMT+02:00 Thomas Goirand : > BTW, any progress on upstream Swift WRT Py3 support? There is a voting Python 3.4 gate which runs 902 unit tests. The Python 2.7 gate runs 5,902 unit tests. I compute that 15% of unit tests pass on Python 3.4. I tested locally with

Re: [openstack-dev] [tripleo] Recap of Python 3 testing session at PTG

2018-04-13 Thread Victor Stinner
2018-04-13 14:48 GMT+02:00 Thomas Goirand : > On 03/17/2018 09:34 AM, Emilien Macchi wrote: >> ## Challenges >> >> - Some services aren't fully Python 3 > > To my experience switching everything to Py3 in Debian, the only issues > were: > > - manila-ui > - networking-mlnx What

Re: [openstack-dev] [keystone] broken python35 job due to webob compatibility issues

2017-03-30 Thread Victor Stinner
Adding the charset sounds like a good practice, especially in Keystone which is security sensitive. See this old Python vulnerability: http://python-security.readthedocs.io/vuln/cve-2011-4940_simplehttpserver_utf-7.html "The list_directory() function in Lib/SimpleHTTPServer.py in

Re: [openstack-dev] [devstack] issues with requiring python3 only tool?

2017-01-17 Thread Victor Stinner
Le 17/01/2017 à 17:36, Sean Dague a écrit : When putting the cli interface on it, I discovered python3's argparse has subparsers built in. This makes building up the cli much easier, and removes pulling in a dependency for that. (Currently the only item in requirements.txt is pbr). This is

Re: [openstack-dev] [oslo] Adding gdavoian to oslo-core

2016-10-04 Thread Victor Stinner
+1 from me. Victor Le 03/10/2016 à 19:40, Joshua Harlow a écrit : Greetings all stackers, I propose that we add Gevorg Davoian[1] to the oslo-core[2] team. Gevorg has been actively contributing to oslo for a while now, both in helping make oslo better via code contribution(s) and by helping

Re: [openstack-dev] [oslo] Adding ozamiatin to oslo-core

2016-10-04 Thread Victor Stinner
+1 from me. Victor Le 03/10/2016 à 19:42, Joshua Harlow a écrit : Greetings all stackers, I propose that we add Oleksii Zamiatin[1] to the oslo-core[2] team. Oleksii has been actively contributing to oslo for a while now, both in helping make oslo better via code contribution(s) and by

Re: [openstack-dev] [kuryr] Python 3 usage and kuryr-kubernetes

2016-09-01 Thread Victor Stinner
Hi, Le 30/08/2016 à 16:39, Antoni Segura Puimedon a écrit : a) Work with the OpenStack distributions to ensure python3.5 support is reached soon for Kuryr and its dependencies (some listed below): * babel * oslo.concurrency * oslo.config * oslo.log * oslo.utils * pbr * pyroute2

Re: [openstack-dev] [all] Status of the OpenStack port to Python 3

2016-07-15 Thread Victor Stinner
Hi, Le 13/07/2016 à 21:17, Denis Makogon a écrit : I have free capacity to work on porting code to Py3. So, if any PTL is running out of team capacity i can help to work on project to enable Py3 support. If you would like to help, you can try to run functional tests on DevStack. Begin with

Re: [openstack-dev] New Python35 Jobs coming

2016-07-04 Thread Victor Stinner
Le 04/07/2016 à 07:59, Denis Makogon a écrit : Then let it run for a day or two in our CI, discuss with neutron team, and send a patch for project-config to change the setup, Can confirm that nova, glance, cinder, heat clients are py35 compatible. tox.ini of Nova, Swift and Trove need

[openstack-dev] [nova] Need help to review patches porting Nova (unit tests) to Python 3

2016-06-27 Thread Victor Stinner
Hi, I'm working on a new Python 3 patches to port the "last" Nova unit tests. For example, my current patch serie ports 1,107 more unit tests (76% => 84%). Changes should be "quite simple" but I need your help to review them! My serie of 10 patches starts at:

Re: [openstack-dev] [all] Status of the OpenStack port to Python 3

2016-06-24 Thread Victor Stinner
Le 22/06/2016 à 09:18, Victor Stinner a écrit : Current status: only 3 projects are not ported yet to Python 3: * nova (76% done) * trove (42%) * swift (0%) If you want to help, please review my patches! I sent patches to these projects. Nova: https://review.openstack.org/#/c/332686

Re: [openstack-dev] [all] Status of the OpenStack port to Python 3

2016-06-24 Thread Victor Stinner
Le 23/06/2016 à 23:04, Thomas Goirand a écrit : Just think about it for a while. If we get Nova to work with Py3, and everything else is working, including all functional tests in Tempest, Hum, that's a long list of expectations :-) then after Otaca, we could even start to *REMOVE* Py2

Re: [openstack-dev] [all] Status of the OpenStack port to Python 3

2016-06-24 Thread Victor Stinner
Le 23/06/2016 à 18:11, Doug Hellmann a écrit : I'd like for the community to set a goal for Ocata to have Python 3 functional tests running for all projects. We can already experiment functional tests right now ;-) I expect to get many small issues in all projects, but it may take time to fix

Re: [openstack-dev] [all] Status of the OpenStack port to Python 3

2016-06-22 Thread Victor Stinner
Le 22/06/2016 à 10:49, Thomas Goirand a écrit : Do you think it looks like possible to have Nova ported to Py3 during the Newton cycle? It doesn't depend on me: I'm sending patches, and then I have to wait for reviews. The question is more how to accelerate reviews. Right now, I'm splitting

[openstack-dev] [all] Status of the OpenStack port to Python 3

2016-06-22 Thread Victor Stinner
Hi, Current status: only 3 projects are not ported yet to Python 3: * nova (76% done) * trove (42%) * swift (0%) https://wiki.openstack.org/wiki/Python3 Number of projects already ported: * 19 Oslo Libraries * 4 Development Tools * 22 OpenStack Clients * 6 OpenStack Libraries (os-brick,

Re: [openstack-dev] [Keystone] Welcome Keystone to the World of Python 3

2016-05-23 Thread Victor Stinner
Le 21/05/2016 à 05:58, Morgan Fainberg a écrit : We've gone through all of our test cases and all of our code base. At this point Keystone is no longer skipping any of the tests (which do tend to test the entire request stack) and we are properly gating on being Python3.4 compatible. By the

Re: [openstack-dev] [trove] timeouts in gate-trove-python34-db

2016-05-16 Thread Victor Stinner
Le 16/05/2016 16:12, Peter Stachowski a écrit : We're aware that there are ways to mock (and un-mock) correctly. We're trying to make sure that all our new test code follows those patterns. We also decided that it wouldn't make sense to change all the working tests to use the 'right' methods as

Re: [openstack-dev] [trove] timeouts in gate-trove-python34-db

2016-05-16 Thread Victor Stinner
Le 16/05/2016 16:12, Peter Stachowski a écrit : Amrith is right though - python34 is *much* slower running this check (and somewhat in general) than python27. Maybe that doesn't translate into real-world performance data, but it has made me a bit nervous nonetheless. IMHO we should look more

Re: [openstack-dev] [trove] timeouts in gate-trove-python34-db

2016-05-16 Thread Victor Stinner
Le 09/05/2016 16:16, Peter Stachowski a écrit : Hi Amrith, We’ve had a lot of ‘new’ tests enabled for py34 in the last week – from your results you can see it’s running 6x the number of tests (although it’s taking 8.5x as long). It looks like python3 isn’t as fast as python2.7? If so, we may

Re: [openstack-dev] [trove] timeouts in gate-trove-python34-db

2016-05-16 Thread Victor Stinner
Le 16/05/2016 13:52, Amrith Kumar a écrit : IMHO the strange mock detector code must be removed. It is very slow and I don't understand its purpose. [amrith] It serves and has served a very useful purpose and that is to detect bad tests where code has (and we've had lots of trouble with this)

Re: [openstack-dev] [trove] timeouts in gate-trove-python34-db

2016-05-16 Thread Victor Stinner
Hi, Le 09/05/2016 16:38, Amrith Kumar a écrit : So I’m able to run the py34 tests in about 10s if I run the dangling mock detector with a depth of 0 or 1. IMHO the strange mock detector code must be removed. It is very slow and I don't understand its purpose. The mock module has a nice

Re: [openstack-dev] [oslo] Removing Nova specifics from oslo.log

2016-04-14 Thread Victor Stinner
Le 13/04/2016 22:54, Julien Danjou a écrit : There's a bunch of projects that have no intention of using oslo.context, so depending and referring to it by default is something I'd love to fade away. It looks like Oslo has an identity crisis :-) Basically the question looks like: should we

Re: [openstack-dev] [All][Neutron] Improving development and review velocity - Is it time for a drastic change?

2016-04-01 Thread Victor Stinner
Le 01/04/2016 03:12, Assaf Muller a écrit : 2) Now, transform yourself six to twelve months in the future. We now face a new problem. (...) I hereby propose that we remove the tests. (...) Needless to say, my proposal keeps pep8 in place. We all know how important a consistent style is. The

Re: [openstack-dev] [all] [api] Reminder: WSME is not being actively maintained

2016-03-11 Thread Victor Stinner
Le 08/03/2016 22:22, gordon chung a écrit : it seems like the main reason there are so many projects leveraging WSME is because everyone is just using Ironic or Ceilometer as the starting point for their APIs. can we officially say to all new projects who plan on copying API logic of Ironic et

[openstack-dev] [all] Status of Python 3 in OpenStack Mitaka

2016-03-04 Thread Victor Stinner
Hi, I just wrote an article "Status of Python 3 in OpenStack Mitaka": http://blogs.rdoproject.org/7894/status-of-python-3-in-openstack-mitaka Summary: * 13 services were ported to Python 3 during the Mitaka cycle: Cinder, Glance, Heat, Horizon, etc. * 9 services still need to be ported *

Re: [openstack-dev] [oslo] PTL for Newton and beyond

2016-03-04 Thread Victor Stinner
Le 03/03/2016 13:05, Flavio Percoco a écrit : Thanks for all your hard work as an Oslo PTL. You did amazing and I think you'd do an awesome mentor for other folks as well. It was an honor to have you as a PTL and I look forward to keep working with you as an Oslo contributor. I concur with

Re: [openstack-dev] [release][stable][oslo][all] oslo.service 0.9.1 release (liberty)

2016-02-19 Thread Victor Stinner
rtionError: Cannot switch to MAINLOOP from MAINLOOP" error" Victor Le 18/02/2016 11:05, Victor Stinner a écrit : Hi, Le 17/02/2016 19:29, no-re...@openstack.org a écrit : > We are chuffed to announce the release of: > > oslo.service 0.9.1: oslo.service library > (..

Re: [openstack-dev] [trove] Start to port Trove to Python 3 in Mitaka cycle?

2016-02-18 Thread Victor Stinner
Le 18/02/2016 14:15, Amrith Kumar a écrit : Let's definitely discuss this again once you have all the changes that you feel should be merged for Mitaka ready. I don't like working on long patch series. In my experience, after more than 4 patches, it's more expensive to maintain the patch

[openstack-dev] [trove] Start to port Trove to Python 3 in Mitaka cycle?

2016-02-18 Thread Victor Stinner
Hi, When I began to work on porting Trove to Python 3, I was blocked by MySQL-Python which is not compatible with Python 3. I tried a big change replacing MySQL-Python with PyMySQL, since other OpenStack services also moved to PyMySQL. But tests fail and I'm unable to fix them :-/

Re: [openstack-dev] [release][stable][oslo] oslo.service 0.9.1 release (liberty)

2016-02-18 Thread Victor Stinner
Hi, Le 17/02/2016 19:29, no-re...@openstack.org a écrit : > We are chuffed to announce the release of: > > oslo.service 0.9.1: oslo.service library > (...) > > Changes in oslo.service 0.9.0..0.9.1 > > > 8b6e2f6 Fix race condition on handling signals >

Re: [openstack-dev] [all][infra] eventlet 0.18.1 not on PyPi anymore

2016-02-17 Thread Victor Stinner
Le 17/02/2016 13:43, Henry Gessau a écrit : And it looks like eventlet 0.18.3 breaks neutron: https://bugs.launchpad.net/neutron/+bug/1546506 2 releases, 2 regressions in OpenStack. Should we cap eventlet version? The requirement bot can produce patches to update eventlet, patches which

Re: [openstack-dev] [swift] Plan to add Python 3 support to Swift

2016-02-12 Thread Victor Stinner
Hi, Le 08/02/2016 14:42, Victor Stinner a écrit : > https://review.openstack.org/#/c/237019/ Nice, this one was merged! https://review.openstack.org/#/c/237027/ https://review.openstack.org/#/c/236998/ These two changes look to be blocked by encodings issues. Tim Burke, Samuel Merr

Re: [openstack-dev] [all] tenant vs. project

2016-02-12 Thread Victor Stinner
Le 12/02/2016 13:01, Sean Dague a écrit : OpenStack is wildly inconsistent in it's use of tenant vs. project. Yeah, it's time to find a 3rd term to avoid confusion! ;-) Victor __ OpenStack Development Mailing List (not

Re: [openstack-dev] [swift] Plan to add Python 3 support to Swift

2016-02-12 Thread Victor Stinner
Le 12/02/2016 15:12, Ian Cordasco a écrit : Just to interject here, RFC 2616 is the one you're talking about. That encoding requirement was dropped when HTTP/1.1 was updated in the 7230-7235 RFCs. (...) Where VCHAR is any visible US ASCII character. So while UTF-8 is still a bad idea for the

Re: [openstack-dev] [swift] Plan to add Python 3 support to Swift

2016-02-08 Thread Victor Stinner
, but the work will get larger as you go. You're right about needing the voting gate job. That should be the first priority for py3 work. --John On 30 Oct 2015, at 12:47, Victor Stinner wrote: Hi, We talked about Python 3 with Christian Schwede, Alistair Coles, Samuel Meritt, Jaivish

Re: [openstack-dev] [release][oslo][all] oslo.context 2.0.0 release (mitaka)

2016-02-02 Thread Victor Stinner
(I added [all] to the topic) Hi, Le 02/02/2016 17:20, dava...@gmail.com a écrit : We are thrilled to announce the release of: oslo.context 2.0.0: Oslo Context library (...) 4a8a1df Fix request_id type on Python 3: use text (Unicode) This change is a deliberate incompatible change in the API,

Re: [openstack-dev] [oslo] Adding Dmitry Ukhlov to Oslo-Messaging-Core

2016-02-02 Thread Victor Stinner
+1 for me Le 28/01/2016 16:25, Davanum Srinivas a écrit : Team, Dmitry has been focused solely on the Pika Driver this cycle: http://stackalytics.com/?user_id=dukhlov=commits Now that we have Pika driver in master, i'd like to invite Dmitry to continue his work on all of Oslo.Messaging in

Re: [openstack-dev] It's better to ask forgiveness than permission

2016-02-01 Thread Victor Stinner
(I changed the title to stop hijacking the Oslo thread.) Hi, Le 30/01/2016 22:25, Julien Danjou a écrit : > (...) And it's easier/faster to fix with a larger team than a few. > Which mean inclusion. Which mean openness. While I think that Julien is a little bit rude and his email is stongly

Re: [openstack-dev] [oslo][osdk] PrettyTable needs a home in OpenStack

2016-01-26 Thread Victor Stinner
Thanks for investigating the tabulate option :-) Victor Le 26/01/2016 02:25, Joshua Harlow a écrit : As far as the other option (using tabulate): https://bitbucket.org/astanin/python-tabulate/pull-requests/25/ That was a (very very basic) POC for a potential compatibility layer, The author

Re: [openstack-dev] [nova] gate blockage due to eventlet 0.18

2016-01-25 Thread Victor Stinner
Hi, Oops, I feel guilty, I wrote the patch which introduced the regression :-/ My patch fixes a bug on Python 3: "sock.makefile('rb').readline() doesn't handle blocking errors correctly" https://github.com/eventlet/eventlet/issues/274 I was relying on the eventlet test suite, but it looks

Re: [openstack-dev] [all] Python 3.5 is now the default Py3 in Debian Sid

2016-01-14 Thread Victor Stinner
Hi, What are the issues? Is there a list of issues somewhere? Victor Le 13/01/2016 03:07, Thomas Goirand a écrit : Hi, Just a quick notice for those not following developments in Debian. Python 3.5 is now the default Python 3 interpreter in Debian Unstable, and when the transition will be

Re: [openstack-dev] [oslo][osdk] PrettyTable needs a home in OpenStack

2016-01-11 Thread Victor Stinner
Le 11/01/2016 10:37, Thierry Carrez a écrit : Joshua Harlow wrote: [...] So I'd def help keep prettytable going, of course another option is to move to https://pypi.python.org/pypi/tabulate (which does seem active and/or maintained); tabulate provides pretty much the same thing (actually more

Re: [openstack-dev] [oslo][keystone] Move oslo.policy from oslo to keystone

2015-12-17 Thread Victor Stinner
Le 16/12/2015 20:33, Davanum Srinivas a écrit : Brant, I am ok either way, guess the alternative was to add keystone-core directly to the oslo.policy core group (can't check right now). The name is very possibly going to create confusion -- Dims I heard some people consider that "OpenStack"

Re: [openstack-dev] [Congress] Python 3 ready

2015-12-04 Thread Victor Stinner
Hi, Le 04/12/2015 05:12, Eric K a écrit : Congress can finally pass python34 gating. Here’s the last patch needed to make it happen. https://review.openstack.org/#/c/253298/ Great job :-) Congrats. I see that antlr3 was ported to Python 3 in the commit

[openstack-dev] [all][oslo] On Python 3, request_id must by Unicode, not bytes

2015-12-01 Thread Victor Stinner
Hi, The next oslo.context release including the following change (still under review) might break the voting Python 3 gate of your project: https://review.openstack.org/#/c/250731/ Please try to run Python 3 tests of your project with this change. I already ran the tests on Python 3 of

Re: [openstack-dev] [all] Thoughts on python-future?

2015-12-01 Thread Victor Stinner
Hi, I'm porting OpenStack code to Python 3 for two years. I'm happy with six. It has been adopted by all OpenStack projects which are being ported to (or have been ported to) Python 3. It was discussed to use python-future in Swift, but Swift is now using six too. I wrote a tool to port an

Re: [openstack-dev] [all] Thoughts on python-future?

2015-12-01 Thread Victor Stinner
All informations on Python 3 are on the wiki: https://wiki.openstack.org/wiki/Python3 You may also join the IRC channel on Freenode: #openstack-python3 Victor Le 25/11/2015 03:33, Eric Kao a écrit : Hi all, I’ve been using the python-future library for Python 3 porting and want to see what

[openstack-dev] [oslo] Proposal for new core reviewer: ChangBo Guo

2015-11-27 Thread Victor Stinner
Hi, I noticed that ChangBo Guo (aka gcb) is very active in various Oslo projects, to write patches but also to review patches written by others. He attend Oslo meetings, welcome reviews, etc. It's a pleasure to work with him. To accelerate the Oslo development, I propose to invite ChangBo

Re: [openstack-dev] [oslo] Should we make qpid/proton optional dependencies? (please say yes)

2015-11-23 Thread Victor Stinner
Hi, Would it be possible to use the "extra dependencies" thing in setup.cfg? Robert Collins started a similar change for Oslo DB for make DB drivers optional: https://review.openstack.org/#/c/184328/ Sadly, this change was not merged yet. @Robert: any progress on this change? It would

Re: [openstack-dev] [oslo] Graduate cliutils.py into oslo.utils

2015-11-16 Thread Victor Stinner
Le 16/11/2015 08:33, Kekane, Abhishek a écrit : Hi, As apiclient is now removed from oslo-incubator, to proceed with request-id spec [1] I have two options in mind, 1.Use keystoneauth1 + cliff in all python-clients (add request-id support in cliff library) 2.apiclient code is available in all

Re: [openstack-dev] [oslo] XxxOpt classes "kept for backward-compatibility" in oslo.config

2015-11-10 Thread Victor Stinner
Le 10/11/2015 15:33, Davanum Srinivas a écrit : +1 Victor. Ok thanks for the confirmation. The comment disturbed me a lot :-D Here is a simple change to remove the comment: https://review.openstack.org/243630 Victor __

[openstack-dev] [oslo] Graduate cliutils.py into oslo.utils

2015-11-10 Thread Victor Stinner
Hi, At Tokyo, we discussed quickly what to do with cliutils.py of oslo-incubator, but for me the plan is not really concrete. https://etherpad.openstack.org/p/mitaka-oslo-incubator-cleanup I don't like dims' suggestion to move code inside clients, it means duplicating 280 lines of python in

Re: [openstack-dev] [oslo] Graduate apiclient library

2015-11-10 Thread Victor Stinner
Hi, Le 10/11/2015 07:29, Kekane, Abhishek a écrit : We have done extensive analysis to figure out the differences of usages of different oslo-incubator/openstack/common/apiclient modules used in the respective Openstack python client libraries and added all our observations in the google

[openstack-dev] [oslo] XxxOpt classes "kept for backward-compatibility" in oslo.config

2015-11-10 Thread Victor Stinner
Hi, In oslo_config/cfg.py, there is a main Opt class which takes an optional type parameter (default is oslo_config.types.String). But there is also a long list of XxxOpt classes: StrOpt, BoolOpt, FloatOpt, ListOpt, IPOpt, etc. Recently I saw *new* classes added with the "kept for

Re: [openstack-dev] [oslo] Graduate cliutils.py into oslo.utils

2015-11-10 Thread Victor Stinner
Le 10/11/2015 14:01, Davanum Srinivas a écrit : That's exactly what i want as well. We should just let whoever has copies to do whatever they want with them and drop our oversight of it. Since they are mature and haven't been touched for a while, i really don't see the need to take care of them.

Re: [openstack-dev] [oslo][bandit] Handling bandit configuration files in Oslo.

2015-11-03 Thread Victor Stinner
Le 02/11/2015 19:40, Brant Knudson a écrit : (...) by typing something like: $ bandit-conf-generator --disable try_except_pass --out bandit.yaml oslo.messaging ~/openstack/bandit/bandit/config/bandit.yaml (...) we should have a config file for bandit-conf-generator... but then why not

[openstack-dev] [swift] Plan to add Python 3 support to Swift

2015-10-29 Thread Victor Stinner
Hi, We talked about Python 3 with Christian Schwede, Alistair Coles, Samuel Meritt, Jaivish Kothari and others (sorry, I don't recall all names :-/) during Swift contributor meetup. It looks like we had an agreement on how to add Python 3 support to Swift. The plan is: 1) Fix the

Re: [openstack-dev] [oslo] Require documenting changes with versionadded and versionchanged

2015-10-16 Thread Victor Stinner
Le 15/10/2015 17:54, Joshua Harlow a écrit : I had this problem with deprecation versioning (the debtcollector library functions take a version="XYZ", removal_version="ABC" params, see http://docs.openstack.org/developer/debtcollector/examples.html#further-customizing-the-emitted-messages) and

[openstack-dev] [oslo] Require documenting changes with versionadded and versionchanged

2015-10-15 Thread Victor Stinner
Hi, I propose that changes must now be documented in Oslo libraries. If a change is not documented, it must *not* be approved. IMHO it's very important to document all changes. Otherwise, it becomes really hard to guess if a specific parameter or a specific function can be used just by

Re: [openstack-dev] [oslo] Require documenting changes with versionadded and versionchanged

2015-10-15 Thread Victor Stinner
Le 15/10/2015 12:52, Victor Stinner a écrit : I started to do this for the oslo.config library: https://review.openstack.org/#/c/235232/ More changes. oslo.concurrency: https://review.openstack.org/#/c/235416/ oslo.serialization: https://review.openstack.org/#/c/235297/ oslo.utils: https

Re: [openstack-dev] [oslo] Require documenting changes with versionadded and versionchanged

2015-10-15 Thread Victor Stinner
Le 15/10/2015 16:34, Brant Knudson a écrit : Submitters don't know what release their change is going to get into. They might submit the review when version 1.1.0 is current so they mark it with added in 1.2.0, but then the change doesn't get merged until after 1.4.0 is tagged. Also, the

[openstack-dev] [cinder] gates broken by WebOb 1.5 release

2015-10-12 Thread Victor Stinner
Hi, WebOb 1.5 was released yesterday. test_misc of Cinder starts failing with this release. I wrote this simple fix which should be enough to repair it: https://review.openstack.org/233528 "Fix test_misc for WebOb 1.5" class ConvertedException(webob.exc.WSGIHTTPException): -def

Re: [openstack-dev] [cinder] gates broken by WebOb 1.5 release

2015-10-12 Thread Victor Stinner
Le 12/10/2015 10:43, Victor Stinner a écrit : WebOb 1.5 was released yesterday. test_misc of Cinder starts failing with this release. I wrote this simple fix which should be enough to repair it: https://review.openstack.org/233528 "Fix test_misc for WebOb 1.5" FYI my fix was merged

Re: [openstack-dev] [swift] Plan to port Swift to Python 3

2015-10-09 Thread Victor Stinner
Hi, Le 09/10/2015 12:12, vishal yadav a écrit : However I was just checking if you considered using 2to3. I can understand that translation using this tool might not cover every area in the code more specifically custom/3rd party libraries (non-standard python libraries) but IMO it can do fixer

[openstack-dev] [swift] Plan to port Swift to Python 3

2015-10-08 Thread Victor Stinner
Hi, Good news, we made good progress last weeks on porting Swift to Python 3, a few changes were merged and all dependencies now work on Python 3. We only need two more simple changes to have a working pyhon34 check job: * "py3: Update pbr and dnspython requirements"

Re: [openstack-dev] [Glance] Process to clean up the review queue from non-active patches

2015-10-06 Thread Victor Stinner
Hi, Le 06/10/2015 16:36, Flavio Percoco a écrit : Not so long ago, Erno started a thread[0] in this list to discuss the abandon policies for patches that haven't been updated in Glance. (...) 1) Lets do this on patches that haven't had any activity in the last 2 months. This adds one more month

Re: [openstack-dev] [pecan] [mistral] Pecan python3 compatibility

2015-10-01 Thread Victor Stinner
Hi, Le 01/10/2015 15:50, Nikolay Makhotkin a écrit : In Mistral, we are trying to fix the codebase for supporting python3, but we are not able to do this since we faced issue with pecan library. If you want to see the details, see this traceback - [1]. I tried to run Mistral tests on Python 3

Re: [openstack-dev] [oslo] nominating Brant Knudson for Oslo core

2015-09-28 Thread Victor Stinner
+1 for Brant Victor Le 24/09/2015 19:12, Doug Hellmann a écrit : Oslo team, I am nominating Brant Knudson for Oslo core. As liaison from the Keystone team Brant has participated in meetings, summit sessions, and other discussions at a level higher than some of our own core team members. He

Re: [openstack-dev] [all] -1 due to line length violation in commit messages

2015-09-28 Thread Victor Stinner
Le 25/09/2015 17:00, Julien Danjou a écrit : If we wanted to enforce that, we would just have to write a bot setting -1 automatically. I'm getting tired of seeing people doing bots' jobs in Gerrit. It may also help to enhance "git review -s" to install a local post-commit hook to warn if the

[openstack-dev] [cinder] How to link a change to the completed cinder-python3 blueprint?

2015-09-02 Thread Victor Stinner
Hi, I'm porting Cinder to Python 3. There are discussions on my patches to decide how to link my changes to the cinder-python3 blueprint (syntax of the "Blueprint cinder-python3" line). Mike Perez completed the blueprint on 2015-08-15. I don't understand why, the port is incomplete. I'm

Re: [openstack-dev] [packaging][all] setting minimum version of setuptools in setup.py

2015-08-17 Thread Victor Stinner
Le 29/07/2015 10:27, Robert Collins a écrit : Similar to pbr, we have a minimum version of setuptools required to consistently install things in OpenStack. Right now thats 17.1. However, we don't declare a setup_requires version for it. I think we should. If it's possible to explicit the

Re: [openstack-dev] [packaging][all] setting minimum version of setuptools in setup.py

2015-08-17 Thread Victor Stinner
Le 29/07/2015 18:12, Clay Gerrard a écrit : I agree an error message is better than breaking for insane reasons. But... maybe as an aside... what about not breaking? Well, yes, but *who* wants to do that? Old versions of setuptoolsl, pip and pbr have a lot of issues. It will be a nightmare

Re: [openstack-dev] Python 3: 5 more projects with a py34 voting gate, only 4 remaing

2015-07-27 Thread Victor Stinner
Hi, On 27/07/2015 12:35, Roman Vasilets wrote: Hi, just what to share with you. Rally project also have voting py34 jobs. Thank you. Cool! I don't know if Rally port the Python 3 is complete or not, so I wrote work in progress. Please update the wiki page if the port is done:

Re: [openstack-dev] Python 3: 5 more projects with a py34 voting gate, only 4 remaing

2015-07-21 Thread Victor Stinner
, Victor Stinner wrote: Hi, We are close to having a voting py34 gate on all OpenStack libraries and applications. I just made the py34 gate voting for the 5 following projects: * keystone * heat * glance_store: Glance library (py34 is already voting in Glance) * os-brick: Cinder

[openstack-dev] Python 3: 5 more projects with a py34 voting gate, only 4 remaing

2015-07-17 Thread Victor Stinner
Hi, We are close to having a voting py34 gate on all OpenStack libraries and applications. I just made the py34 gate voting for the 5 following projects: * keystone * heat * glance_store: Glance library (py34 is already voting in Glance) * os-brick: Cinder library (py34 is already voting in

Re: [openstack-dev] [all] Non-responsive upstream libraries (python34 specifically)

2015-07-17 Thread Victor Stinner
Le 16/07/2015 22:28, Thomas Goirand a écrit : IMO, we should, for the Liberty release, get rid of: - suds suds-jurko suds was replaced with suds-jurko (in oslo.vmware, cinder, nova): I kicked suds off of global requirements. - memcached (in the favor of pymemcache) As I wrote, I may

Re: [openstack-dev] [all] Non-responsive upstream libraries (python34 specifically)

2015-07-16 Thread Victor Stinner
Hi, Le 16/07/2015 17:00, Davanum Srinivas a écrit : I ended up here: https://github.com/linsomniac/python-memcached/issues/54 https://github.com/linsomniac/python-memcached/pull/67 Oh, that's my pull request :-) Multiple peoples asked to merge my pull request, and I pinged explicitly the

[openstack-dev] [cinder] Need a new release of os-brick for Python 3

2015-07-15 Thread Victor Stinner
Hi, The latest release of os-brick is not compatible with Python 3. Different patches were merged to fix Python 3 support. tox -e py34 now executes all tests and all tests pass on Python 3.4. I need a release of os-brick to port Cinder to Python 3. A Python 3 issue in os-brick blocks my 4

Re: [openstack-dev] [glance] Progress of the Python 3 port

2015-07-15 Thread Victor Stinner
Hi, On 09/07/2015 16:29, Ian Cordasco wrote: Thanks for your hard work Victor! I'll bring up a new release today in the Glance meeting (currently running) and see if Nik and I can bug the release managers for a new release today. Any update on this release? In the meeting report, I read:

Re: [openstack-dev] [all] Time to remove Python2.6 jobs from master

2015-07-13 Thread Victor Stinner
On 13/07/2015 13:57, Jeremy Stanley wrote: people on 2.6-only platforms who want to install and run python-novaclient from PyPI can use the stable/juno version (though I'll admit that finding which version works with 2.6 may be a tricky proposition for a consumer who is unaware of this

Re: [openstack-dev] [all][tests][swift] Fix it friday! [mock failure in CI] - fix for Swift

2015-07-10 Thread Victor Stinner
Here is a fix for Swift: https://review.openstack.org/200474 Victor On 10/07/2015 09:45, Robert Collins wrote: Good news everybody, mock 1.1.0 is now out. This backports all the improvements over the last couple of years, making it fully synchronised with cPython master. Yay. Bad news. Lots

Re: [openstack-dev] [all][tests] Fix it friday! [mock failure in CI]

2015-07-10 Thread Victor Stinner
On 10/07/2015 10:42, Robert Collins wrote: Releasing this on a Friday sounds like bad timing, especially without advance notice that we'd have to rush to fix the dozens of new issues it would expose. There would never be a good time to release such things. The whole point of the constraints

Re: [openstack-dev] [all][tests] Fix it friday! [mock failure in CI]

2015-07-10 Thread Victor Stinner
Le 10/07/2015 13:39, Jeremy Stanley a écrit : On 2015-07-10 13:21:56 +0200 (+0200), Victor Stinner wrote: I see mock===1.0.1 in upper-constraints.txt, but the python27 check job of Swift was broken by the release of mock 1.1. Can someone please explain me why Swift check job failed? As far

[openstack-dev] [swift] Stategy to port Swift to Python 3

2015-07-07 Thread Victor Stinner
Hi, I have 9 pending patches to fix Python 3 issues in Swift, but they didn't get much attention yet. Most of these patches replace a pattern with a new pattern to add Python 3 support in addition to Python 2 support.

Re: [openstack-dev] [nova] gate is wedged

2015-06-30 Thread Victor Stinner
Hi, Le 30/06/2015 05:49, Matt Riedemann a écrit : Alternatively, oslo.versionedobjects 0.5.1 is cut after https://review.openstack.org/#/c/196926/ is merged and then we just need haypo's test_db_api fix for the oslo.db 2.0.0 change: https://review.openstack.org/#/c/196719/ I updated my patch

Re: [openstack-dev] [nova] gate is wedged

2015-06-30 Thread Victor Stinner
Le 30/06/2015 10:32, Victor Stinner a écrit : I updated my patch Update test_db_api for oslo.db 2.0 (1) ... (1) https://review.openstack.org/#/c/196719/ I updated my patch again to also block oslo.versionedobjects 0.5.0 in requirements. So we can have two patches to fix the bug ;) The patch

[openstack-dev] [oslo] Ideas to detect Oslo regressions earlier

2015-06-30 Thread Victor Stinner
Hi, Unfortunately, it looks like each regressions introduced by releases of Oslo libraries are still common :-( We already have tools to detect regressions, but they are run manually. It would be nice to automate these tests and run them more frequently (at least one per week, or even

Re: [openstack-dev] Let's get rid of tablib and cliff-tablib

2015-06-29 Thread Victor Stinner
Hi, Le 29/06/2015 11:03, Thomas Goirand a écrit : cliff-tablib is used for the unit tests of things like python-neutronclient. The annoying bit is that cliff-tablib depends on tablib, which itself is a huge mess. It has loads of 3rd party embedded packages and most of them aren't Python 3.x

[openstack-dev] [cinder][glance][nova] Python 3 coming!

2015-06-26 Thread Victor Stinner
Hi, The Python 3.4 gate (py34) of cinder, glance and nova just became voting. You now have to write Python code compatible with Python 2.7 and 3.4. If the py34 check job fails on your patch, you may try to rebase it to get the new tox.ini and updated requirements. You can find information

Re: [openstack-dev] Jenkins check failed on gate-glance_store-python34

2015-06-26 Thread Victor Stinner
Hi, Le 26/06/2015 09:17, 孙明达 a écrit : I am a new contributor for openstack. the following url is my code review for glance_store https://review.openstack.org/#/c/193403/ Jenkins check failed on gate-glance_store-python34 Referring to the console info, I have never changed the code

[openstack-dev] [glance] Progress of the Python 3 port

2015-06-22 Thread Victor Stinner
Hi, We made great progress on porting Glance to Python 3. tox -e py34 now pass with a subset of tests and there is a non-voting py34 check job. I propose to make the py34 gate voting to avoid Python 3 regressions: https://review.openstack.org/194048 Make gate-glance-python34 voting When the

Re: [openstack-dev] Debian already using Python 3.5: please gate on that

2015-06-22 Thread Victor Stinner
Hi, Le 18/06/2015 15:44, Thomas Goirand a écrit : As per the subject line, we already have Python 3.5 in Debian (AFAICT, from Debian Experimental, in version beta 2). As a consequence, we're already running (unit) tests using Python 3.5. Some have failures: I could see issues in

Re: [openstack-dev] [all][python3] use of six.iteritems()

2015-06-11 Thread Victor Stinner
Hi, Le 10/06/2015 02:15, Robert Collins a écrit : python2.7 -m timeit -s 'd=dict(enumerate(range(100)))' 'for i in d.items(): pass' 10 loops, best of 3: 76.6 msec per loop python2.7 -m timeit -s 'd=dict(enumerate(range(100)))' 'for i in d.iteritems(): pass' 100 loops, best of 3: 22.6

Re: [openstack-dev] [oslo] Adopt mox3

2015-06-11 Thread Victor Stinner
Hi, Le 10/06/2015 22:17, Davanum Srinivas a écrit : Oslo folks, everyone, mox3 needs to be maintained since some of our projects use it and we have it in our global requirements. Here's the proposal from Doug - https://review.openstack.org/#/c/190330/ Why not only creating a project on

Re: [openstack-dev] [oslo] oslo releasing is noisy...

2015-06-10 Thread Victor Stinner
Le 09/06/2015 18:31, Thierry Carrez a écrit : We are currently exploring the option to repurpose the openstack-announce ML to be the extensive record of release announcements. It's part of a larger plan to streamline library releases, about which Doug should start a discussion pretty soon now.

Re: [openstack-dev] [release][oslo] oslotest release 1.7.0 (liberty)

2015-06-10 Thread Victor Stinner
Good news: your fix is already merged into oslo.messaging ;-) oslo.messaging now uses directly mox3, on Python 2 and Python 3. Victor Le 10/06/2015 14:04, Victor Sergeyev a écrit : Hi All, this oslotest release break oslo.messaging gate - unittest fails with ImportError, on import mox from

Re: [openstack-dev] [cinder] Port Cinder to Python 3

2015-06-09 Thread Victor Stinner
Hi, Le 26/05/2015 11:51, Duncan Thomas a écrit : Thanks Victor, that is pretty much exactly what I wanted to hear - there's a known, finite plan to get us to fully working with python3. I'll go change my reviews now. As expected, two weeks later, all my patches are in conflict :-) I rebased

Re: [openstack-dev] [Ironic][oslo] Stepping down from oslo-ironic liaison

2015-05-28 Thread Victor Stinner
Joe is winding down the oslo liaison as well. https://wiki.openstack.org/wiki/CrossProjectLiaisons#Oslo Yup, thank you Victor! thanks, dims On Wed, May 27, 2015 at 5:12 AM, Victor Stinner vstin...@redhat.com mailto:vstin...@redhat.com wrote: Hi

Re: [openstack-dev] [Ironic][oslo] Stepping down from oslo-ironic liaison

2015-05-27 Thread Victor Stinner
Hi, By the way, who is the oslo liaison for nova? If there is nobody, I would like to take this position. Victor Le 25/05/2015 18:45, Ghe Rivero a écrit : My focus on the Ironic project has been decreasing in the last cycles, so it's about time to relinquish my position as a oslo-ironic

[openstack-dev] [cinder] Port Cinder to Python 3

2015-05-26 Thread Victor Stinner
to add Python 3 support to all other OpenStack libraries and applications. Sorry if it makes the code more ugly. More information on porting code to Python 3: https://wiki.openstack.org/wiki/Python3#Port_Python_2_code_to_Python_3 Victor Stinner aka haypo

  1   2   >