You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2023/10/16 16:54:06 UTC
[iceberg-python] branch main updated: CI: Remove python working directory (#71)
This is an automated email from the ASF dual-hosted git repository.
blue pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
The following commit(s) were added to refs/heads/main by this push:
new 8f8b622 CI: Remove python working directory (#71)
8f8b622 is described below
commit 8f8b62221906653521b67ff6a4b162b137686591
Author: Fokko Driesprong <fo...@tabular.io>
AuthorDate: Mon Oct 16 18:54:00 2023 +0200
CI: Remove python working directory (#71)
---
.github/workflows/python-release.yml | 6 ++----
mkdocs/docs/contributing.md | 2 +-
mkdocs/docs/how-to-release.md | 4 ++--
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml
index e537dc9..910b7ee 100644
--- a/.github/workflows/python-release.yml
+++ b/.github/workflows/python-release.yml
@@ -25,7 +25,7 @@ on:
version:
description: 'Version'
type: string
- default: 'master'
+ default: 'main'
jobs:
@@ -50,15 +50,13 @@ jobs:
- name: Set version
run: python -m poetry version "${{ inputs.version }}"
- working-directory: ./python
- if: "${{ github.event.inputs.version != 'master' }}"
+ if: "${{ github.event.inputs.version != 'main' }}"
# Publish the source distribution with the version that's in
# the repository, otherwise the tests will fail
- name: Compile source distribution
run: python3 -m poetry build --format=sdist
if: startsWith(matrix.os, 'ubuntu')
- working-directory: ./python
- name: Build wheels
uses: pypa/cibuildwheel@v2.16.2
diff --git a/mkdocs/docs/contributing.md b/mkdocs/docs/contributing.md
index 87a8cc7..3973b76 100644
--- a/mkdocs/docs/contributing.md
+++ b/mkdocs/docs/contributing.md
@@ -43,7 +43,7 @@ If you want to install the library on the host, you can simply run `pip3 install
To set up IDEA with Poetry ([also on Loom](https://www.loom.com/share/6d36464d45f244729d91003e7f671fd2)):
- Open up the Python project in IntelliJ
-- Make sure that you're on latest master (that includes Poetry)
+- Make sure that you're on latest main (that includes Poetry)
- Go to File -> Project Structure (⌘;)
- Go to Platform Settings -> SDKs
- Click the + sign -> Add Python SDK
diff --git a/mkdocs/docs/how-to-release.md b/mkdocs/docs/how-to-release.md
index 32e8744..db8f806 100644
--- a/mkdocs/docs/how-to-release.md
+++ b/mkdocs/docs/how-to-release.md
@@ -54,10 +54,10 @@ Both the source distribution (`sdist`) and the binary distributions (`wheels`) n
Before committing the files to the Apache SVN artifact distribution SVN hashes need to be generated, and those need to be signed with gpg to make sure that they are authentic.
-Go to [Github Actions and run the `Python release` action](https://github.com/apache/iceberg/actions/workflows/python-release.yml). **Set the version to master, since we cannot modify the source**. Download the zip, and sign the files:
+Go to [Github Actions and run the `Python release` action](https://github.com/apache/iceberg/actions/workflows/python-release.yml). **Set the version to main, since we cannot modify the source**. Download the zip, and sign the files:
```bash
-cd release-master/
+cd release-main/
for name in $(ls pyiceberg-*.whl pyiceberg-*.tar.gz)
do