| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \ \ \
| | | | |
| | | | | |
Add GitHub URL for PyPi
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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>
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
ci: Remove the need of upgrading pip/setuptools
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
We were running tox without enabling isolated environment, this was
therefore resulting in tox not using `pyproject.toml`.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
ci: Move docs, build and tz tox env validation to github actions
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Call .decode() only for binary data
|
| | | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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>
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | | |
release: Move to `python-build`
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
PEP517 is deprecated, move to `python-build`. This will additionally
validate the build dependencies, enhancing the CI.
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Add two tests for relativedelta(day=31) for February
|
| | | | | | | |
|
| |/ / / / / |
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
prevent unnessary b' prefix in parse_isodate exception messages
|
| |/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Use already existing variable instead of calling len again
|
| |/ / / / /
| | | | |
| | | | |
| | | | | |
Save an unnecessary len call.
|
| |\ \ \ \ \
| |_|_|/ /
|/| | | | |
ci: Move main interpreter checks to github actions
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \ \
| | | | |
| | | | | |
ci: Fix 3.4 test runs
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| |\ \ \ \ \
| | | | | |
| | | | | | |
Update zoneinfo to 2021a
|
| | |/ / / / |
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
tests: Fix logic on detecting platform support for `-d`
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \ \
| | | | |
| | | | | |
Add Python 3.9 into trove classifiers and CI.
|
| |/ / / / |
|
| |\ \ \ \
| | | | |
| | | | | |
Use "fat" zic binaries in CI tests
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This should be reverted when support for version 2+ TZif files is added
(see GH-1059).
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \ \
| |/ / /
|/| | | |
Fix documentation warning about relative links
|
| |/ / /
| | |
| | |
| | |
| | | |
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.
|
| |\ \ \
| | | |
| | | | |
Fix tox not running files under docs/
|
| | |\ \ \
| |/ / /
|/| | | |
|
| |\ \ \ \
| |_|/ /
|/| | | |
Fix tz.gettz() not returning local time for empty string
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \
| | | |
| | | | |
Fix simple typo: negilible -> negligible
|
| | | | |
| | | |
| | | |
| | | | |
Closes GH-985
|
| |\ \ \ \
| |/ / /
|/| | | |
Update zoneinfo to 2020a
|
| | | | | |
|
| |\ \ \ \
| |/ / /
|/| | | |
Document methods in `rrule` module
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
autodoc will inspect the __doc__ attribute of the method. Since the decorator
replaces the original method we use functools.wrap to copy __doc__.
|
| |/ / / |
|
| |/ /
| |
| |
| |
| | |
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
|
| |\ \
| | |
| | | |
Fix Easter typos
|