./time/py-tempora, Objects and routines pertaining to date and time

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 5.5.1, Package name: py311-tempora-5.5.1, Maintainer: pkgsrc-users

Objects and routines pertaining to date and time (tempora).

Modules include:
- tempora (top level package module) contains miscellaneous
utilities and constants.
- timing contains routines for measuring and profiling.
- schedule contains an event scheduler.


Required to run:
[time/py-pytz] [devel/py-jaraco.functools] [lang/python310]

Master sites:

Filesize: 20.649 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-19 12:23:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tempora: updated to 5.5.1

v5.5.1

Bugfixes

- Remove test dependency on backports.unittest_mock.
   2023-11-28 18:16:45 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-tempora: fix path to devel/py-test-freezer
   2023-11-28 18:15:22 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-tempora: updated to 5.5.0

v5.5.0

Features

- Stopwatch now uses ``time.monotonic``.

v5.4.0

Features

- Require Python 3.8 or later.

v5.3.0

Removed use of ``datetime.utc**`` functions
deprecated in Python 3.12.

v5.2.2

Fixed bug in tests that would fail when a leap year
was about a year away.

v5.2.1

Restored dependency on ``jaraco.functools``, still
used in timing module.

v5.2.0

Remove dependency on jaraco.functools.

v5.1.1

Packaging refresh.

v5.1.0

Introduced ``infer_datetime`` and added some type hints.
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2022-11-16 23:54:12 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-tempora: add missing tool dependency
   2022-11-06 19:18:38 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-tempora: updated to 5.0.2

v5.0.2
======
- Refreshed project.
- Enrolled with Tidelift.

v5.0.1
======
- Refreshed project.

v5.0.0
======
- Removed deprecated ``divide_*`` functions and ``Parser``
  class.
- Require Python 3.7 or later.
- Fixed error reporting in parse_timedelta.

v4.1.2
======
- Docs now build without warnings.

v4.1.1
======
- Fixed issue where digits were picked up in the unit when
  adjacent to the last unit.

v4.1.0
======
- Added support for more formats in ``parse_timedelta``.
- ``parse_timedelta`` now supports formats emitted by
  ``timeit``, including honoring nanoseconds at the
  microsecond resolution.

v4.0.2
======
- Refreshed package metadata.

v4.0.1
======
- Refreshed package metadata.

v4.0.0
======
- Removed ``strptime`` function in favor of
  `datetime.datetime.strptime \ 
<https://docs.python.org/3/library/datetime.html#datetime.datetime.strptime>`_. \ 
If passing
  a ``tzinfo`` parameter, instead invoke `.replace(tzinfo=...)`
  on the result.
- Deprecated ``divide_timedelta`` and ``divide_timedelta_float``
  now that Python supports this functionality natively.
- Deprecated ``Parser`` class. The
  `dateutil.parser <https://dateutil.readthedocs.io/en/stable/parser.html>`_
  provides more sophistication.
   2022-05-12 10:20:36 by Thomas Klausner | Files touched by this commit (4)
Log message:
*: fix == vs. != confusion

Reported by adam
   2022-05-12 10:05:29 by Thomas Klausner | Files touched by this commit (4)
Log message:
*: do not use py-freezegun with python 2.7