aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-04Add changelog for pyproject.toml changes (#863)Paul Ganssle
2019-02-04Add pyproject.toml to sdistPaul Ganssle
2019-02-04Explicitly add PEP 517 backend to pyproject.tomlPaul Ganssle
2019-02-04Merge pull request #859 from nicoe/exdate-paramsPaul Ganssle
Add parameters parsing to EXDATE
2019-02-04Add Nicolas Évrard to AUTHORS.mdPaul Ganssle
Co-Authored-By: Nicolas Evrard <nicoe@openhex.org>
2019-02-04Add news fragment for PR #859Paul Ganssle
2019-02-04Add tests for multiple EXDATE and DTSTART valuesPaul Ganssle
2019-02-04Factor rrule datetime value parsing into a methodNicolas Evrard
The logic for DTSTART, EXDATE and RDATE is substantially similar, so it makes sense to factor this out into a separate method.
2019-02-04Add EXDATE parameter parsing to rrulestrPaul Ganssle
Per RFC 5545 Section 3.8.5.1, exception dates should support VALUE and TZID parameters. This commit adds support for the full grammar of EXDATE.
2019-02-04Add tests for EXDATE parameter parsingPaul Ganssle
This adds a mix of failing and passing tests all of which must pass in order to close GH issue #410. These test a hopefully representative sample of supported parameter combinations, though all combinations are not exhausted.
2019-02-03Merge pull request #861 from pganssle/fix_gettz_windows_unicodePaul Ganssle
Catch UnicodeEncodeError for Windows in tz.gettz
2019-02-03Add changelog for PR #861Paul Ganssle
2019-02-03Catch UnicodeEncodeError for Windows in tz.gettzPaul Ganssle
On Windows and Python 2.7, calling `tzwin` with a non-ascii name will raise a UnicodeEncodeError instead of WindowsError, as it does on other platforms and versions. Fixes GH #802.
2019-02-03Merge pull request #862 from pganssle/tzdata-2018iPaul Ganssle
Update tzdata to 2018i
2019-02-03Update tzdata to 2018iPaul Ganssle
2019-02-02Merge pull request #858 from nicoe/fix-pytest-markerPaul Ganssle
Fixed get_marker API change introduced by pytest version >= 4.0
2019-02-02Short circuit evaluation of pytest get_markerNicolas Evrard
No version of pytest that works on Python 3.3 supports the get_closest_marker method, and pytest >= 4.0 *only* supports get_closest_marker, so we must retrieve item.get_marker *if and only if* we cannot retrieve get_closest_marker.
2019-01-07Add default active developers into OWNERS am: 15242e63ac am: 6a734c6946Chih-Hung Hsieh
am: 76c71506cc Change-Id: I5a6cddc6c6a9ec961ebc2b9c1f158b85126f854a
2019-01-07Add default active developers into OWNERS am: 15242e63acChih-Hung Hsieh
am: 6a734c6946 Change-Id: I8aeb13502f77f763dc868e679c3d3cbbc3a41d69
2019-01-07Add default active developers into OWNERSChih-Hung Hsieh
am: 15242e63ac Change-Id: Iff9ffcfb3b771e9a15bf9e46a0df13cd28e2f4b9
2019-01-04Add default active developers into OWNERSandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1Chih-Hung Hsieh
Bug: 33166666 Test: gerrit uploader Change-Id: Idcee630229f73166102ad4b7d2380162f07a458f
2018-11-14Merge pull request #836 from pganssle/xfailPaul Ganssle
Skip coverage on xfailed tests
2018-11-13Skip coverage on xfailed testsPaul Ganssle
This automatically attaches the `no_cover` marker to anything marked `xfail` *if* the `xfail` condition is met. This allows us to do the test coverage in one run instead of two.
2018-11-13Merge pull request #839 from pganssle/test_fold_replacePaul Ganssle
Test fold replace
2018-11-13Add changelog for PR #839 adding testsPaul Ganssle
2018-11-13Add test for un-folding a datetimePaul Ganssle
2018-11-13Test error condition in _DatetimeWithFold.replacePaul Ganssle
2018-11-13Add test for _DatetimeWithFold.replacePaul Ganssle
This ensures that positional arguments can be passed successfully
2018-11-13Convert EnfoldTest to pytest-style assertionsPaul Ganssle
2018-11-12Merge pull request #837 from pganssle/fix_33Paul Ganssle
Update pyproject.toml for version 3.3
2018-11-11Update pyproject.toml for version 3.3Paul Ganssle
2018-10-30Merge pull request #832 from pganssle/merge_2.7.5Paul Ganssle
Port over 2.7.5 release
2018-10-27Prepare 2.7.5 releasePaul Ganssle
2018-10-27Merge pull request #830 from pganssle/tzdata2018gPaul Ganssle
Update tzdata to 2018g
2018-10-27Update tzdata to 2018gPaul Ganssle
2018-10-26Merge pull request #829 from pganssle/merge_2.7.4Paul Ganssle
Update NEWS with 2.7.4 release
2018-10-25Update NEWS with 2.7.4 releasePaul Ganssle
2018-10-25Merge pull request #774 from pganssle/add_mlk_day_solutionPaul Ganssle
Add solution to Martin Luther King Day exercise
2018-10-25Add documentation exercises to pytestPaul Ganssle
2018-10-25Add solution to Martin Luther King Day exercisePaul Ganssle
Currently this solution is not automatically tested, but was manually tested using Python 3.6.5.
2018-10-21Merge pull request #825 from pganssle/add_2018fPaul Ganssle
Update tzdata to 2018f
2018-10-18Update tzdata to 2018fPaul Ganssle
2018-10-17Merge pull request #761 from gokcennurlu/lru_cache_tzPaul Ganssle
Add LRU caching to tzoffset, tzstr and gettz
2018-10-16Add Gökçen Nurlu to authors listPaul Ganssle
2018-10-16Add changelog for PR #761Paul Ganssle
2018-10-16Cleanup to strong cache additionPaul Ganssle
2018-10-16Add LRU caching to tzoffset, tzstr and gettzGökçen Nurlu
Caching had been switched to use `weakrefs` in order to reuse instances if they are still alive, by #635. This introduces a LRU cache to the mentioned functions in order to prevent the instances created by them getting dealloc'd and alloc'd unnecessarily, in situations like this: ```python for i in range(100): tz.gettz('America/New_York') ``` `tz.tzoffset` and `tz.tzstr` get a LRU cache with size of 8. `tz.gettz`'s cache starts with 8 by default and can be modified by the introduced `tz.set_cache_size(int)` Closes #691
2018-10-16Merge pull request #824 from pganssle/pin_freezegunPaul Ganssle
Pin freezegun on Python 3.3
2018-10-16Pin freezegun on Python 3.3Paul Ganssle
freezegun version 0.3.11 has the common issue of incorrect PyPI metadata mismatched with Requires-Python: https://github.com/spulec/freezegun/issues/268
2018-10-06Merge pull request #822 from Cheukting/isoparsePaul Ganssle
BUG: Closes #820 Accepting 'z' as valid UTC in isoparser