Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade python version used in setup-python #170

Merged
merged 6 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from 5 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
6 changes: 3 additions & 3 deletions .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ jobs:
VERSION_PART: ${{ join(needs.*.outputs.version_part, '') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: '3.12'
- name: Install bump2version
run: pip install bump2version
- uses: oleksiyrudenko/gha-git-credentials@v2-latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: '3.12'
- name: Build source package
run: |
pip install build
Expand All @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build_sdist]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Download source package
uses: actions/download-artifact@v4
with:
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: '3.12'
- name: Build source package
run: |
pip install build
Expand All @@ -36,21 +36,23 @@ jobs:
python-version: [3.8, 3.9]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/download-artifact@v4
with:
name: distribution
path: dist/
- name: Display structure of downloaded files
run: ls -R dist/
Copy link
Author

@philrhc philrhc Jan 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: delete

Copy link
Author

@philrhc philrhc Jan 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run ls -R dist/
dist/:
zeromq_pyre-0.3.4.tar.gz

- name: Install dependencies
shell: bash # enables file pattern matching on Windows
run: |
python -m pip install --upgrade pip
pip install nose
pip install dist/zeromq-pyre-*.tar.gz
pip install dist/zeromq_pyre-*.tar.gz
- name: Test with nose
working-directory: tests
run: python -m nose -v --exe
Loading