Skip to content

Commit 400f01d

Browse files
author
César Román
authored
build(pip): implement PEP 621 (#29)
update tox config update ci; remove restore-keys BREAKING CHANGE: drop support for Python 3.6
1 parent 25d2ce2 commit 400f01d

File tree

6 files changed

+58
-59
lines changed

6 files changed

+58
-59
lines changed

Diff for: .github/workflows/ci.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
18+
python-version: ["3.7", "3.8", "3.9", "3.10"]
1919

2020
steps:
2121
- name: Checkout repo
@@ -32,8 +32,6 @@ jobs:
3232
with:
3333
path: ${{ env.pythonLocation }}
3434
key: py${{ matrix.python-version }}-${{ hashFiles('tox.ini', 'requirements/ci.txt') }}
35-
restore-keys: |
36-
py${{ matrix.python-version }}-
3735

3836
- name: Install dependencies
3937
run: |
@@ -55,8 +53,6 @@ jobs:
5553
with:
5654
path: .tox
5755
key: ${{ runner.os }}-tox-${{ hashFiles('tox.ini', 'requirements.txt') }}
58-
restore-keys: |
59-
${{ runner.os }}-tox-
6056

6157
- name: Run tests
6258
run: |

Diff for: CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## v2023.1.0.post1 (2023-02-02)
2+
13
## v2023.1.0 (2023-01-11)
24

35
### Feat

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This package contains a collection of [stubs](https://www.python.org/dev/peps/pe
1111

1212
## Installation and usage
1313

14-
To use `incendium-stubs`, you may install it with `pip`. It requires Python 3.6 through 3.10.
14+
To use `incendium-stubs`, you may install it with `pip`. It requires Python 3.7 through 3.10.
1515

1616
```sh
1717
python -m pip install incendium-stubs

Diff for: pyproject.toml

+51-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,55 @@
11
[build-system]
22
build-backend = "setuptools.build_meta"
33
requires = [
4-
"setuptools>=59",
4+
"setuptools>=61.2",
55
]
6+
7+
[project]
8+
name = "incendium_stubs"
9+
version = "2023.1.0.post1"
10+
description = "incendium stubs package"
11+
readme = "README.md"
12+
keywords = [
13+
"hmi",
14+
"ignition",
15+
"inductive automation",
16+
"scada",
17+
]
18+
license = {file = "LICENSE"}
19+
authors = [{name = "César Román", email = "[email protected]"}]
20+
requires-python = "<3.11, >=3.7"
21+
classifiers = [
22+
"Development Status :: 5 - Production/Stable",
23+
"Intended Audience :: Developers",
24+
"Intended Audience :: Information Technology",
25+
"Intended Audience :: Manufacturing",
26+
"License :: OSI Approved :: MIT License",
27+
"Operating System :: MacOS :: MacOS X",
28+
"Operating System :: Microsoft :: Windows",
29+
"Operating System :: POSIX :: Linux",
30+
"Programming Language :: Python",
31+
"Programming Language :: Python :: 3",
32+
"Programming Language :: Python :: 3 :: Only",
33+
"Programming Language :: Python :: 3.7",
34+
"Programming Language :: Python :: 3.8",
35+
"Programming Language :: Python :: 3.9",
36+
"Programming Language :: Python :: 3.10",
37+
"Typing :: Stubs Only",
38+
"Typing :: Typed",
39+
]
40+
dependencies = [
41+
"ignition-api-stubs",
42+
]
43+
[project.urls]
44+
Funding = "https://github.com/sponsors/thecesrom"
45+
Homepage = "https://thecesrom.dev/incendium-stubs"
46+
Source = "https://github.com/thecesrom/incendium-stubs"
47+
Tracker = "https://github.com/thecesrom/incendium-stubs/issues"
48+
49+
50+
[tool.setuptools]
51+
include-package-data = true
52+
package-dir = {"" = "stubs"}
53+
54+
[tool.setuptools.package-data]
55+
"*" = ["*.pyi", "py.typed"]

Diff for: setup.cfg

-50
This file was deleted.

Diff for: tox.ini

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[tox]
2-
isolated_build = true
32
skip_missing_interpreters = true
43
env_list =
5-
py3{10, 9, 8, 7, 6}
4+
py3{10, 9, 8, 7}
5+
requires =
6+
tox>=4
67

78
[testenv:py310]
89
description = install and run type check on code base

0 commit comments

Comments
 (0)