Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.13.0 #307

Merged
merged 2 commits into from
Jun 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.12.11
current_version = 0.13.0
files = setup.py cachecontrol/__init__.py docs/conf.py
commit = True
tag = True
2 changes: 1 addition & 1 deletion cachecontrol/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""
__author__ = "Eric Larson"
__email__ = "eric@ionrock.org"
__version__ = "0.12.11"
__version__ = "0.13.0"

from cachecontrol.adapter import CacheControlAdapter
from cachecontrol.controller import CacheController
Expand Down
21 changes: 10 additions & 11 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys, os

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

# General information about the project.
project = u"CacheControl"
copyright = u"2013, Eric Larson"
project = "CacheControl"
copyright = "2013, Eric Larson"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = "0.12.11"
version = "0.13.0"
# The full version, including alpha/beta/rc tags.
release = "0.12.11"
release = "0.13.0"

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

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
Expand Down Expand Up @@ -188,8 +187,8 @@
(
"index",
"CacheControl.tex",
u"CacheControl Documentation",
u"Eric Larson",
"CacheControl Documentation",
"Eric Larson",
"manual",
)
]
Expand Down Expand Up @@ -220,7 +219,7 @@
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
("index", "cachecontrol", u"CacheControl Documentation", [u"Eric Larson"], 1)
("index", "cachecontrol", "CacheControl Documentation", ["Eric Larson"], 1)
]

# If true, show URL addresses after external links.
Expand All @@ -236,8 +235,8 @@
(
"index",
"CacheControl",
u"CacheControl Documentation",
u"Eric Larson",
"CacheControl Documentation",
"Eric Larson",
"CacheControl",
"One line description of project.",
"Miscellaneous",
Expand Down
13 changes: 13 additions & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@
Release Notes
===============

0.13.0
======

The project has been moved to the `PSF <https://github.com/psf>`_ organization.

* Discard the ``strict`` attribute when serializing and deserializing responses.
* Fix the ``IncompleteRead`` error thrown by ``urllib3 2.0``.
* Remove usage of ``utcnow`` in favor of timezone-aware datetimes.
* Remove the ``compat`` module.
* Use Python's ``unittest.mock`` library instead of ``mock``.
* Add type annotations.
* Exclude the ``tests`` directory from the wheel.

0.12.11
=======

Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ license_files =
[tool:pytest]
norecursedirs = bin lib include build

[bdist_wheel]
universal = 1

[mypy]
show_error_codes = true
strict = true
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

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

VERSION = "0.12.11"
VERSION = "0.13.0"

setup_params = dict(
name="CacheControl",
Expand Down