Skip to content

Commit

Permalink
Remove dependency on jaraco.functools.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jan 2, 2023
1 parent 335dfcb commit 6485c74
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
@@ -1,3 +1,8 @@
v5.2.0
======

Remove dependency on jaraco.functools.

v5.1.1
======

Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Expand Up @@ -18,7 +18,6 @@ include_package_data = true
python_requires = >=3.7
install_requires =
pytz
jaraco.functools>=1.20

[options.packages.find]
exclude =
Expand Down
5 changes: 1 addition & 4 deletions tempora/__init__.py
Expand Up @@ -11,9 +11,6 @@
from typing import cast


from jaraco.functools import once


# some useful constants
osc_per_year = 290_091_329_207_984_000
"""
Expand All @@ -36,7 +33,7 @@
hours_per_month = hours_per_day * days_per_year / 12


@once
@functools.lru_cache()
def _needs_year_help() -> bool:
"""
Some versions of Python render %Y with only three characters :(
Expand Down

0 comments on commit 6485c74

Please sign in to comment.