1 Commits

Author SHA1 Message Date
2b054c4ffe Update dependency build to v1
All checks were successful
Tests / test (3.10) (pull_request) Successful in 1m30s
Tests / test (3.11) (pull_request) Successful in 1m35s
Tests / test (3.8) (pull_request) Successful in 1m29s
Tests / test (3.9) (pull_request) Successful in 1m29s
2024-01-21 22:14:08 +02:00
6 changed files with 21 additions and 24 deletions

View File

@@ -11,10 +11,11 @@ on:
jobs: jobs:
test: test:
runs-on: ubuntu-24.04 runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
strategy: strategy:
matrix: matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"] python-version: ["3.8", "3.9", "3.10", "3.11"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@@ -22,8 +23,6 @@ jobs:
uses: actions/setup-python@v3 uses: actions/setup-python@v3
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: './requirements/*'
env: env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
- name: Install dependencies - name: Install dependencies

View File

@@ -19,9 +19,6 @@
], ],
"automerge": true "automerge": true
} }
],
"ignoreDeps": [
"numpy"
] ]
} }

View File

@@ -9,7 +9,7 @@ authors = [{ name = "Denis Lehmann" }]
maintainers = [{ name = "Profitroll" }] maintainers = [{ name = "Profitroll" }]
description = "A colorful wallpaper generator" description = "A colorful wallpaper generator"
readme = "README.md" readme = "README.md"
requires-python = ">=3.9" requires-python = ">=3.8"
license = { text = "GPL3" } license = { text = "GPL3" }
classifiers = [ classifiers = [
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
@@ -17,10 +17,11 @@ classifiers = [
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities", "Topic :: Utilities",
] ]
@@ -43,7 +44,7 @@ dev = { file = "requirements/dev.txt" }
where = ["src"] where = ["src"]
[tool.black] [tool.black]
target-version = ['py39', 'py310', 'py311', 'py312'] target-version = ['py38', 'py39', 'py310', 'py311']
[tool.isort] [tool.isort]
profile = "black" profile = "black"
@@ -61,7 +62,7 @@ strict = true
show_error_codes = true show_error_codes = true
[tool.pylint.main] [tool.pylint.main]
py-version = 3.9 py-version = 3.8
[tool.coverage.run] [tool.coverage.run]
source = ["huepaper"] source = ["huepaper"]

View File

@@ -1,3 +1,3 @@
colour==0.1.5 colour==0.1.5
numpy~=2.0.1,<2.1.0 numpy~=1.24.0,<1.25.0
pillow~=11.3.0 pillow~=10.2.0

View File

@@ -1,9 +1,9 @@
black==25.1.0 black==23.12.1
build==1.3.0 build==1.0.3
isort==5.13.2 isort==5.13.2
mypy==1.17.1 mypy==1.8.0
pylint==3.3.8 pylint==2.17.7
pytest-cov==6.2.1 pytest-cov==4.1.0
pytest==8.4.2 pytest==7.4.4
tox==4.30.2 tox==4.7.0
twine==6.2.0 twine==4.0.2

View File

@@ -1,14 +1,14 @@
[tox] [tox]
minversion = 3.9.0 minversion = 3.8.0
envlist = py39, py310, py311, py312 envlist = py38, py39, py310, py311
isolated_build = true isolated_build = true
[gh-actions] [gh-actions]
python = python =
3.8: py38
3.9: py39 3.9: py39
3.10: py310 3.10: py310
3.11: py311 3.11: py311
3.12: py312
[testenv] [testenv]
setenv = setenv =