Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .github/workflows/sidequery-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

name: Publish Sidequery PyIceberg

on:
push:
tags:
- sidequery-pyiceberg-v*
workflow_dispatch:
inputs:
version:
description: Distribution version
required: true
default: 0.12.0.post1
type: string

permissions:
contents: read

jobs:
build:
uses: ./.github/workflows/pypi-build-artifacts.yml
with:
VERSION: ${{ inputs.version || '0.12.0.post1' }}

publish:
needs: build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/sidequery-pyiceberg
permissions:
id-token: write
steps:
- name: Download release artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: pypi-release-candidate-${{ inputs.version || '0.12.0.post1' }}
path: dist

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@

# Iceberg Python

> [!NOTE]
> This branch builds the `sidequery-pyiceberg` distribution maintained by Sidequery. It keeps the
> `pyiceberg` import package while adding Sidequery's equality-delete read and write support; it is
> not an Apache PyIceberg release.

PyIceberg is a Python library for programmatic access to Iceberg table metadata as well as to table data in Iceberg format. It is a Python implementation of the [Iceberg table spec](https://iceberg.apache.org/spec/).

The documentation is available at [https://py.iceberg.apache.org/](https://py.iceberg.apache.org/).
Expand Down
2 changes: 1 addition & 1 deletion pyiceberg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

__version__ = "0.12.0"
__version__ = "0.12.0.post1"
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
# specific language governing permissions and limitations
# under the License.
[project]
name = "pyiceberg"
version = "0.12.0"
description = "Apache Iceberg is an open table format for huge analytic datasets"
name = "sidequery-pyiceberg"
version = "0.12.0.post1"
description = "Sidequery's PyIceberg distribution with equality-delete read and write support"
authors = [{ name = "Apache Software Foundation", email = "dev@iceberg.apache.org" }]
maintainers = [{ name = "Sidequery", email = "hello@sidequery.com" }]
requires-python = ">=3.10.0,<4.0.0"
readme = "README.md"
license = "Apache-2.0"
Expand Down Expand Up @@ -48,7 +49,7 @@ dependencies = [

[project.urls]
Homepage = "https://py.iceberg.apache.org/"
Repository = "https://github.com/apache/iceberg-python"
Repository = "https://github.com/sidequery/iceberg-python"

[project.scripts]
pyiceberg = "pyiceberg.cli.console:run"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
def test_version_format() -> None:
from importlib import metadata

installed_version = metadata.version("pyiceberg")
installed_version = metadata.version("sidequery-pyiceberg")

assert __version__ == installed_version, (
f"The installed version ({installed_version}) does not match the current codebase version ({__version__})."
Expand Down
Loading