master
282 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Matthew Oliver
|
0217b12b6d |
PDF Documentation Build tox target
This patch adds a `pdf-docs` tox target that will build PDF versions of our docs. As per the Train community goal: https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html Add sphinxcontrib-svg2pdfconverter to doc/requirements.txt to convert our SVGs. Story: 2006122 Task: 35515 Change-Id: I26cefda80d3234df68d7152b404e0a71da74ab90 |
||
|
Zuul
|
d103de57a2 | Merge "Update the constraints url" | ||
|
Tim Burke
|
74db367060 |
py3: Finish porting func tests
We were (indirectly) importing swiftclient (and therefore requests and urllib3) before doing our eventlet monkey-patching. This would lead boto3 (which digs an SSLContext out of urllib3) to trip RecursionErrors on py3 similar to >>> from ssl import SSLContext, PROTOCOL_SSLv23 >>> import eventlet >>> eventlet.monkey_patch(socket=True) >>> SSLContext(PROTOCOL_SSLv23).options |= 0 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.6/ssl.py", line 465, in options super(SSLContext, SSLContext).options.__set__(self, value) File "/usr/lib/python3.6/ssl.py", line 465, in options super(SSLContext, SSLContext).options.__set__(self, value) File "/usr/lib/python3.6/ssl.py", line 465, in options super(SSLContext, SSLContext).options.__set__(self, value) [Previous line repeated 330 more times] RecursionError: maximum recursion depth exceeded while calling a Python object Change-Id: I4bb59edd87336597791416c4f2a096efe0e72fe3 |
||
|
Zuul
|
9b4b57a880 | Merge "py3: port SLO func tests" | ||
|
Tim Burke
|
7f42309a33 |
py3: Cover account/container func tests
Change-Id: I9a754f1eb06debbe16800a05fc8e969af2f89043 |
||
|
Zuul
|
2a54619609 | Merge "py3: port dlo func tests" | ||
|
Zuul
|
8083255e34 | Merge "py3: mostly port s3 func tests" | ||
|
Tim Burke
|
227fe30251 |
py3: port test/functional/test_versioned_writes.py
Change-Id: I8c2517599a6d1cdf68050dc7acb039f09875fd53 |
||
|
Tim Burke
|
f05119c16f |
py3: mostly port s3 func tests
test_bucket.py is proving somewhat problematic. Change-Id: I5b337ef66a23fc989762801dd6a5ba1ed903f57b |
||
|
Zuul
|
96ece6e18e | Merge "py3: Add swift-tox-func-encryption-py37 gate job" | ||
|
Tim Burke
|
7c74dbd255 |
py3: port dlo func tests
Drive-by: fix an issue where tf.config wasn't initialized when we decide whether to skip test_dlo_referer_on_segment_container. Change-Id: Iad8b3ab40dccb23847cde5c09f55627da0963fe0 |
||
|
Tim Burke
|
2c727f65ff |
py3: Add swift-tox-func-encryption-py37 gate job
Change-Id: Ia9ae0fc226dfc9b40157faebac100c10a9180c62 |
||
|
Tim Burke
|
2e4c8a924e |
py3: port RBAC func tests
Yes, it really is just the import. Change-Id: Id7e2891b6600af102176eaa2e87f81b528adde8d |
||
|
Andreas Jaeger
|
73ec8f15df |
Update api-ref location
The api documentation is now published on docs.openstack.org instead of developer.openstack.org. Update all links that are changed to the new location. Note that the Swift API lives at /object-store and not /object-storage. Note that redirects will be set up as well but let's point now to the new location. For details, see: http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html Change-Id: Ie38357e4c278335c35d186708573bb6bdabaa012 |
||
|
Tim Burke
|
a48104c545 |
py3: port SLO func tests
Drive-by: remove some py2/py3 code branches where encoding/decoding should always succeed. Change-Id: Iabfa157f2b20e6fd650a441e9c0f6163478ce147 |
||
|
Tim Burke
|
2926fc96a3 |
py3: Bring functional/test_object.py under test; add func-ec-py37 job
Change-Id: I2929ce1f8e08ae5b4059605d09189c8521852423 |
||
|
Tim Burke
|
9d1b749740 |
py3: port staticweb and domain_remap func tests
Drive-by: Tighten domain_remap assertions on listings, which required that we fix proxy pipeline placement. Add a note about it to the sample config. Change-Id: I41835148051294088a2c0fb4ed4e7a7b61273e5f |
||
|
pengyuesheng
|
03512e001d |
Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html Change-Id: I95114c4aa670c07491d5a15db2341f65cb0d1344 |
||
|
Matthew Oliver
|
9f1ef35630 |
py3: Port the tempurl middleware
This patch ports the tempurl middleware over to PY3. We use an "all-native" string model, where we convert WSGI strings as soon as we see them. It helps to deal with HMAC. Aaand, we fix formpost along the way. It _clearly_ was doing a wrong thing, encoding the same body several times if we had several keys. On py2 it wasn't noticeable, but on py3 this breaks, because the bytes type cannot be encoded again. Change-Id: I69974cc8a39731c980b54137b799a36b2e63a44a |
||
|
Zuul
|
d44a581cdd | Merge "py3: port the test of locale" | ||
|
Zuul
|
38e79890d1 | Merge "Stop manually installing eventlet for our py3 tests" | ||
|
Pete Zaitcev
|
a57085edc9 |
py3: port the test of locale
We needed to change the sample translation a little, because Python 3 requires encoding metadata. We also remove workarounds for a specific bug in the subprocess module, which were needed on Python 2.6 only. Change-Id: Ie7791297cab16a649880088fa9eae6b4f95855f7 |
||
|
Tim Burke
|
6374734d7d |
Stop manually installing eventlet for our py3 tests
0.25.0 is now included in upper-constraints.txt Related-Change: I04be480829eaf67ce328b2e7f7d7e2f70aaed90e Change-Id: I5b8ecd82d6915d0e1cb216c423bbcc75c50a6f3d |
||
|
Tim Burke
|
e8e7106d14 |
py3: port obj/reconstructor tests
All of the swift changes we needed for this were already done elsewhere. Change-Id: Ib2c26fdf7bd36ed1cccd5dbd1fa208f912f4d8d5 |
||
|
Zuul
|
05bfaf7ae1 | Merge "py3: port ssync" | ||
|
Tim Burke
|
d9cafca246 |
py3: port ssync
Change-Id: I63a502be13f5dcda2a457d38f2fc5f1ca469d562 |
||
|
Tim Burke
|
2e35376c6d |
py3: symlink follow-up
- Have the unit tests use WSGI strings, like a real system. - Port the func tests. Change-Id: I3a6f409208de45ebf9f55f7f59e4fe6ac6fbe163 |
||
|
Matthew Oliver
|
4f9595f113 |
py3: port symlink middleware
This patch ports the symlink middleware to py3. The middleware itself seems to be mostly fine and most changes are in the symlink unit tests. Change-Id: I973c2e1bb8969cf6bffece8ce68881c393efbaef |
||
|
Tim Burke
|
40bd9f16a3 |
py3: port diskfile
Change-Id: Ie73f9df460f9014014168d6e60767e66b24d30b0 |
||
|
Zuul
|
720979e3f1 | Merge "py3: port expirer" | ||
|
Zuul
|
72a0115514 | Merge "Get functional/tests.py running under py3" | ||
|
Pete Zaitcev
|
bd8c3067b4 |
py3: slo
This adds wsgi_to_str(self.path_info) everywhere we forgot it, not only in the slo module itself. Dropping the body=''.join(body) after call_slo() is obvious: the latter only returns strings of bytes, not lists of such. Change-Id: I6b4d87e4cda4945bc128dbc9c1edd39e736a59d2 |
||
|
Zuul
|
f1a0eccab9 | Merge "py3: bulk -- alternate approach" | ||
|
Tim Burke
|
bec2cccd43 |
py3: port expirer
Change-Id: Ib5aeda94fe9b165f54ad7412d68d71b62e427a40 |
||
|
Tim Burke
|
5cd2a2ac2f |
py3: bulk -- alternate approach
Related-Change: I3603247e0c36299de2107aa8e494a3f87647696f Change-Id: Iaf14c1ab3e236e6774492ed711fccef066a16fca |
||
|
Tim Burke
|
51e415b749 |
py3: port proxy/test_mem_server.py
This finishes the proxy unit tests. Change-Id: I2452e4e4dabef071bfbf376d03ec63211f7c2906 |
||
|
Tim Burke
|
8b3d0a6c64 |
py3: finish porting proxy/test_server.py
Change-Id: I8287db75b4f19581203360c646e72f64fe45f170 |
||
|
Tim Burke
|
506279235d |
Get functional/tests.py running under py3
Note that you need a pretty recent eventlet to pick up https://github.com/eventlet/eventlet/commit/f0bc79e Change-Id: I6b006b972e7431c406039f4e0f6890a8f74a4432 |
||
|
Tim Burke
|
767872210f |
py3: port unit/proxy/test_sysmeta.py
Change-Id: I378705a8d9ad51dbfa85287d44e6313aa7680c23 |
||
|
Zuul
|
310416abf3 | Merge "py3: port s3api" | ||
|
Tim Burke
|
a239f4ec35 |
Remove py35 unit test job
Change-Id: Iadb3bed811907740f85bd9277ba09a4ca17fc025 |
||
|
Tim Burke
|
3a9f3f8419 |
py3: port s3api
Drive-by: When passing a list or tuple to swob.Response as an app_iter, check that it's full of byte strings. Change-Id: Ifc35aacb2e45004f74c871f08ff3c52bc57c1463 |
||
|
ZhongShengping
|
32bf43990c |
Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org counterparts. Change-Id: I5e77307de6a484fd69b2a5863423ceb357e8601f |
||
|
Zuul
|
1a1b44df6f | Merge "py3: port dlo" | ||
|
Zuul
|
5e6b7f32ac | Merge "Move from py35 to py37 for gating py3 jobs" | ||
|
Pete Zaitcev
|
893acffbc0 |
py3: port dlo
Change-Id: I7236ddea0acde93d0789ad8affa76df0097a86aa |
||
|
Tim Burke
|
7cb276da42 |
Move from py35 to py37 for gating py3 jobs
Looking at https://governance.openstack.org/tc/reference/runtimes/train.html OpenStack is no longer targetting Python 3.5, so it doesn't really make sense to gate on it. Move to Python 3.7, just to make it so we can go longer before having to do this shuffle again. Presumably, once we actually declare support for Python 3.6, we should make that job voting, too? We've had enough gate flaky-ness lately that I'm not keen on it. Change-Id: I9c9e5df76a6592ab9c512b7c1ba807f9a0053059 |
||
|
Matthew Oliver
|
b86bc51607 |
py3: port staticweb middleware
This patch is porting the staticweb middleware to py3. Change-Id: I5d9a13baecedd13d2b7a8ae3dd639eaff0894441 |
||
|
Zuul
|
880e4e4a09 | Merge "py3: test/unit/common/middleware/s3api/test_s3token.py" | ||
|
Zuul
|
0df50b5124 | Merge "Clean up more things before running unit tests" |