summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge pull request #975 from andriyor/masterMario Corchero2021-05-312-2/+5
|\ \ \ \ | | | | | | | | | | Add GitHub URL for PyPi
| * | | | Add project URLsAndriy Orehov2020-04-242-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds both a documentation and source code link, and makes the github link the "home page". Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
* | | | | Merge pull request #1131 from mariocj89/masterPaul Ganssle2021-05-242-2/+6
|\ \ \ \ \ | | | | | | | | | | | | ci: Remove the need of upgrading pip/setuptools
| * | | | | ci: Remove the need of upgrading pip/setuptoolsMario Corchero2021-05-212-2/+6
|/ / / / / | | | | | | | | | | | | | | | | | | | | We were running tox without enabling isolated environment, this was therefore resulting in tox not using `pyproject.toml`.
* | | | | Merge pull request #1132 from mariocj89/pu/ghactions3Paul Ganssle2021-05-212-22/+55
|\ \ \ \ \ | | | | | | | | | | | | ci: Move docs, build and tz tox env validation to github actions
| * | | | | ci: Move docs, build and tz tox env validation to github actionsMario Corchero2021-05-212-22/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Actions are split across multiple jobs to simplify setup and better represent their intent. Tox is pinned to <3.8.0 for the tz environment due to issue #908.
* | | | | | Merge pull request #1060 from frenzymadness/decodeMario Corchero2021-05-212-8/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Call .decode() only for binary data
| * | | | | | Simplify parser._timelex handling of bytes and bytearrayLumir Balhar2021-05-202-8/+3
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can handle both bytes and bytearray in the same way in Python 2 and Python 3. Co-authored-by: Mario Corchero <mariocj89@gmail.com>
* | | | | | Merge pull request #1133 from mariocj89/pu/pybuildMario Corchero2021-05-214-4/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | release: Move to `python-build`
| * | | | | | release: Move to `python-build`Mario Corchero2021-05-214-4/+7
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | PEP517 is deprecated, move to `python-build`. This will additionally validate the build dependencies, enhancing the CI.
* | | | | | Merge pull request #1105 from MrRawbin/last_day_of_month_explicit_testsMario Corchero2021-05-213-1/+13
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Add two tests for relativedelta(day=31) for February
| * | | | | tests: Add additional tests for relative delta and FebruaryRobin Henriksson Törnström2021-05-213-0/+12
| | | | | |
| * | | | | tests: Fix typo in test nameRobin Henriksson Törnström2021-05-211-1/+1
|/ / / / /
* | | | | Merge pull request #1122 from pawl/fix_b_prefixMario Corchero2021-05-204-1/+15
|\ \ \ \ \ | | | | | | | | | | | | prevent unnessary b' prefix in parse_isodate exception messages
| * | | | | Decode input str when reporting an error in `parse_isodate`Paul Brown2021-05-204-1/+15
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As the function is wrapped around a decorator that converts the input to bytes, when an exception is raised that includes the value, it contains the value as bytes (b"<val>"). To provide the expected str in Python 3, decode that to unicode. This will result in `u""` for Python 2 callers, but given that we plan to drop support for Python 2 in the short term, it feels acceptable.
* | | | | Merge pull request #1068 from ArcLightSlavik/fix_lenPaul Ganssle2021-05-203-1/+4
|\ \ \ \ \ | | | | | | | | | | | | Use already existing variable instead of calling len again
| * | | | | Use already existing `str_len` in isoparseArcLightSlavik2021-05-203-1/+4
|/ / / / / | | | | | | | | | | | | | | | Save an unnecessary len call.
* | | | | Merge pull request #1129 from mariocj89/pu/ghactionPaul Ganssle2021-05-193-17/+13
|\ \ \ \ \ | |_|_|/ / |/| | | | ci: Move main interpreter checks to github actions
| * | | | ci: Move Python 2 to github actionsMario Corchero2021-05-193-2/+3
| | | | |
| * | | | ci: Move modern Python 3 checks to github actionsMario Corchero2021-05-193-15/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the main Python 3 interpreter CI to github actions, the "legacy" interpreters will continue to run in travis/appveyor until we drop support for them.
| * | | | ci: Rename test_pypi.yml to validate.ymlMario Corchero2021-05-191-0/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | The workflow will be used to validate the changes in the repository. As it will be used across all interpreter, rename it to better reflect its intent.
* | | | Merge pull request #1127 from mariocj89/pu/travis-3.4Paul Ganssle2021-05-192-0/+5
|\ \ \ \ | | | | | | | | | | ci: Fix 3.4 test runs
| * | | | ci: Prevent pip from consuming 21.1.0Mario Corchero2021-05-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Version 21.1.0 breaks Python 3.4 installations, and even if the version was yanked from `pypi.org`, the version of pip available for Python 3.4 does not recognized yanked metadata and installs it.
| * | | | ci: Upgrade setuptools when installing dependenciesMario Corchero2021-05-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are using `setup_requires` which uses `easy_install` in old versions of `setuptools` rather than pip. This results in the installation of the latest version of `setuptools_scm`, as `easy_install` does not support `python_requires` tags. This commit runs the CI with the latest version available of `setuptools` for Python 3.4, which should be frozen.
* | | | | Merge pull request #1128 from mariocj89/pu/tzdataPaul Ganssle2021-05-194-8/+5
|\ \ \ \ \ | | | | | | | | | | | | Update zoneinfo to 2021a
| * | | | | Update zoneinfo to 2021aMario Corchero2021-05-184-8/+5
| |/ / / /
* | | | | Merge pull request #1126 from mariocj89/pu/test-dPaul Ganssle2021-05-191-3/+4
|\ \ \ \ \ | |/ / / / |/| | | | tests: Fix logic on detecting platform support for `-d`
| * | | | tests: Fix logic on detecting platform support for `-d`Mario Corchero2021-05-181-3/+4
|/ / / / | | | | | | | | | | | | | | | | | | | | Tests are failing in CI on pypi for windows. The function is returning an empty string rather than raising. This commit adapts the logic to skip those cases.
* | | | Merge pull request #1083 from michael-k/python3.9Paul Ganssle2020-09-284-0/+4
|\ \ \ \ | | | | | | | | | | Add Python 3.9 into trove classifiers and CI.
| * | | | Add support for python 3.9Michael Käufl2020-09-284-0/+4
|/ / / /
* | | | Merge pull request #1076 from pganssle/no_slimPaul Ganssle2020-08-283-7/+30
|\ \ \ \ | | | | | | | | | | Use "fat" zic binaries in CI tests
| * | | | Add changelog for fat binary changePaul Ganssle2020-08-281-0/+1
| | | | |
| * | | | Use "fat" zic binaries in CI testsPaul Ganssle2020-08-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This should be reverted when support for version 2+ TZif files is added (see GH-1059).
| * | | | Use fat zic binaries in zoneinfo.rebuildPaul Ganssle2020-08-281-6/+28
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | At the moment, we do not support Version 2 files (see GH-590), and many zones will be inaccurate *today* when dateutil.tz is used with a slim binary. For the moment, we'll force fat binaries. In the long term, we'll migrate to something like zoneinfo.
* | | | Merge pull request #1078 from pganssle/fix_doc_warningPaul Ganssle2020-08-282-3/+4
|\ \ \ \ | |/ / / |/| | | Fix documentation warning about relative links
| * | | Fix documentation warning about relative linksPaul Ganssle2020-08-282-3/+4
|/ / / | | | | | | | | | | | | It seems that relative links to the generated `.html` files doesn't work anymore, so I've replaced them with either `doc` or `mod` references.
* | | Merge pull request #1015 from ffe4/tox-include-docs-folderPaul Ganssle2020-06-172-2/+4
|\ \ \ | | | | | | | | Fix tox not running files under docs/
| * \ \ Merge branch 'master' into tox-include-docs-folderDaniel2020-06-1613-15/+73
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1024 from ffe4/issue_926Paul Ganssle2020-04-244-1/+47
|\ \ \ \ | |_|/ / |/| | | Fix tz.gettz() not returning local time for empty string
| * | | Added property test for tz.gettz()Daniel Lemm2020-04-242-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current tests only check that `tz.gettz()` and `tz.gettz("")` do the same thing, but not that the thing that they do is equivalent to a local time zone. Defining what is a "local time" is a bit complicated, considering that `tz.gettz()` may return a `tzfile` or a `tzlocal`, and neither of those have the same behavior as Python's built-in local time support via `.astimezone()`. This property test checks only the datetimes and properties that are expected to be the same between the various methods of getting a "local" time zone.
| * | | Fix tz.gettz() behavior with empty stringDaniel Lemm2020-04-243-1/+12
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | The documented behavior of the function is to return a local time zone when the argument is None or an empty string. This was working if the TZ environment variable was set, but not working otherwise. Fixes #925, #926
* | | Merge pull request #986 from timgates42/bugfix/typo_negligiblePaul Ganssle2020-04-243-1/+3
|\ \ \ | | | | | | | | Fix simple typo: negilible -> negligible
| * | | Fix simple typo: negilible -> negligibleTim Gates2020-04-243-1/+3
| | | | | | | | | | | | | | | | Closes GH-985
* | | | Merge pull request #1034 from pganssle/2020aPaul Ganssle2020-04-243-3/+4
|\ \ \ \ | |/ / / |/| | | Update zoneinfo to 2020a
| * | | Update zoneinfo to 2020aPaul Ganssle2020-04-243-3/+4
| | | |
* | | | Merge pull request #1025 from ffe4/docs-rrule-inherited-membersPaul Ganssle2020-04-243-10/+19
|\ \ \ \ | |/ / / |/| | | Document methods in `rrule` module
| * | | Wrap _invalidates_cache decorator to preserve docstringDaniel Lemm2020-04-052-10/+13
| | | | | | | | | | | | | | | | | | | | autodoc will inspect the __doc__ attribute of the method. Since the decorator replaces the original method we use functools.wrap to copy __doc__.
| * | | Docs add autodoc options to document methods in rrule moduleDaniel Lemm2020-04-051-0/+6
|/ / /
| * | Fix tox not running files under docs/Daniel Lemm2020-04-052-2/+4
|/ / | | | | | | | | pytest config includes *_solution.py files for testing the solutions of docs exercises but tox config did not include the docs path where these are located
* | Merge pull request #1026 from hugovk/patch-1Paul Ganssle2020-04-041-8/+8
|\ \ | | | | | | Fix Easter typos