4f9595f1130f6c45f8e3e08db55dddc31844be93
205 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
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" | ||
|
Zuul
|
1214bb83cc | Merge "api-ref: add link to SLO docs from multipart-manifest=put param" | ||
|
Tim Burke
|
0294836d9b |
py3: test/unit/common/middleware/s3api/test_s3token.py
Change-Id: Ibbff151703395d517452c3d6927652506a9eab66 |
||
|
Tim Burke
|
adc826f376 |
Clean up more things before running unit tests
Apparently some versions of py3 will drop symlinks in the venv. Change-Id: I77c52b6ad776ab75c4f9713290cc42a1fcb6e0f7 |
||
|
Zuul
|
161366bd0f | Merge "Run docs tox env under py3" | ||
|
Tim Burke
|
e3e79a6e48 |
Remove "gross hack" for py3pep8 env; run releasenotes under py3
Change-Id: Ib853f79bc062ec550627342d0fc5b2b92029f25c |
||
|
Tim Burke
|
6c93c57685 |
Run docs tox env under py3
...and fix this one warning-treated-as-error that crept in since https://github.com/openstack/swift/commit/d185b60 Change-Id: Id46ee3ab23e2703170191528427aaa2788aba1ee |
||
|
Tim Burke
|
ffe51501c2 |
api-ref: add link to SLO docs from multipart-manifest=put param
Drive-by: run api-ref tox env under py3. Change-Id: Iebce47eabcb3b198d4aa7c1b8cfaf8f53300f7f9 |
||
|
Sean McGinnis
|
10cb205fe0 |
Fix lower-constraint deps handling
When the lower-constraints tox target was added, it was assumed the install_command was just running the install and that the dependencies and constraints were being set using "deps = ". This fixed the install_command and deps to follow the expected pattern so the lower-constraints job actual does install the lower constraints. Also: * raise the minimum for netifaces as the existing version would fail to load * pin oslo.log to the minimum required by our minimum keystonemiddleware * fix up some error handling for ancient versions of pastedeploy * specify that we shouldn't install xattr on a platform we don't support anyway, because reasons Change-Id: Ie78c0dabe12e01109db2b6412166c3564b87ee96 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com> |
||
|
Zuul
|
65660faf69 | Merge "py3: port formpost middleware" | ||
|
Tim Burke
|
c9773bfd26 |
Add non-voting py37 unit test job
Change-Id: I83f8f59023eabc97386481c18ed8bbf8fab64fa8 |
||
|
Zuul
|
d2d6d59d5c | Merge "py3: port proxy account controller" | ||
|
Zuul
|
65f2fd8c95 | Merge "py3: port proxy container controller" | ||
|
Pete Zaitcev
|
860ae1e001 |
py3: port proxy account controller
Change-Id: I5a0d2108d01395aedb4ac18464ed2e38ad13ce84 |
||
|
Tim Burke
|
45994e4d31 |
py3: port object updater
Change-Id: Ib1cd0659d5085ff9f8555bc08bd17a8f02f2efc0 |
||
|
Tim Burke
|
349c549984 |
py3: port object auditor
Change-Id: Ic00273e5d3120f7daba1d3cbf084159f1e7d8bbb |
||
|
Pete Zaitcev
|
61e6ac0ebd |
py3: port formpost middleware
Change-Id: I8f3d4d5f6976ef5b63facd9b5723aac894066b74 |
||
|
Zuul
|
330768d449 | Merge "py3: port versioned_writes" | ||
|
Zuul
|
67010f0171 | Merge "py3: port the container" | ||
|
Tim Burke
|
b4e4700765 |
py3: port some more middleware tests
* name_check * quotas * ratelimit * read_only * recon Note that the middlewares themselves seem to be fine. Fix proxy-logging for PEP-0479. Change-Id: If47d09e8e8c09b9f50451f93d5b0803aa58743a7 |
||
|
Pete Zaitcev
|
3be384c810 |
py3: port proxy container controller
Change-Id: Id74a93f10bc5c641d62141af33bef68e503f7e04 |
||
|
Pete Zaitcev
|
575538b55b |
py3: port the container
This started with ShardRanges and its CLI. The sharder is at the bottom of the dependency chain. Even container backend needs it. Once we started tinkering with the sharder, it all snowballed to include the rest of the container services. Beware, this does affect some of Python 2 code. Mostly it's trivial and obviously correct, but needs checking by reviewers. About killing the stray "from __future__ import unicode_literals": we do not do it in general. The specific problem it caused was a failure of functional tests because unicode leaked into a field that was supposed to be encoded. It is just too hard to track the types when rules change from file to file, so off with its head. Change-Id: Iba4e65d0e46d8c1f5a91feb96c2c07f99ca7c666 |
||
|
Zuul
|
3c224af80c | Merge "py3: port copy middleware" | ||
|
Tim Burke
|
ce261b12e6 |
py3: port versioned_writes
Change-Id: I1095262563eff92d6d0a399eb0d5f9d3045becf3 |
||
|
Pete Zaitcev
|
db9c905849 |
py3: port copy middleware
Change-Id: I2701358f9f01f368c892a010a543ecc1f17684a3 |
||
|
Pete Zaitcev
|
828a241caa |
py3: adapt proxy base controller
Change-Id: I83aa5d72084ca183e00dc6d69e417fba310a2c59 |
||
|
Zuul
|
80b58553e8 | Merge "py3: port object controller in proxy" | ||
|
Pete Zaitcev
|
988e719232 |
py3: port object controller in proxy
When looking at the tuple thing, remember that tuples are comparable with ints in py2, but they do not compare like (100)[0]. Instead, they are always greater, acting almost like MAX_INT. No wonder py3 banned that practice. We had a much of other noncomparables, but we dealt with them in obvious ways, like adding key= to sorted(). Change-Id: I52e96406c3c1f39b98c1d81bdc057805cd1a6278 |