Skip to content

Commit

Permalink
Fix python build on Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fishy committed Aug 20, 2024
1 parent e98d6b1 commit 375231c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ jobs:
strategy:
matrix:
python-version:
- "3.x"
- "3.11"
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand All @@ -422,15 +422,14 @@ jobs:

- name: Python setup
run: |
python -m pip install --upgrade pip setuptools wheel flake8 tornado twisted zope.interface
python -m pip install --upgrade pip setuptools wheel flake8 six tornado twisted zope.interface
python --version
pip --version
- name: Run bootstrap
run: ./bootstrap.sh

- name: Run configure 3.x
if: matrix.python-version == '3.x'
run: |
./configure $(echo $CONFIG_ARGS_FOR_LIBS | sed 's/without-py3/with-py3/')
Expand Down
2 changes: 1 addition & 1 deletion lib/py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def run_setup(with_binary):
author_email='dev@thrift.apache.org',
url='http://thrift.apache.org',
license='Apache License 2.0',
install_requires=['six>=1.7.2'],
install_requires=['six>=1.16.0'],
extras_require={
'ssl': ssl_deps,
'tornado': tornado_deps,
Expand Down

0 comments on commit 375231c

Please sign in to comment.