From 2c1440d801d29049e8d913c58b3a7fbd891ecdc5 Mon Sep 17 00:00:00 2001
From: Geir Arne Hjelle <geirarne@gmail.com>
Date: Tue, 8 Nov 2022 08:24:29 +0100
Subject: [PATCH 1/2] Drop explicit Python 3.6 support

---
 .github/workflows/unit_tests.yml | 5 ++---
 pyproject.toml                   | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml
index 5654743..6caf8c3 100644
--- a/.github/workflows/unit_tests.yml
+++ b/.github/workflows/unit_tests.yml
@@ -9,13 +9,12 @@ jobs:
       fail-fast: false
       matrix:
         include:
-          - {name: Linux36, python: '3.6', os: ubuntu-latest, tox: py36}
           - {name: Linux37, python: '3.7', os: ubuntu-latest, tox: py37}
           - {name: Linux38, python: '3.8', os: ubuntu-latest, tox: py38}
           - {name: Linux39, python: '3.9', os: ubuntu-latest, tox: py39}
           - {name: Linux310, python: '3.10', os: ubuntu-latest, tox: py310}
-          - {name: Linux311, python: '3.11.0-beta.5', os: ubuntu-latest, tox: py311}
-          - {name: Style, python: '3.10', os: ubuntu-latest, tox: style}
+          - {name: Linux311, python: '3.11', os: ubuntu-latest, tox: py311}
+          - {name: Style, python: '3.11', os: ubuntu-latest, tox: style}
     steps:
     - uses: actions/checkout@v2
     - uses: actions/setup-python@v2
diff --git a/pyproject.toml b/pyproject.toml
index 7ac01fc..e9ddd8f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -18,7 +18,6 @@ classifiers = [
     "Operating System :: MacOS",
     "Operating System :: Microsoft",
     "Operating System :: POSIX :: Linux",
-    "Programming Language :: Python :: 3.6",
     "Programming Language :: Python :: 3.7",
     "Programming Language :: Python :: 3.8",
     "Programming Language :: Python :: 3.9",
@@ -30,8 +29,8 @@ classifiers = [
     "Typing :: Typed",
 ]
 keywords = ["timer", "class", "contextmanager", "decorator"]
-requires-python = ">=3.6"
-dependencies = ["dataclasses; python_version < '3.7'"]
+requires-python = ">=3.7"
+dependencies = []
 
 [project.urls]
 Homepage      = "https://realpython.com/python-timer"

From ced4aa8f59dd97b28d58c2c2d1e144a42cbc0c78 Mon Sep 17 00:00:00 2001
From: Geir Arne Hjelle <geirarne@gmail.com>
Date: Tue, 8 Nov 2022 08:34:04 +0100
Subject: [PATCH 2/2] Add note in changelog

---
 CHANGELOG.md | 35 ++++++++++++++++++++---------------
 1 file changed, 20 insertions(+), 15 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index cb4f68b..8a63480 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 
 ## [Unreleased]
 
+### Changed
+
+- Drop explicit support for Python 3.6 ([#48])
+
 ## [1.4.0] - 2022-11-08
 
 ### Added
@@ -73,19 +77,20 @@ Initial version of `codetiming`. Version 1.0.0 corresponds to the code in the tu
 [1.1.0]: https://github.com/realpython/codetiming/compare/v1.0.0...v1.1.0
 [1.0.0]: https://github.com/realpython/codetiming/releases/tag/v1.0.0
 
-[#13]: https://github.com/realpython/codetiming/pull/13
-[#17]: https://github.com/realpython/codetiming/pull/17
-[#18]: https://github.com/realpython/codetiming/pull/18
-[#23]: https://github.com/realpython/codetiming/pull/23
-[#24]: https://github.com/realpython/codetiming/issues/24
-[#25]: https://github.com/realpython/codetiming/pull/25
-[#27]: https://github.com/realpython/codetiming/pull/27
-[#29]: https://github.com/realpython/codetiming/issues/29
-[#30]: https://github.com/realpython/codetiming/pull/30
-[#32]: https://github.com/realpython/codetiming/pull/32
-[#33]: https://github.com/realpython/codetiming/pull/33
-[#34]: https://github.com/realpython/codetiming/pull/34
-[#35]: https://github.com/realpython/codetiming/pull/35
-[#38]: https://github.com/realpython/codetiming/pull/38
-[#46]: https://github.com/realpython/codetiming/pull/46
+[#48]: https://github.com/realpython/codetiming/pull/48
 [#47]: https://github.com/realpython/codetiming/pull/47
+[#46]: https://github.com/realpython/codetiming/pull/46
+[#38]: https://github.com/realpython/codetiming/pull/38
+[#35]: https://github.com/realpython/codetiming/pull/35
+[#34]: https://github.com/realpython/codetiming/pull/34
+[#33]: https://github.com/realpython/codetiming/pull/33
+[#32]: https://github.com/realpython/codetiming/pull/32
+[#30]: https://github.com/realpython/codetiming/pull/30
+[#29]: https://github.com/realpython/codetiming/issues/29
+[#27]: https://github.com/realpython/codetiming/pull/27
+[#25]: https://github.com/realpython/codetiming/pull/25
+[#24]: https://github.com/realpython/codetiming/issues/24
+[#23]: https://github.com/realpython/codetiming/pull/23
+[#18]: https://github.com/realpython/codetiming/pull/18
+[#17]: https://github.com/realpython/codetiming/pull/17
+[#13]: https://github.com/realpython/codetiming/pull/13
