diff --git a/pyproject.toml b/pyproject.toml index 289b9a0..56016cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,8 @@ classifiers = [ "Programming Language :: Python :: 3.11", ] dependencies = [ - "holidays>=0.16", + "holidays>=0.16,<0.28;python_version<'3.8'", + "holidays>=0.16;python_version>='3.8'", "pytz>=2022.7.1", "python-dateutil", ] diff --git a/requirements.txt b/requirements.txt index af4603d..6986560 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,15 +2,16 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile requirements.in +# pip-compile '.\requirements.in' # -holidays==0.27.1 - # via -r requirements.in +holidays<0.28 ; python_version < "3.8" +holidays>=0.28 ; python_version >= "3.8" + # via -r .\requirements.in python-dateutil==2.8.2 # via - # -r requirements.in + # -r .\requirements.in # holidays pytz==2023.3 - # via -r requirements.in + # via -r .\requirements.in six==1.16.0 # via python-dateutil