Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Python 3.13 #298

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft

Test Python 3.13 #298

wants to merge 1 commit into from

Conversation

dolfinus
Copy link
Member

@dolfinus dolfinus commented Jul 27, 2024

Change Summary

Python 3.13 does not allow inheritance like A -> B, A -> C, B+C -> D, this leads to raising error TypeError: multiple bases have instance lay-out conflict.
This was used in 2 cases - mixin classes based on Pydantic models, and inheritance schema like Options(ReadOptions, WriteOptions), ReadWriteFormat(ReadOnlyFormat, WriteOnlyFormat). Replaced with copy-paste of original classes content.

Core tests are failing because PyArrow (dependency of PySpark) does not currently provide apache/arrow#43343 apache/arrow#43519 wheels for Python 3.13.

Related issue number

Checklist

  • Commit message and PR title is comprehensive
  • Keep the change as small as possible
  • Unit and integration tests for the changes exist
  • Tests pass on CI and coverage does not decrease
  • Documentation reflects the changes where applicable
  • docs/changelog/next_release/<pull request or issue id>.<change type>.rst file added describing change
    (see CONTRIBUTING.rst for details.)
  • My PR is ready to review.

@dolfinus dolfinus self-assigned this Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant