Skip to content

Commit 71e071c

Browse files
authored
chore: Release 0.13.0 (#307)
1 parent 93544ed commit 71e071c

File tree

6 files changed

+26
-17
lines changed

6 files changed

+26
-17
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.12.11
2+
current_version = 0.13.0
33
files = setup.py cachecontrol/__init__.py docs/conf.py
44
commit = True
55
tag = True

cachecontrol/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"""
99
__author__ = "Eric Larson"
1010
__email__ = "[email protected]"
11-
__version__ = "0.12.11"
11+
__version__ = "0.13.0"
1212

1313
from cachecontrol.adapter import CacheControlAdapter
1414
from cachecontrol.controller import CacheController

docs/conf.py

+10-11
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# All configuration values have a default; values that are commented out
1616
# serve to show the default.
1717

18-
import sys, os
1918

2019
# If extensions (or modules to document with autodoc) are in another directory,
2120
# add these directories to sys.path here. If the directory is relative to the
@@ -44,17 +43,17 @@
4443
master_doc = "index"
4544

4645
# General information about the project.
47-
project = u"CacheControl"
48-
copyright = u"2013, Eric Larson"
46+
project = "CacheControl"
47+
copyright = "2013, Eric Larson"
4948

5049
# The version info for the project you're documenting, acts as replacement for
5150
# |version| and |release|, also used in various other places throughout the
5251
# built documents.
5352
#
5453
# The short X.Y version.
55-
version = "0.12.11"
54+
version = "0.13.0"
5655
# The full version, including alpha/beta/rc tags.
57-
release = "0.12.11"
56+
release = "0.13.0"
5857

5958
# The language for content autogenerated by Sphinx. Refer to documentation
6059
# for a list of supported languages.
@@ -124,7 +123,7 @@
124123
# Add any paths that contain custom static files (such as style sheets) here,
125124
# relative to this directory. They are copied after the builtin static files,
126125
# so a file named "default.css" will overwrite the builtin "default.css".
127-
html_static_path = ["_static"]
126+
# html_static_path = ["_static"]
128127

129128
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
130129
# using the given strftime format.
@@ -188,8 +187,8 @@
188187
(
189188
"index",
190189
"CacheControl.tex",
191-
u"CacheControl Documentation",
192-
u"Eric Larson",
190+
"CacheControl Documentation",
191+
"Eric Larson",
193192
"manual",
194193
)
195194
]
@@ -220,7 +219,7 @@
220219
# One entry per manual page. List of tuples
221220
# (source start file, name, description, authors, manual section).
222221
man_pages = [
223-
("index", "cachecontrol", u"CacheControl Documentation", [u"Eric Larson"], 1)
222+
("index", "cachecontrol", "CacheControl Documentation", ["Eric Larson"], 1)
224223
]
225224

226225
# If true, show URL addresses after external links.
@@ -236,8 +235,8 @@
236235
(
237236
"index",
238237
"CacheControl",
239-
u"CacheControl Documentation",
240-
u"Eric Larson",
238+
"CacheControl Documentation",
239+
"Eric Larson",
241240
"CacheControl",
242241
"One line description of project.",
243242
"Miscellaneous",

docs/release_notes.rst

+13
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@
77
Release Notes
88
===============
99

10+
0.13.0
11+
======
12+
13+
The project has been moved to the `PSF <https://github.com/psf>`_ organization.
14+
15+
* Discard the ``strict`` attribute when serializing and deserializing responses.
16+
* Fix the ``IncompleteRead`` error thrown by ``urllib3 2.0``.
17+
* Remove usage of ``utcnow`` in favor of timezone-aware datetimes.
18+
* Remove the ``compat`` module.
19+
* Use Python's ``unittest.mock`` library instead of ``mock``.
20+
* Add type annotations.
21+
* Exclude the ``tests`` directory from the wheel.
22+
1023
0.12.11
1124
=======
1225

setup.cfg

-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ license_files =
99
[tool:pytest]
1010
norecursedirs = bin lib include build
1111

12-
[bdist_wheel]
13-
universal = 1
14-
1512
[mypy]
1613
show_error_codes = true
1714
strict = true

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
long_description = open("README.rst").read()
88

9-
VERSION = "0.12.11"
9+
VERSION = "0.13.0"
1010

1111
setup_params = dict(
1212
name="CacheControl",

0 commit comments

Comments
 (0)