This is an automated email from the ASF dual-hosted git repository. yufei pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push: new b3a429909 Remove "unused" files in client/python (#1678) b3a429909 is described below commit b3a429909390dc2de4b3b3bc5608e467472e7ca5 Author: JB Onofré <jbono...@apache.org> AuthorDate: Sat Jun 7 02:40:31 2025 +0200 Remove "unused" files in client/python (#1678) --- client/python/.github/workflows/python.yml | 57 ------------------------------ client/python/.gitlab-ci.yml | 50 -------------------------- client/python/.openapi-generator-ignore | 2 -- client/python/.openapi-generator/FILES | 1 - client/python/.travis.yml | 36 ------------------- 5 files changed, 146 deletions(-) diff --git a/client/python/.github/workflows/python.yml b/client/python/.github/workflows/python.yml deleted file mode 100644 index b8f1ad9c4..000000000 --- a/client/python/.github/workflows/python.yml +++ /dev/null @@ -1,57 +0,0 @@ -# -# 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. -# - -# NOTE: This file is auto generated by OpenAPI Generator. -# URL: https://openapi-generator.tech -# -# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python - -name: polaris.catalog Python package - -on: [push, pull_request] - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] - - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install flake8 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi - - name: Lint with flake8 - run: | - # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - name: Test with pytest - run: | - pytest diff --git a/client/python/.gitlab-ci.yml b/client/python/.gitlab-ci.yml deleted file mode 100644 index 6202886e2..000000000 --- a/client/python/.gitlab-ci.yml +++ /dev/null @@ -1,50 +0,0 @@ -# -# 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. -# - -# NOTE: This file is auto generated by OpenAPI Generator. -# URL: https://openapi-generator.tech -# -# ref: https://docs.gitlab.com/ee/ci/README.html -# ref: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml - -stages: - - test - -.pytest: - stage: test - script: - - pip install -r requirements.txt - - pip install -r test-requirements.txt - - pytest --cov=polaris.catalog - -pytest-3.7: - extends: .pytest - image: python:3.13-alpine -pytest-3.8: - extends: .pytest - image: python:3.13-alpine -pytest-3.9: - extends: .pytest - image: python:3.13-alpine -pytest-3.10: - extends: .pytest - image: python:3.13-alpine -pytest-3.11: - extends: .pytest - image: python:3.13-alpine diff --git a/client/python/.openapi-generator-ignore b/client/python/.openapi-generator-ignore index b957d63f0..b77833f06 100644 --- a/client/python/.openapi-generator-ignore +++ b/client/python/.openapi-generator-ignore @@ -41,8 +41,6 @@ # Then explicitly reverse the ignore rule for a single file: #!docs/README.md -.github/workflows/python.yml -.gitlab-ci.yml pyproject.toml requirements.txt test-requirements.txt diff --git a/client/python/.openapi-generator/FILES b/client/python/.openapi-generator/FILES index c76780252..80e924426 100644 --- a/client/python/.openapi-generator/FILES +++ b/client/python/.openapi-generator/FILES @@ -1,5 +1,4 @@ .gitignore -.travis.yml README.md docs/AddPartitionSpecUpdate.md docs/AddSchemaUpdate.md diff --git a/client/python/.travis.yml b/client/python/.travis.yml deleted file mode 100644 index 3761366ee..000000000 --- a/client/python/.travis.yml +++ /dev/null @@ -1,36 +0,0 @@ -# -# 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. -# - -# ref: https://docs.travis-ci.com/user/languages/python -language: python -python: - - "3.8" - - "3.9" - - "3.10" - - "3.11" - - "3.12" - # uncomment the following if needed - #- "3.12-dev" # 3.12 development branch - #- "nightly" # nightly build -# command to install dependencies -install: - - "pip install -r requirements.txt" - - "pip install -r test-requirements.txt" -# command to run tests -script: pytest --cov=polaris.catalog