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

2015-06-11 Thread Davanum Srinivas
Victor,

Monty had a github repo, that's where we are starting from. The idea
is to rely on our day to day tools here in the openstack ecosystem to
maintain the project. If one of the original authors shows up, we'll
see what we can do. Given that the code is Apache License 2.0, we are
ok to pick this up.

-- dims

On Thu, Jun 11, 2015 at 4:15 AM, Victor Stinner vstin...@redhat.com wrote:
 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 Github? Do we need all OpenStack tools
 for mox3? I don't expect much enhancements in the library. For me, OpenStack
 looks more restrictive than a classic Github project, it's more heavy to
 contribute (sign a CLA, use review.openstack.org, etc.).

 I prefer mock over mox, the API is very different. mock is now part of
 Python stdlib (unittest.mock since Python 3.3). In the past, I ported some
 mox tests to mock, but it takes a lot of time :-(

 https://docs.python.org/dev/library/unittest.mock.html

 Did anyone try to contact original mox authors? smiddlek is the last active
 contributor.

 I see changes in 2012 in the Subversion repository of mox, whereas the
 latest mox release was in 2010 (mox 0.5.3).

 It would be nice to merge back enhancements of mox3 (Python 3 support) into
 mox. It's annoying to have a specific project to get Python 3 support.

 mox is hosted on code.google.com which is closing!

 Victor


 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



-- 
Davanum Srinivas :: https://twitter.com/dims

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2015-06-11 Thread Davanum Srinivas
Yes, that's the official position - Avoid mox, use mock, worst case
use mox3 for existing

-- dims

On Thu, Jun 11, 2015 at 3:37 AM, Jordan Pittier
jordan.pitt...@scality.com wrote:
 Hi,
 Shouldn't we move to use mock instead ? If mox3 is supported and active, why
 would we recommend to use mock ?

 Jordan

 On Wed, Jun 10, 2015 at 10:17 PM, Davanum Srinivas dava...@gmail.com
 wrote:

 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/

 Any objections? Please chime in here or on the review.

 thanks,
 dims

 --
 Davanum Srinivas :: https://twitter.com/dims

 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 
Davanum Srinivas :: https://twitter.com/dims

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2015-06-11 Thread Jordan Pittier
Hi,
Shouldn't we move to use mock instead ? If mox3 is supported and active,
why would we recommend to use mock ?

Jordan

On Wed, Jun 10, 2015 at 10:17 PM, Davanum Srinivas dava...@gmail.com
wrote:

 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/

 Any objections? Please chime in here or on the review.

 thanks,
 dims

 --
 Davanum Srinivas :: https://twitter.com/dims

 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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 Github? Do we need all OpenStack 
tools for mox3? I don't expect much enhancements in the library. For me, 
OpenStack looks more restrictive than a classic Github project, it's 
more heavy to contribute (sign a CLA, use review.openstack.org, etc.).


I prefer mock over mox, the API is very different. mock is now part of 
Python stdlib (unittest.mock since Python 3.3). In the past, I ported 
some mox tests to mock, but it takes a lot of time :-(


https://docs.python.org/dev/library/unittest.mock.html

Did anyone try to contact original mox authors? smiddlek is the last 
active contributor.


I see changes in 2012 in the Subversion repository of mox, whereas the 
latest mox release was in 2010 (mox 0.5.3).


It would be nice to merge back enhancements of mox3 (Python 3 support) 
into mox. It's annoying to have a specific project to get Python 3 support.


mox is hosted on code.google.com which is closing!

Victor

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2015-06-11 Thread Doug Hellmann
Excerpts from Davanum Srinivas (dims)'s message of 2015-06-11 05:58:44 -0400:
 Victor,
 
 Monty had a github repo, that's where we are starting from. The idea
 is to rely on our day to day tools here in the openstack ecosystem to
 maintain the project. If one of the original authors shows up, we'll
 see what we can do. Given that the code is Apache License 2.0, we are
 ok to pick this up.

Right, the problem with github is that unless we do some work to enable
multiple users to have access to the repo, we're in the situation we
have now where the owner is traveling or otherwise unavailable and we
can't release the fix we need. Moving the lib into our CI system expands
the number of people who can make changes, and also lets us use our
release automation.

Doug

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [oslo] Adopt mox3

2015-06-10 Thread Davanum Srinivas
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/

Any objections? Please chime in here or on the review.

thanks,
dims

-- 
Davanum Srinivas :: https://twitter.com/dims

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev