Skip to content

Conversation

@martin-g
Copy link
Member

AVRO-3672

What is the purpose of the change

  • Add Python 3.11 to the test matrix

Verifying this change

  • Github Actions build should pass

Documentation

  • Does this pull request introduce a new feature? no

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
/home/runner/work/avro/avro/lang/py/.tox/build/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
@martin-g martin-g force-pushed the avro-3672-python-3.11 branch from 5d101f2 to b9cd5d1 Compare November 14, 2022 11:06
It seems Python 3.11 changed its toString() for classes inheriting (str,
Enum).

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
@martin-g martin-g force-pushed the avro-3672-python-3.11 branch from 3f707df to 25ff146 Compare November 14, 2022 11:36
@martin-g martin-g merged commit 432f073 into master Nov 14, 2022
martin-g added a commit that referenced this pull request Nov 14, 2022
* AVRO-3672: Add CI testing for Python 3.11

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* AVRO-3672: Fix setuptools warning

/home/runner/work/avro/avro/lang/py/.tox/build/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* AVRO-3672: Override __str__ to return the Enum's value

It seems Python 3.11 changed its toString() for classes inheriting (str,
Enum).

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* AVRO-3672: Fix formatting

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
(cherry picked from commit 432f073)
@martin-g martin-g deleted the avro-3672-python-3.11 branch November 14, 2022 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant