- 02 Oct, 2018 3 commits
-
-
Steve Piercy authored
-
Steve Piercy authored
-
Steve Piercy authored
-
- 17 Oct, 2017 7 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
Fix typo in Trove classifiers.
-
Tres Seaver authored
zeo: Fix parsing URI with IPv6 address
-
Kirill Smelkov authored
-
Kirill Smelkov authored
The code was crashing this way: ---- 8< ---- ====================================================================== ERROR: test_call_ipv6 (zodburi.tests.test_resolvers.TestClientStorageURIResolver) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/kirr/src/wendelin/venv/z-dev/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched return func(*args, **keywargs) File "/home/kirr/src/wendelin/z/zodburi/zodburi/tests/test_resolvers.py", line 265, in test_call_ipv6 factory, dbkw = resolver('zeo://[::1]:9090?debug=true') File "/home/kirr/src/wendelin/z/zodburi/zodburi/resolvers.py", line 141, in __call__ host, port = netloc.split(':') ValueError: too many values to unpack ====================================================================== ERROR: test_call_ipv6_no_port (zodburi.tests.test_resolvers.TestClientStorageURIResolver) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/kirr/src/wendelin/venv/z-dev/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched return func(*args, **keywargs) File "/home/kirr/src/wendelin/z/zodburi/zodburi/tests/test_resolvers.py", line 258, in test_call_ipv6_no_port factory, dbkw = resolver('zeo://[::1]?debug=true') File "/home/kirr/src/wendelin/z/zodburi/zodburi/resolvers.py", line 141, in __call__ host, port = netloc.split(':') ValueError: too many values to unpack ---- 8< ---- Fix it by leveraging the fact that urlparse.urlsplit return() tuple-like object with additional .hostname and .port attributes which already parse IPv6 correctly: In [2]: u = urlsplit('http://[::1]:5553') In [3]: u Out[3]: SplitResult(scheme='http', netloc='[::1]:5553', path='', query='', fragment='') In [4]: u.netloc Out[4]: '[::1]:5553' In [5]: u.hostname Out[5]: '::1' In [6]: u.port Out[6]: 5553 In [7]: u = urlsplit('http://[::1]') In [8]: u.hostname Out[8]: '::1' In [9]: u.port In [10]: repr(u.port) Out[10]: 'None'
-
- 06 Oct, 2017 4 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
- 05 May, 2017 3 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
-
- 19 Apr, 2017 2 commits
-
-
Tres Seaver authored
setup: Fix thinko for test_require
-
Kirill Smelkov authored
It is test_require who should list all packages needed for testing, but because of thinko in 3833be7e (Convert db resolvers to storage resolvers.) it was the other way. This resulted in zodburi install always pulling in mock. Fix it.
-
- 18 Apr, 2017 6 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
Fixed: changes in 2.2 broke the zconfig resolver.
-
Steve Piercy authored
testing whether RTD will now build with latest ZEO
-
Steve Piercy authored
-
Jim Fulton authored
-
- 17 Apr, 2017 4 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
I hate forking.
-
Jim Fulton authored
Support more db parameters
-
- 14 Apr, 2017 1 commit
-
-
Jim Fulton authored
-
- 13 Apr, 2017 4 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
pool_timeout, cache_size_bytes, historical_pool_size, historical_cache_size, historical_cache_size_bytes, historical_timeout, and large_record_size
-
- 29 Jul, 2016 5 commits
-
-
Steve Piercy authored
comment out latex_logo to get RTD to build
-
Steve Piercy authored
-
Steve Piercy authored
Change to using package pylons-sphinx-themes and remove git submodule
-
Steve Piercy authored
Add pylons-sphinx-themes to tox deps. Probably not the best way to do it, per https://github.com/Pylons/pylons-sphinx-themes#update-toxini
-
Steve Piercy authored
- Note that RTD has not been building. For some reason, RTD tries to install an alpha version of ZEO. See https://readthedocs.org/projects/zodburi/builds/4246953/
-
- 21 Jul, 2016 1 commit
-
-
Tres Seaver authored
-