Skip to content

Commit 11706dc

Browse files
Python 3.14 (ThePornDatabase#285)
* add python 3.14 support * fix numpy compatibility * update dependences * fix: version
1 parent deb12ef commit 11706dc

File tree

6 files changed

+1568
-1482
lines changed

6 files changed

+1568
-1482
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
16-
python-version: [ '3.10', '3.11', '3.12', '3.13' ]
16+
python-version: [ '3.11', '3.12', '3.13', '3.14-dev' ]
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4
@@ -31,7 +31,7 @@ jobs:
3131
- name: Install poetry
3232
uses: abatilo/actions-poetry@v2
3333
with:
34-
poetry-version: '2.1.1'
34+
poetry-version: '2.1.4'
3535

3636
- name: Install Go
3737
uses: actions/setup-go@v5
@@ -102,7 +102,7 @@ jobs:
102102
- name: Install poetry
103103
uses: abatilo/actions-poetry@v2
104104
with:
105-
poetry-version: '2.1.1'
105+
poetry-version: '2.1.4'
106106

107107
- uses: pnpm/action-setup@v3
108108
with:
@@ -169,7 +169,7 @@ jobs:
169169
- name: install poetry
170170
uses: abatilo/actions-poetry@v2
171171
with:
172-
poetry-version: '2.1.1'
172+
poetry-version: '2.1.4'
173173

174174
- name: create tag from pyproject version on change.
175175
id: auto-tag
@@ -214,7 +214,7 @@ jobs:
214214
- name: Install poetry
215215
uses: abatilo/actions-poetry@v2
216216
with:
217-
poetry-version: '2.1.1'
217+
poetry-version: '2.1.4'
218218

219219
- name: Install Go
220220
uses: actions/setup-go@v5

namer/web/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@ def default(obj):
196196
if isinstance(obj, (numpy.int_, numpy.intc, numpy.intp, numpy.int8, numpy.int16, numpy.int32, numpy.int64, numpy.uint8, numpy.uint16, numpy.uint32, numpy.uint64)):
197197
return int(obj)
198198

199-
elif isinstance(obj, (numpy.float_, numpy.float16, numpy.float32, numpy.float64)):
199+
elif isinstance(obj, (numpy.float16, numpy.float32, numpy.float64)):
200200
return float(obj)
201201

202-
elif isinstance(obj, (numpy.complex_, numpy.complex64, numpy.complex128)):
202+
elif isinstance(obj, (numpy.complex64, numpy.complex128)):
203203
return {
204204
'real': obj.real,
205205
'imag': obj.imag

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,45 +13,45 @@
1313
},
1414
"dependencies": {
1515
"@popperjs/core": "^2.11.8",
16-
"bootstrap": "^5.3.7",
16+
"bootstrap": "^5.3.8",
1717
"bootstrap-icons": "^1.13.1",
18-
"datatables.net": "^2.3.2",
19-
"datatables.net-bs5": "^2.3.2",
18+
"datatables.net": "^2.3.3",
19+
"datatables.net-bs5": "^2.3.3",
2020
"datatables.net-buttons": "^3.2.4",
2121
"datatables.net-buttons-bs5": "^3.2.4",
2222
"datatables.net-colreorder": "^2.1.1",
2323
"datatables.net-colreorder-bs5": "^2.1.1",
2424
"datatables.net-fixedheader": "^4.0.3",
2525
"datatables.net-fixedheader-bs5": "^4.0.3",
26-
"datatables.net-responsive": "^3.0.5",
27-
"datatables.net-responsive-bs5": "^3.0.5",
26+
"datatables.net-responsive": "^3.0.6",
27+
"datatables.net-responsive-bs5": "^3.0.6",
2828
"jquery": "^3.7.1",
2929
"lodash": "^4.17.21"
3030
},
3131
"devDependencies": {
32-
"@babel/core": "^7.28.0",
33-
"@babel/preset-env": "^7.28.0",
32+
"@babel/core": "^7.28.3",
33+
"@babel/preset-env": "^7.28.3",
3434
"@eslint/eslintrc": "^3.3.1",
35-
"@eslint/js": "^9.30.1",
35+
"@eslint/js": "^9.34.0",
3636
"babel-loader": "^10.0.0",
37-
"copy-webpack-plugin": "^13.0.0",
37+
"copy-webpack-plugin": "^13.0.1",
3838
"css-loader": "^7.1.2",
3939
"css-minimizer-webpack-plugin": "^7.0.2",
40-
"eslint": "^9.30.1",
40+
"eslint": "^9.34.0",
4141
"eslint-config-standard": "^17.1.0",
4242
"file-loader": "^6.2.0",
4343
"globals": "^16.3.0",
44-
"html-minimizer-webpack-plugin": "^5.0.2",
44+
"html-minimizer-webpack-plugin": "^5.0.3",
4545
"husky": "^9.1.7",
46-
"lint-staged": "^16.1.2",
47-
"mini-css-extract-plugin": "^2.9.2",
46+
"lint-staged": "^16.1.5",
47+
"mini-css-extract-plugin": "^2.9.4",
4848
"postcss": "^8.5.6",
4949
"postcss-loader": "^8.1.1",
50-
"postcss-preset-env": "^10.2.4",
51-
"sass": "^1.89.2",
50+
"postcss-preset-env": "^10.3.1",
51+
"sass": "^1.91.0",
5252
"sass-loader": "^16.0.5",
5353
"terser-webpack-plugin": "^5.3.14",
54-
"webpack": "^5.100.0",
54+
"webpack": "^5.101.3",
5555
"webpack-cli": "^6.0.1"
5656
},
5757
"engines": {

0 commit comments

Comments
 (0)