Repository: jpmorganchase/py-avro-schema (language: python)

Issue:
Test and build for Python 3.11.0 (final)
Currently, tests are configured to fail (with warnings) under Python 3.11. Once Python 3.11.0 has been released this need to change.


Discussion / hints:
Python 3.11 release schedule: https://peps.python.org/pep-0664/

Currently scheduled for ~2022-10-03~ 2022-10-24.
Python 3.11 now available in GH Actions: https://github.com/actions/python-versions/releases/tag/3.11.0-3320066239 and here https://github.com/actions/python-versions/pull/193

Fix patch:
diff --git a/tox.ini b/tox.ini
index c8a73d6..b04f841 100644
--- a/tox.ini
+++ b/tox.ini
@@ -24,8 +24,8 @@ python =
   3.7: py37
   3.8: py38
   3.9: py39
-  3.10: py310, linting, docs
-  3.11: py311
+  3.10: py310
+  3.11: py311, linting, docs
 
 [testenv]
 # Base test environment
@@ -66,10 +66,3 @@ extras =
 commands =
   # Command exactly as executed on readthedocs.org. See https://readthedocs.org/projects/py-avro-schema/builds/.
   python -m sphinx -T -E -W --keep-going -b html -d {toxinidir}{/}docs{/}_build{/}doctrees -D language=en {toxinidir}{/}docs {toxinidir}{/}docs{/}_build{/}html
-
-[testenv:py311]
-# Overrides for Python 3.11 (dev) test environment
-# TODO: remove entire section once Python 3.11 is released (September 2022)
-
-# Allow tests for alpha/beta Python release to fail. Show warnings only.
-ignore_outcome = true


Test patch:
diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml
index 300d7b9..bbdaf82 100644
--- a/.github/workflows/test-package.yml
+++ b/.github/workflows/test-package.yml
@@ -31,7 +31,7 @@ jobs:
           - '3.8'
           - '3.9'
           - '3.10'
-          - '3.11-dev'
+          - '3.11'
 
     steps:
       - uses: actions/checkout@v1