Skip to content

Commit a587fd9

Browse files
authored
Merge pull request #49 from ScrappyCocco/python313
Upgrade to python 3.13
2 parents bbc840d + 8a5254f commit a587fd9

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"howlongtobeatpy-devcontainer",
3-
"image":"mcr.microsoft.com/devcontainers/python:3.9",
3+
"image":"mcr.microsoft.com/devcontainers/python:3.13",
44
"features":{
55

66
},

.github/workflows/manual-publish-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Python
1717
uses: actions/setup-python@v5
1818
with:
19-
python-version: '3.9'
19+
python-version: '3.13'
2020
- name: Install pypa/build
2121
run: |
2222
python3 -m pip install build --user

.github/workflows/python-test-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: '3.9'
21+
python-version: '3.13'
2222
- name: Install dependencies
2323
run: |
2424
cd howlongtobeatpy

.github/workflows/python-test-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: '3.9'
21+
python-version: '3.13'
2222
- name: Install dependencies
2323
run: |
2424
cd howlongtobeatpy

.github/workflows/python-test-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Python
2727
uses: actions/setup-python@v5
2828
with:
29-
python-version: '3.9'
29+
python-version: '3.13'
3030
- name: Install dependencies
3131
run: |
3232
python -m pip install --upgrade pip

howlongtobeatpy/howlongtobeatpy/HowLongToBeatEntry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __init__(self):
4747
self.coop_time = None
4848
# invested_mp value
4949
self.mp_time = None
50-
# These are used to identify if the game has singpe, coop and/or multiplayer
50+
# These are used to identify if the game has singleplayer, coop and/or multiplayer
5151
# So you can filter data based on those
5252
self.complexity_lvl_combine = False
5353
self.complexity_lvl_sp = False

howlongtobeatpy/howlongtobeatpy/JSONResultParser.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ def parse_json_element(self, input_game_element):
9191
current_entry.complexity_lvl_mp = bool(input_game_element.get("comp_lvl_mp", 0))
9292
# Auto-Nullify values based on the flags
9393
if self.auto_filter_times:
94-
if current_entry.complexity_lvl_sp is False:
94+
if not current_entry.complexity_lvl_sp:
9595
current_entry.main_story = None
9696
current_entry.main_extra = None
9797
current_entry.completionist = None
9898
current_entry.all_styles = None
99-
if current_entry.complexity_lvl_co is False:
99+
if not current_entry.complexity_lvl_co:
100100
current_entry.coop_time = None
101-
if current_entry.complexity_lvl_mp is False:
101+
if not current_entry.complexity_lvl_mp:
102102
current_entry.mp_time = None
103103
# Compute Similarity
104104
game_name_similarity = self.similar(self.game_name, current_entry.game_name,

howlongtobeatpy/setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
license='MIT',
1515
keywords='howlongtobeat gaming steam uplay origin time length how long to beat',
1616
install_requires=[
17-
'aiohttp>=3.11.10',
18-
'requests>=2.32.3',
19-
'aiounittest>=1.4.2',
20-
'fake_useragent>=2.0.3',
21-
'beautifulsoup4>=4.12.3'
17+
'aiohttp~=3.12',
18+
'requests~=2.32',
19+
'aiounittest~=1.5',
20+
'fake_useragent~=2.2',
21+
'beautifulsoup4~=4.13'
2222
],
2323
zip_safe=False)

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sonar.projectKey=ScrappyCocco_HowLongToBeat-PythonAPI
33

44
sonar.projectName=HowLongToBeat-PythonAPI
55
sonar.projectVersion=1.0.18
6-
sonar.python.version=3.9
6+
sonar.python.version=3.13
77

88
# Define separate root directories for sources and tests
99
sonar.sources=howlongtobeatpy/howlongtobeatpy/

0 commit comments

Comments
 (0)