Skip to content

Conversation

@kevinjqliu
Copy link
Contributor

@kevinjqliu kevinjqliu commented Aug 16, 2024

This PR adds support for python 3.12 to the PyIceberg project. It includes building and releasing for python version 3.12.

  • Tested change to python-ci Github Action; works for python 3.12 (Github Action run)
  • Tested change to python-release Github Action; works for python 3.12 (Github Action run via my forked repo)

Pre-req: #1118, update markdown linter to use markdownlint which supports python 3.12
Closes #28

numpy = { version = "^1.22.4", optional = true }
numpy = [
{ version = "1.26.0", python = ">=3.9,<3.13", optional = true },
{ version = "1.24.4", python = ">=3.8,<3.9", optional = true }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3.8 is also almost EOL: https://devguide.python.org/versions/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1121

Created issue to track this

default: true

# MD013/line-length - Line length
MD013: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really dislike fixed length :)

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevinjqliu this looks nice!

@kevinjqliu kevinjqliu force-pushed the kevinjqliu/python-3.12 branch from 421f22a to 3c502d6 Compare September 1, 2024 14:37
@kevinjqliu kevinjqliu changed the title try 3.12 Support python 3.12 Sep 1, 2024
@kevinjqliu kevinjqliu marked this pull request as ready for review September 1, 2024 14:41
@kevinjqliu kevinjqliu requested review from Fokko and sungwy September 3, 2024 17:30
Comment on lines +618 to +619
"ignore:datetime.datetime.utcnow\\(\\) is deprecated and scheduled for removal in a future version.",
"ignore:datetime.datetime.utcfromtimestamp\\(\\) is deprecated and scheduled for removal in a future version.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also create an issue for this one? Would be a good first issue for someone to get started with PyIceberg :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevinjqliu kevinjqliu merged commit f2f428e into apache:main Sep 5, 2024
@kevinjqliu kevinjqliu deleted the kevinjqliu/python-3.12 branch September 5, 2024 18:01
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Dec 7, 2024
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Dec 7, 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.

Add support for Python 3.12

3 participants