This is step 2 in the retirement process for mox3. It removes all
content from the repo other than a note in the README file notifying of
its status and how to get the last version of the code
Depends-on: https://review.opendev.org/736712
Change-Id: Ifbea265fdef149791d02a642037ac30611ad4c81
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
This also modifies a unit test to not attempt to pass the re.LOCALE flag
when the regex is a string, which is prohibited in Python 3.6. It would
be possible to use a raw bytes object as the regex instead, but we're
testing the repr() here and it has a different representation between
Python 2 and Python 3. Just use the re.IGNORECASE flag instead for the
purposes of the test.
Change-Id: I666d49d0a29963bcaef6ca69be34dc4869f6db6f
Co-Authored-By: Zane Bitter <zbitter@redhat.com>
Story: #2002586
Task: #24322
There weren't called before because test-requirements
hardcoded an older version that is not what flake8 expected.
Change-Id: I43b0c9f89d8411ae536ffd0540ff7ba47df46dda
This change introduces behavior that's not compatible
with real world usage of mox3 in the nova project, and
breaks huge amounts of the unit tests under python3.
Closes-Bug: #1657757
This reverts commit 4a85ff0ec4.
Change-Id: Iacb0d9307af4602a9e4f5725504f98e196cd10fc
inspect.signature() was added to Python 3.3. inspect.getargspec() is
deprecated since Python 3.0 and doesn't support keyword-only
parameters.
Change-Id: I09dd8a38cc3166bc55917bc0813185457b43a971
testStubOutClass_OldStyle has been fixed with a tip
from referenced bug. Also testUnboundMethodsRequiresInstance
was writted before python 3.3 was released and hence worked
only with versions before i believe. This test never worked
with python 2.6/2.7 either. So just nuking it.
Closes-Bug: #1403214
Change-Id: I2b14b9b29122539cf4a101af0dca89c10693b6a3
Version 0.7.0 has a conflicting pbr requirement, so we need to update
the requirements and produce a new release. Making our tools work after
importing into gerrit required several updates simultaneously:
1. Update requirements based on our global-requirements list.
2. Fix tox.ini so tests pass for 2.7 and 3.4.
3. Skip a test that is failing for 3.4 until we have more time to debug.
4. Fix the .gitreview settings to point to the right repository.
5. Add skeleton documentation structure.
6. Add links to the README in a format understood by our release tools.
Related-bug: #1403214
Change-Id: I28213fb1dbb76a8640d7aa7dc844a7b593d1c6da