Skip to content

Support python 3.12 - #1068

Merged
kevinjqliu merged 1 commit into
apache:mainfrom
kevinjqliu:kevinjqliu/python-3.12
Sep 5, 2024
Merged

Support python 3.12#1068
kevinjqliu merged 1 commit into
apache:mainfrom
kevinjqliu:kevinjqliu/python-3.12

Conversation

@kevinjqliu

@kevinjqliukevinjqliu commented Aug 16, 2024

Copy link
Copy Markdown
Contributor

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

Comment threadpyproject.toml
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
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
ContributorAuthor

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

Comment thread.markdownlint.yaml
default: true

# MD013/line-length - Line length
MD013: false

Copy link
Copy Markdown
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 :)

@FokkoFokko left a comment

Copy link
Copy Markdown
Contributor

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
kevinjqliuforce-pushed the kevinjqliu/python-3.12 branch from 421f22a to 3c502d6CompareSeptember 1, 2024 14:37
@kevinjqliukevinjqliu changed the title try 3.12Support python 3.12Sep 1, 2024
@kevinjqliu
kevinjqliu marked this pull request as ready for review September 1, 2024 14:41
@kevinjqliukevinjqliu mentioned this pull request Sep 1, 2024
Comment threadpyproject.toml
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
Copy Markdown
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
Copy Markdown
ContributorAuthor

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:mainSep 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
@kevinjqliukevinjqliu mentioned this pull request Oct 25, 2025
Sign up for freeto 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

@kevinjqliu@Fokko@ndrluis