From 4b47a5b6ba66b02df9392feb97b8ead916f8c1fa Mon Sep 17 00:00:00 2001
From: Ned Deily <nad@python.org>
Date: Sat, 27 Jun 2020 04:35:53 -0400
Subject: [PATCH] 3.7.8

---
 Include/patchlevel.h                          |  6 +++---
 Misc/NEWS.d/3.7.8.rst                         | 21 +++++++++++++++++++
 .../2020-06-17-17-27-07.bpo-41009.Rvn6OQ.rst  |  2 --
 .../2020-06-24-13-51-57.bpo-41100.mcHdc5.rst  |  1 -
 README.rst                                    |  4 ++--
 5 files changed, 26 insertions(+), 8 deletions(-)
 create mode 100644 Misc/NEWS.d/3.7.8.rst
 delete mode 100644 Misc/NEWS.d/next/Tests/2020-06-17-17-27-07.bpo-41009.Rvn6OQ.rst
 delete mode 100644 Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst

diff --git a/Include/patchlevel.h b/Include/patchlevel.h
index 17d537092b4..c1bdb834d63 100644
--- a/Include/patchlevel.h
+++ b/Include/patchlevel.h
@@ -19,11 +19,11 @@
 #define PY_MAJOR_VERSION        3
 #define PY_MINOR_VERSION        7
 #define PY_MICRO_VERSION        8
-#define PY_RELEASE_LEVEL        PY_RELEASE_LEVEL_GAMMA
-#define PY_RELEASE_SERIAL       1
+#define PY_RELEASE_LEVEL        PY_RELEASE_LEVEL_FINAL
+#define PY_RELEASE_SERIAL       0
 
 /* Version as a string */
-#define PY_VERSION              "3.7.8rc1+"
+#define PY_VERSION              "3.7.8"
 /*--end constants--*/
 
 /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
diff --git a/Misc/NEWS.d/3.7.8.rst b/Misc/NEWS.d/3.7.8.rst
new file mode 100644
index 00000000000..678d1c01996
--- /dev/null
+++ b/Misc/NEWS.d/3.7.8.rst
@@ -0,0 +1,21 @@
+.. bpo: 41009
+.. date: 2020-06-17-17-27-07
+.. nonce: Rvn6OQ
+.. release date: 2020-06-27
+.. section: Tests
+
+Fix use of ``support.require_{linux|mac|freebsd}_version()`` decorators as
+class decorator.
+
+..
+
+.. bpo: 41100
+.. date: 2020-06-24-13-51-57
+.. nonce: mcHdc5
+.. section: macOS
+
+Fix configure error when building on macOS 11. Note that 3.7.8 was released
+shortly after the first developer preview of macOS 11 (Big Sur); there are
+other known issues with building and running on the developer preview. Big
+Sur is expected to be fully supported in a future bugfix release of Python
+3.8.x and with 3.9.0.
diff --git a/Misc/NEWS.d/next/Tests/2020-06-17-17-27-07.bpo-41009.Rvn6OQ.rst b/Misc/NEWS.d/next/Tests/2020-06-17-17-27-07.bpo-41009.Rvn6OQ.rst
deleted file mode 100644
index 1208c119a35..00000000000
--- a/Misc/NEWS.d/next/Tests/2020-06-17-17-27-07.bpo-41009.Rvn6OQ.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fix use of ``support.require_{linux|mac|freebsd}_version()`` decorators as
-class decorator.
diff --git a/Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst b/Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst
deleted file mode 100644
index ded66b567a9..00000000000
--- a/Misc/NEWS.d/next/macOS/2020-06-24-13-51-57.bpo-41100.mcHdc5.rst
+++ /dev/null
@@ -1 +0,0 @@
-Support macOS 11 when building.
diff --git a/README.rst b/README.rst
index 507b6c46b7a..557078399cf 100644
--- a/README.rst
+++ b/README.rst
@@ -1,5 +1,5 @@
-This is Python version 3.7.8 candidate 1+
-=========================================
+This is Python version 3.7.8
+============================
 
 .. image:: https://travis-ci.org/python/cpython.svg?branch=3.7
    :alt: CPython build status on Travis CI
-- 
GitLab