This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch pyiceberg-0.5.x
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
The following commit(s) were added to refs/heads/pyiceberg-0.5.x by this push:
new 7c9069a CI: Remove python working directory (#71)
7c9069a is described below
commit 7c9069ac3603b4829d995df16b2f0d9379a8c333
Author: Fokko Driesprong <[email protected]>
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 6902775..2c7a375 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/[email protected]
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