diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 36ce8e8..a0d4d5f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,13 +23,13 @@ jobs: - runner: macos-13-xlarge os: darwin arch: arm64 - - runner: windows-2019 + - runner: windows-2022 os: windows arch: amd64 - runner: ubuntu-22.04 os: linux arch: amd64 - - runner: buildjet-2vcpu-ubuntu-2204-arm + - runner: ubuntu-22.04-arm os: linux arch: arm64 @@ -38,19 +38,10 @@ jobs: cli_version: ${{ steps.cli_version.outputs.cli_version }} steps: - name: Check out Git repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - - name: Setup Python (GitHub Runner) - if: ${{ !contains(matrix.runner, 'buildjet') }} + - name: Setup Python uses: actions/setup-python@v5 - with: - python-version: '3.11.5' - - - name: Setup Python (BuildJet Runner) - if: contains(matrix.runner, 'buildjet') - uses: gabrielfalcao/pyenv-action@v18 - with: - default: '3.11.4' # Add a retry to avoid issues when this action is running # right after the package is published on PyPi @@ -105,8 +96,8 @@ jobs: # GitHub Windows and xlarge MacOS runner cannot run Docker containers: # - https://github.com/orgs/community/discussions/25491 # - https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/ - # TODO re-enable for mac when mac11 docker gets more stable, and for buildjet when the tests there get more stable - if: matrix.os != 'windows' && matrix.os != 'darwin' && matrix.runner != 'buildjet-2vcpu-ubuntu-2204-arm' + # TODO re-enable for mac when mac11 docker gets more stable + if: matrix.os != 'windows' && matrix.os != 'darwin' run: | # Pull images to avoid making smoke tests vulnerable to system behavior (docker pull speed) docker pull localstack/localstack @@ -124,8 +115,8 @@ jobs: # - https://github.com/orgs/community/discussions/25491 # - https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/ # Skip these checks for forks (forks do not have access to the LocalStack Pro API key) - # TODO re-enable for mac when mac11 docker gets more stable, and for buildjet when the tests there get more stable - if: matrix.os != 'windows' && matrix.os != 'darwin' && matrix.runner != 'buildjet-2vcpu-ubuntu-2204-arm' && !github.event.pull_request.head.repo.fork + # TODO re-enable for mac when mac11 docker gets more stable + if: matrix.os != 'windows' && matrix.os != 'darwin' && !github.event.pull_request.head.repo.fork run: | # Pull images to avoid making smoke tests vulnerable to system behavior (docker pull speed) docker pull localstack/localstack-pro @@ -188,7 +179,7 @@ jobs: contents: write steps: - name: Download Builds - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v5 with: path: builds diff --git a/.gitignore b/.gitignore index 82f0fa5..ce9e2c4 100644 --- a/.gitignore +++ b/.gitignore @@ -108,9 +108,6 @@ target/ # Jupyter Notebook .ipynb_checkpoints -# pyenv -.python-version - # celery beat schedule file celerybeat-schedule diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..902b2c9 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.11 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index c673206..8e4272e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ pyinstaller -localstack==4.5.0 +localstack==4.7.0 cookiecutter