Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.15.8
->==1.3.0
Release Notes
arrow-py/arrow (arrow)
v1.3.0
Compare Source
types-python-dateutil
to improve Arrow mypy compatibility.PR #​1102 <https://github.com/arrow-py/arrow/pull/1102>
_setup.py
/Twine topyproject.toml
/Flit for packaging and distribution..readthedocs.yaml
configuration file for continued ReadTheDocs support.v1.2.3
Compare Source
v1.2.2
Compare Source
dehumanize
.xelatex
for pdf generation in documentation.requirements.txt
,requirements-docs.txt
andrequirements-tests.txt
.flake8-annotations
package for type linting inpre-commit
.v1.2.1
Compare Source
.. code-block:: python
humanize
now raises aValueError
.v1.2.0
Compare Source
Decimal
as input toarrow.get()
.dehumanize
.A
andhh
.v1.1.1
Compare Source
arrow.get()
should now properly pass thetzinfo
argument to the Arrow constructor. See PR#​968 <https://github.com/arrow-py/arrow/pull/968/>
_ for more info._format_timeframe()
.requirements.txt
torequirements-dev.txt
to prevent confusion with the dependencies insetup.py
.v1.1.0
Compare Source
dehumanize
method forArrow
objects. This takes human readable input and uses it to perform relative time shifts, for example:.. code-block:: python
span("week")
, for example:.. code-block:: python
"en-gb"
) rather than an underscore ("en_gb"
) however this change is backward compatible._init_subclass
. This now allows subclassing of locales, for example:.. code-block:: python
arrow.get(2021, 3, 9)
construction.v1.0.3
Compare Source
mypy --strict
.humanize
month tests are fixed.v1.0.2
Compare Source
OverflowError
that could occur when running Arrow on a 32-bit OS.v1.0.1
Compare Source
py.typed
file is now bundled with the Arrow package to conform to PEP 561.v1.0.0
Compare Source
After 8 years we're pleased to announce Arrow v1.0. Thanks to the entire Python community for helping make Arrow the amazing package it is today!
migration guide <https://github.com/arrow-py/arrow/issues/832>
_ for a complete overview.semantic versioning <https://semver.org/>
_.humanize
granularity="auto" limits more accurate to reduce strange results.span
,span_range
andinterval
methods. This makes timespans begin at the start time given and not extend beyond the end time given, for example:.. code-block:: python
v0.17.0
Compare Source
.. code-block:: python
.. code-block:: python
humanize
week granularity translation for Tagalog.timestamp
property now emit aDeprecationWarning
. In a future release,timestamp
will be changed to a method to align with Python's datetime module. If you would like to continue using the property, please change your code to use theint_timestamp
orfloat_timestamp
properties instead.Arrow.range()
to incorrectly cut off ranges in certain scenarios when using month, quarter, or year endings.v0.16.0
Compare Source
PEP 495 <https://www.python.org/dev/peps/pep-0495/>
_ to handle ambiguous datetimes. This is achieved by the addition of thefold
attribute for Arrow objects. For example:.. code-block:: python
normalize_whitespace
flag toarrow.get
. This is useful for parsing log files and/or any files that may contain inconsistent spacing. For example:.. code-block:: python
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.