Skip to content

Commit d0322e2

Browse files
authored
Merge pull request #9 from vertti/poetry2
drop 3.8 python support as poetry 2 requires 3.9 or above
2 parents 83e345a + c360c52 commit d0322e2

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
16+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1717
steps:
1818
- uses: actions/checkout@v3
1919

@@ -45,7 +45,9 @@ jobs:
4545
poetry run pytest --cov --cov-report=xml tests/
4646
4747
- name: Upload coverage to Codecov
48-
uses: codecov/codecov-action@v3
48+
uses: codecov/codecov-action@v5
4949
with:
5050
files: ./coverage.xml
51-
fail_ci_if_error: true
51+
fail_ci_if_error: false
52+
token: ${{ secrets.CODECOV_TOKEN }}
53+

pyproject.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
[tool.poetry]
1+
[project]
22
name = "daffy"
33
version = "0.7.0"
44
description = "Function decorators for Pandas Dataframe column name and data type validation"
5-
authors = ["Janne Sinivirta <[email protected]>"]
5+
authors = [
6+
{ name="Janne Sinivirta", email="[email protected]" },
7+
]
68
license = "MIT"
9+
requires-python = ">=3.9"
710
readme = "README.md"
811
homepage = "https://github.com/fourkind/daffy"
912
repository = "https://github.com/fourkind/daffy.git"
@@ -18,6 +21,7 @@ classifiers = [
1821
"Programming Language :: Python :: 3.10",
1922
"Programming Language :: Python :: 3.11",
2023
"Programming Language :: Python :: 3.12",
24+
"Programming Language :: Python :: 3.13",
2125
"Development Status :: 4 - Beta",
2226
"License :: OSI Approved :: MIT License"
2327
]
@@ -26,10 +30,10 @@ include = [
2630
]
2731

2832
[tool.poetry.dependencies]
29-
python = ">=3.8.1,<4.0.0"
33+
python = ">=3.9.0,<4.0.0"
3034
pandas = ">=1.5.1,<3.0.0"
3135

32-
[tool.poetry.dev-dependencies]
36+
[tool.poetry.group.dev.dependencies]
3337
pytest = "^7.4.3"
3438
isort = "^5.12.0"
3539
black = "^23.11.0"

0 commit comments

Comments
 (0)