Skip to content

Commit c9d5f70

Browse files
packaging: Use PEP 621
1 parent eaa88b5 commit c9d5f70

File tree

4 files changed

+31
-29
lines changed

4 files changed

+31
-29
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ jobs:
3333
test:
3434
runs-on: ubuntu-latest
3535
env:
36-
NOXPYTHON: ${{ matrix.python-version }}
36+
NOXFORCEPYTHON: ${{ matrix.python-version }}
3737
NOXSESSION: tests
3838
PIP_CONSTRAINT: ${{ github.workspace }}/.github/workflows/constraints.txt
3939
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1"
4040
strategy:
41+
fail-fast: false
42+
max-parallel: 2
4143
matrix:
4244
python-version:
4345
- "3.9"

noxfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
raise SystemExit(dedent(message)) from None
1919

2020
python_versions = [
21-
"3.14",
2221
"3.13",
2322
"3.12",
2423
"3.11",

poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,43 @@ requires = [
55
"poetry-dynamic-versioning",
66
]
77

8-
[tool.poetry]
8+
[project]
99
name = "tap-geekbot"
10-
version = "0.0.0"
1110
description = "Singer tap for Geekbot, built with the Meltano SDK for Singer Taps."
12-
authors = [
13-
"Edgar Ramírez-Mondragón <edgarrm358@gmail.com>",
11+
readme = "README.md"
12+
keywords = [
13+
"ELT",
14+
"Geekbot",
15+
"singer.io",
1416
]
17+
license = "Apache-2.0"
18+
authors = [ { name = "Edgar Ramírez-Mondragón", email = "edgarrm358@gmail.com" } ]
19+
requires-python = ">=3.9"
1520
classifiers = [
21+
"License :: OSI Approved :: Apache Software License",
22+
"Programming Language :: Python :: 3 :: Only",
1623
"Programming Language :: Python :: 3.9",
1724
"Programming Language :: Python :: 3.10",
1825
"Programming Language :: Python :: 3.11",
1926
"Programming Language :: Python :: 3.12",
2027
"Programming Language :: Python :: 3.13",
2128
"Programming Language :: Python :: 3.14",
2229
]
23-
keywords = [
24-
"ELT",
25-
"singer.io",
26-
"Geekbot",
27-
]
28-
license = "Apache-2.0"
29-
readme = "README.md"
30-
homepage = "https://github.com/edgarrmondragon/tap-geekbot"
31-
repository = "https://github.com/edgarrmondragon/tap-geekbot"
32-
documentation = "https://github.com/edgarrmondragon/tap-geekbot#readme"
30+
dynamic = [ "version" ]
31+
dependencies = [ "singer-sdk~=0.45.3" ]
32+
33+
urls.Documentation = "https://github.com/edgarrmondragon/tap-geekbot#readme"
34+
urls.Homepage = "https://github.com/edgarrmondragon/tap-geekbot"
35+
urls.Repository = "https://github.com/edgarrmondragon/tap-geekbot"
36+
scripts.tap-geekbot = "tap_geekbot.tap:TapGeekbot.cli"
3337

34-
[tool.poetry.dependencies]
35-
python = ">=3.9"
36-
singer-sdk = "~=0.45.3"
38+
[tool.poetry]
39+
requires-poetry = ">=2.0"
40+
version = "0.0.0"
41+
42+
[tool.poetry.requires-plugins]
43+
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = [ "plugin" ] }
44+
poetry-plugin-export = ">=1.8"
3745

3846
[tool.poetry.group.dev.dependencies]
3947
mypy = ">=1.8.0"
@@ -42,10 +50,6 @@ singer-sdk = { version = "~=0.45.3", extras = [
4250
"testing",
4351
] }
4452

45-
[tool.poetry.scripts]
46-
# CLI declaration
47-
"tap-geekbot" = "tap_geekbot.tap:TapGeekbot.cli"
48-
4953
[tool.poetry-dynamic-versioning]
5054
enable = true
5155
format-jinja = """
@@ -62,8 +66,6 @@ style = "pep440"
6266
vcs = "git"
6367

6468
[tool.ruff]
65-
target-version = "py39"
66-
6769
line-length = 88
6870
src = [
6971
"tap_geekbot",
@@ -73,7 +75,6 @@ lint.select = [
7375
"ALL",
7476
]
7577
lint.ignore = [
76-
"ANN101", # missing-type-self
7778
"COM812", # missing-trailing-comma
7879
"DJ", # flake8-django
7980
"FIX002", # line-contains-todo

0 commit comments

Comments
 (0)