Commit graph

19 commits

Author SHA1 Message Date
Markus Unterwaditzer
18d8bb9fc2 Remove Python 2 support (#499)
* Discontinue Python 2.

See #219

* Remove Python 2 config option

* Remove coerce_native

* Remove PY2 variable

* s/text_type/str/g

* Flake8 fixes

* Remove str = str

* s/to_native/to_unicode/g

* Remove to_unicode = to_unicode

* Remove iteritems

* Remove itervalues

* Remove str import, flake8 fixes

* Remove urlparse compat code

* Remove with_metaclass

* Remove unused PY2 variable

* Remove getargspec_ish

* Remove to_bytes

* Remove compat module

* Remove Python 2 from Travis

* fixup! Remove urlparse compat code

* fixup! Remove urlparse compat code

* fixup! Remove compat module
2016-09-08 12:18:36 +02:00
Markus Unterwaditzer
fc3e823b6b Use os.environ instead of getenv
None.lower() fails too, but KeyError() is a nicer errormessage
2016-05-02 16:50:19 +02:00
Markus Unterwaditzer
96c90af1e3 Add flag about Py2 monkeypatch for tests 2016-04-29 19:04:14 +02:00
Markus Unterwaditzer
ea17f2ac01 Show error for Python 2 users (#441)
* Show error for Python 2 users

The error can be disabled with a config option.

See #219
2016-04-28 16:44:17 +02:00
Markus Unterwaditzer
862bf24e6b The dumbest bug fix 2016-03-22 22:47:16 +01:00
Markus Unterwaditzer
88df14a724 Testing: Tolerate slowness in CI 2016-03-10 13:46:44 +01:00
Hugo Osvaldo Barrera
bac0966814 Replace instances of envvar TRAVIS with CI 2016-03-04 12:32:50 -03:00
Markus Unterwaditzer
13af5ffbaf Replace CI with TRAVIS 2016-03-04 15:07:55 +01:00
Markus Unterwaditzer
e244eecc52 Stylefixes 2016-03-04 15:07:55 +01:00
Hugo Osvaldo Barrera
1ede6884b7 Allow running deterministic tests 2016-03-04 15:07:55 +01:00
Markus Unterwaditzer
b12660f1a8 Warn when running under Python 2
See #219
2016-01-24 19:35:37 +01:00
Markus Unterwaditzer
4f7589ca7f Fix logging 2015-08-18 21:25:19 +02:00
Markus Unterwaditzer
6e1846ea9d Remove custom ctx global 2015-08-16 19:40:00 +02:00
Markus Unterwaditzer
a559021447 Add benchmarks 2015-03-03 21:25:54 +01:00
Markus Unterwaditzer
5ce0d97f91 Remove copyright headers 2015-01-21 13:02:30 +01:00
Markus Unterwaditzer
3abebde87f Fix logging in test suite 2014-07-05 01:07:23 +02:00
Markus Unterwaditzer
633a7de28c Some rewrites to requests handling
Conflicts:
	tests/storage/test_http.py
	vdirsyncer/storage/dav.py
2014-04-11 15:27:31 +02:00
Markus Unterwaditzer
d14dfcd5f8 More copyright headers
[ci skip]
2014-04-01 21:09:40 +02:00
Markus Unterwaditzer
4e1371e561 Globally log requests 2014-03-29 17:52:57 +01:00