Skip to content

Commit

Permalink
Fix failing github actions (#987)
Browse files Browse the repository at this point in the history
* Limit setuptools to v65.5.1 in requirements.txt
* Update github actions versions
  • Loading branch information
guarin authored Nov 22, 2022
1 parent 51bedff commit 43e81ea
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Hack to get setup-python to work on nektos/act
run: |
if [ ! -f "/etc/lsb-release" ] ; then
echo "DISTRIB_RELEASE=18.04" > /etc/lsb-release
fi
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: actions/cache@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Hack to get setup-python to work on nektos/act
run: |
if [ ! -f "/etc/lsb-release" ] ; then
echo "DISTRIB_RELEASE=18.04" > /etc/lsb-release
fi
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7
- uses: actions/cache@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests_unmocked.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7
- uses: actions/cache@v2
Expand Down
4 changes: 3 additions & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ lightly_utils~=0.0.0
numpy>=1.18.1
python_dateutil>=2.5.3
requests>=2.23.0
setuptools>=21.0.0
# Temporarily force setuptools<=65.5.1 until https://github.com/pypa/setuptools/issues/3693
# is resolved.
setuptools>=21.0.0,<=65.5.1
six>=1.10
torchvision
tqdm>=4.44
Expand Down

0 comments on commit 43e81ea

Please sign in to comment.