Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-04 | Add changelog for pyproject.toml changes (#863) | Paul Ganssle | |
2019-02-04 | Add pyproject.toml to sdist | Paul Ganssle | |
2019-02-04 | Explicitly add PEP 517 backend to pyproject.toml | Paul Ganssle | |
2019-02-04 | Merge pull request #859 from nicoe/exdate-params | Paul Ganssle | |
Add parameters parsing to EXDATE | |||
2019-02-04 | Add Nicolas Évrard to AUTHORS.md | Paul Ganssle | |
Co-Authored-By: Nicolas Evrard <nicoe@openhex.org> | |||
2019-02-04 | Add news fragment for PR #859 | Paul Ganssle | |
2019-02-04 | Add tests for multiple EXDATE and DTSTART values | Paul Ganssle | |
2019-02-04 | Factor rrule datetime value parsing into a method | Nicolas 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-04 | Add EXDATE parameter parsing to rrulestr | Paul 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-04 | Add tests for EXDATE parameter parsing | Paul 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-03 | Merge pull request #861 from pganssle/fix_gettz_windows_unicode | Paul Ganssle | |
Catch UnicodeEncodeError for Windows in tz.gettz | |||
2019-02-03 | Add changelog for PR #861 | Paul Ganssle | |
2019-02-03 | Catch UnicodeEncodeError for Windows in tz.gettz | Paul 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-03 | Merge pull request #862 from pganssle/tzdata-2018i | Paul Ganssle | |
Update tzdata to 2018i | |||
2019-02-03 | Update tzdata to 2018i | Paul Ganssle | |
2019-02-02 | Merge pull request #858 from nicoe/fix-pytest-marker | Paul Ganssle | |
Fixed get_marker API change introduced by pytest version >= 4.0 | |||
2019-02-02 | Short circuit evaluation of pytest get_marker | Nicolas 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-07 | Add default active developers into OWNERS am: 15242e63ac am: 6a734c6946 | Chih-Hung Hsieh | |
am: 76c71506cc Change-Id: I5a6cddc6c6a9ec961ebc2b9c1f158b85126f854a | |||
2019-01-07 | Add default active developers into OWNERS am: 15242e63ac | Chih-Hung Hsieh | |
am: 6a734c6946 Change-Id: I8aeb13502f77f763dc868e679c3d3cbbc3a41d69 | |||
2019-01-07 | Add default active developers into OWNERS | Chih-Hung Hsieh | |
am: 15242e63ac Change-Id: Iff9ffcfb3b771e9a15bf9e46a0df13cd28e2f4b9 | |||
2019-01-04 | Add default active developers into OWNERSandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1 | Chih-Hung Hsieh | |
Bug: 33166666 Test: gerrit uploader Change-Id: Idcee630229f73166102ad4b7d2380162f07a458f | |||
2018-11-14 | Merge pull request #836 from pganssle/xfail | Paul Ganssle | |
Skip coverage on xfailed tests | |||
2018-11-13 | Skip coverage on xfailed tests | Paul 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-13 | Merge pull request #839 from pganssle/test_fold_replace | Paul Ganssle | |
Test fold replace | |||
2018-11-13 | Add changelog for PR #839 adding tests | Paul Ganssle | |
2018-11-13 | Add test for un-folding a datetime | Paul Ganssle | |
2018-11-13 | Test error condition in _DatetimeWithFold.replace | Paul Ganssle | |
2018-11-13 | Add test for _DatetimeWithFold.replace | Paul Ganssle | |
This ensures that positional arguments can be passed successfully | |||
2018-11-13 | Convert EnfoldTest to pytest-style assertions | Paul Ganssle | |
2018-11-12 | Merge pull request #837 from pganssle/fix_33 | Paul Ganssle | |
Update pyproject.toml for version 3.3 | |||
2018-11-11 | Update pyproject.toml for version 3.3 | Paul Ganssle | |
2018-10-30 | Merge pull request #832 from pganssle/merge_2.7.5 | Paul Ganssle | |
Port over 2.7.5 release | |||
2018-10-27 | Prepare 2.7.5 release | Paul Ganssle | |
2018-10-27 | Merge pull request #830 from pganssle/tzdata2018g | Paul Ganssle | |
Update tzdata to 2018g | |||
2018-10-27 | Update tzdata to 2018g | Paul Ganssle | |
2018-10-26 | Merge pull request #829 from pganssle/merge_2.7.4 | Paul Ganssle | |
Update NEWS with 2.7.4 release | |||
2018-10-25 | Update NEWS with 2.7.4 release | Paul Ganssle | |
2018-10-25 | Merge pull request #774 from pganssle/add_mlk_day_solution | Paul Ganssle | |
Add solution to Martin Luther King Day exercise | |||
2018-10-25 | Add documentation exercises to pytest | Paul Ganssle | |
2018-10-25 | Add solution to Martin Luther King Day exercise | Paul Ganssle | |
Currently this solution is not automatically tested, but was manually tested using Python 3.6.5. | |||
2018-10-21 | Merge pull request #825 from pganssle/add_2018f | Paul Ganssle | |
Update tzdata to 2018f | |||
2018-10-18 | Update tzdata to 2018f | Paul Ganssle | |
2018-10-17 | Merge pull request #761 from gokcennurlu/lru_cache_tz | Paul Ganssle | |
Add LRU caching to tzoffset, tzstr and gettz | |||
2018-10-16 | Add Gökçen Nurlu to authors list | Paul Ganssle | |
2018-10-16 | Add changelog for PR #761 | Paul Ganssle | |
2018-10-16 | Cleanup to strong cache addition | Paul Ganssle | |
2018-10-16 | Add LRU caching to tzoffset, tzstr and gettz | Gö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-16 | Merge pull request #824 from pganssle/pin_freezegun | Paul Ganssle | |
Pin freezegun on Python 3.3 | |||
2018-10-16 | Pin freezegun on Python 3.3 | Paul 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-06 | Merge pull request #822 from Cheukting/isoparse | Paul Ganssle | |
BUG: Closes #820 Accepting 'z' as valid UTC in isoparser |