Repository: sourcery-ai/sourcery-rules-generator (language: python)

Issue:
Support Python versions under 3.10
Probably 3.6 ---> 3.9 ?

Prerequisite
--------------

* #1



Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8e7934f..95d770c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,9 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+## [0.3.3] - 2022-12-21
+
 ### Added
 
-* Tests with tox
+* Tests with tox [GH-1](https://github.com/sourcery-ai/sourcery-rules-generator/issues/1)
+* Support Python 3.9 [GH-2](https://github.com/sourcery-ai/sourcery-rules-generator/issues/2)
  
 ## [0.3.2] - 2022-12-16
 
diff --git a/poetry.lock b/poetry.lock
index 927d243..a5bdf41 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -27,6 +27,7 @@ mypy-extensions = ">=0.4.3"
 pathspec = ">=0.9.0"
 platformdirs = ">=2"
 tomli = {version = ">=1.1.0", markers = "python_full_version < \"3.11.0a7\""}
+typing-extensions = {version = ">=3.10.0.0", markers = "python_version < \"3.10\""}
 
 [package.extras]
 colorama = ["colorama (>=0.4.3)"]
@@ -448,8 +449,8 @@ testing = ["coverage (>=6.2)", "coverage-enable-subprocess (>=1)", "flaky (>=3.7
 
 [metadata]
 lock-version = "1.1"
-python-versions = "^3.10"
-content-hash = "a5faf3088e8088bbecec19fbe34f148dc8fd4f80c27d182f820098ab3fdac842"
+python-versions = "^3.9"
+content-hash = "3e2942fbaa6b84953cb84726d18fd77c550d4dab1d336d561a9bfa5f4b5db529"
 
 [metadata.files]
 attrs = [
diff --git a/pyproject.toml b/pyproject.toml
index eeecaf5..47431b3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "sourcery-rules-generator"
-version = "0.3.2"
+version = "0.3.3"
 description = "Generate architecture rules for Python projects."
 license = "MIT"
 authors = ["reka <reka@sourcery.ai>"]
@@ -17,7 +17,7 @@ classifiers = [
 sourcery-rules = "sourcery_rules_generator.cli.cli:app"
 
 [tool.poetry.dependencies]
-python = "^3.10"
+python = "^3.9"
 typer = {extras = ["all"], version = "0.7.0"}
 rich = "^12.6.0"
 pydantic = "^1.10.2"
@@ -40,7 +40,7 @@ profile = "black"
 legacy_tox_ini = """
 [tox]
 isolated_build = true
-envlist = py310,py311
+envlist = py39,py310,py311
 
 [testenv]
 allowlist_externals = poetry
diff --git a/sourcery_rules_generator/__init__.py b/sourcery_rules_generator/__init__.py
index f9aa3e1..e19434e 100644
--- a/sourcery_rules_generator/__init__.py
+++ b/sourcery_rules_generator/__init__.py
@@ -1,1 +1,1 @@
-__version__ = "0.3.2"
+__version__ = "0.3.3"


Test patch:
diff --git a/tests/test_version.py b/tests/test_version.py
index e187d51..22316bb 100644
--- a/tests/test_version.py
+++ b/tests/test_version.py
@@ -2,4 +2,4 @@
 
 
 def test_version():
-    assert __version__ == "0.3.2"
+    assert __version__ == "0.3.3"