Skip to content

Commit

Permalink
Merge pull request #73 from pganssle/version_0.1.0
Browse files Browse the repository at this point in the history
Version 0.1.0 + CHANGELOG.rst
  • Loading branch information
pganssle authored May 27, 2020
2 parents 0ba6f18 + b22a330 commit e3ca866
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 2 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Version 0.1.0 (2020-05-26)
==========================

This is the first public release of ``backports.zoneinfo``. It contains all the
features from the ``zoneinfo`` release in Python 3.9.0b1, with the following
changes:

- Added support for Python 3.6, 3.7 and 3.8 (:gh-pr:`69`, :gh-pr:`70`).
- The module is in the ``backports`` namespace rather than ``zoneinfo``.
- There is no support for compile-time configuration of ``TZPATH``.
- Fixed use-after-free in the ``module_free`` function (:bpo:`40705`,
:gh-pr:`69`).
- Minor refactoring to the C extension to avoid compiler warnings
(:bpo:`40686`, :bpo:`40714`, :cpython-pr:`20342`, :gh-pr:`72`).
- Removed unused imports, unused variables and other minor de-linting
(:gh-pr:`71`).
7 changes: 7 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. Changelog transcluded from the changelog at the repo root
=========
Changelog
=========

.. include:: ../CHANGELOG.rst
17 changes: 16 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ def get_version():
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["sphinx.ext.intersphinx"]
extensions = [
"sphinx.ext.intersphinx",
"sphinx.ext.extlinks",
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand All @@ -61,3 +64,15 @@ def get_version():

# For cross-links to other documentation
intersphinx_mapping = {"python": ("https://docs.python.org/3.9", None)}

# This config value must be a dictionary of external sites, mapping unique
# short alias names to a base URL and a prefix.
# See http://sphinx-doc.org/ext/extlinks.html
_repo = "https://github.com/pganssle/zoneinfo/"
extlinks = {
"gh": (_repo + "issues/%s", "GH-"),
"gh-pr": (_repo + "pull/%s", "GH-"),
"pypi": ("https://pypi.org/project/%s", ""),
"bpo": ("https://bugs.python.org/issue%s", "bpo-"),
"cpython-pr": ("https://github.com/python/cpython/pull/%s", "CPython PR #"),
}
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Contents:
:maxdepth: 1

zoneinfo
changelog
maintaining


Expand Down
2 changes: 1 addition & 1 deletion src/backports/zoneinfo/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.0b1"
__version__ = "0.1.0"

0 comments on commit e3ca866

Please sign in to comment.