Skip to content

Commit ba511f1

Browse files
committed
Support cachecontrol 0.13
1 parent 95c82f7 commit ba511f1

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
v1.2.0 (in development)
1+
v1.1.1 (in development)
22
-----------------------
33
- Support Python 3.11
4+
- Support cachecontrol 0.13
45

56
v1.1.0 (2021-11-08)
67
-------------------

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Changelog
66
v1.2.0 (in development)
77
-----------------------
88
- Support Python 3.11
9+
- Support cachecontrol 0.13
910

1011

1112
v1.1.0 (2021-11-08)

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ package_dir =
4545
include_package_data = True
4646
python_requires = >=3.7
4747
install_requires =
48-
cachecontrol[filecache] ~= 0.12.0
48+
cachecontrol[filecache] >= 0.12, < 0.14
4949
click >= 8.0
5050
platformdirs ~= 2.1
5151
pydantic ~= 1.7

src/pyversion_info/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
from __future__ import annotations
2121

22-
__version__ = "1.2.0.dev1"
22+
__version__ = "1.1.1.dev1"
2323
__author__ = "John Thorvald Wodder II"
2424
__author_email__ = "pyversion-info@varonathe.org"
2525
__license__ = "MIT"
@@ -92,7 +92,7 @@ def fetch(
9292
"""
9393
s = requests.Session()
9494
if cache_dir is not None:
95-
s = CacheControl(s, cache=FileCache(cache_dir))
95+
s = CacheControl(s, cache=FileCache(str(cache_dir)))
9696
with s:
9797
r = s.get(url)
9898
r.raise_for_status()

0 commit comments

Comments
 (0)