Skip to content

Commit

Permalink
- Update (dev_)requirements.txt for Python >=3.6
Browse files Browse the repository at this point in the history
- Actions: Update Tests workflow for Python >=3.6
- Update Sphinx to 8.0.2
  • Loading branch information
WinterPhoenix committed Sep 13, 2024
1 parent 1ac892d commit 5e16160
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 31 deletions.
27 changes: 11 additions & 16 deletions .github/workflows/testing_initiative.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
name: Testing Initiative

on:
workflow_dispatch:
push:
branches: [ master ]
paths-ignore:
Expand Down Expand Up @@ -32,23 +33,17 @@ jobs:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- macos-latest
- windows-latest
python-version: [2.7, 3.6, 3.7, 3.8, 3.9, "3.10", 3.11]
os: [ubuntu-20.04, macos-13, windows-latest]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
no-coverage: [0]
include:
- os: ubuntu-20.04
python-version: pypy-2.7
no-coverage: 1
- os: ubuntu-20.04
python-version: pypy-3.6
python-version: pypy-3.10
no-coverage: 1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python Env
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
Expand All @@ -58,7 +53,7 @@ jobs:
make init
- name: Run Tests
env:
NOCOV: ${{ matrix.no-coverage }}
NOCOV: ${{ matrix.no-coverage }}
run: |
make test
- name: Upload to Coveralls
Expand Down Expand Up @@ -91,12 +86,12 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
python-version: [3.6]
- ubuntu-latest
python-version: ["3.12"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python Env
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ init:
pip install -r dev_requirements.txt

init_docs:
pip install sphinx==1.8.5 sphinx_rtd_theme
pip install sphinx==8.0.2 sphinx-rtd-theme

COVOPTS = --cov-config .coveragerc --cov=steam

Expand Down
13 changes: 4 additions & 9 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@

-r requirements.txt

vcrpy==2.0.1; python_version <= '3.6'
vcrpy==4.3.0; python_version > '3.6'
vcrpy==4.3.0
PyYAML>=5.4
mock==1.3.0

coverage>=5.0; python_version == '2.7' or python_version >= '3.5'
pytest-cov>=2.7.0; python_version == '2.7' or python_version >= '3.5'

# coveralls 2.0 has removed support for Python 2.7 and 3.4
git+https://github.com/andy-maier/coveralls-python.git@andy/add-py27#egg=coveralls; python_version == '2.7'
coveralls>=2.1.2; python_version >= '3.5'
coverage>=5.0
pytest-cov>=2.7.0
coveralls>=2.1.2
6 changes: 1 addition & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
six>=1.10.0
pycryptodomex>=3.7.0
requests>=2.9.1
urllib3<2
vdf @ git+https://github.com/solsticegamestudios/vdf
gevent>=1.3.0
protobuf~=3.0; python_version >= '3'
protobuf<3.18.0; python_version < '3'
protobuf~=3.0
gevent-eventemitter~=2.1
cachetools>=3.0.0
enum34==1.1.2; python_version < '3.4'
win-inet-pton; python_version == '2.7' and sys_platform == 'win32'

0 comments on commit 5e16160

Please sign in to comment.