Skip to content

Commit f22a087

Browse files
authored
Merge pull request #346 from 0hsn/feat/update-package-management
Feature: Update package management
2 parents ea68576 + 70dfd89 commit f22a087

File tree

13 files changed

+2084
-1674
lines changed

13 files changed

+2084
-1674
lines changed

.github/workflows/coverage-ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
coverage:
11-
name: Runs on ubuntu-latest with 3.11.0
11+
name: Runs on ubuntu-latest with 3.13
1212
runs-on: ubuntu-latest
1313

1414
env:
@@ -20,10 +20,10 @@ jobs:
2020
- name: Checkout code
2121
uses: actions/checkout@v4
2222

23-
- name: Set up Python 3.11
23+
- name: Set up Python 3.13
2424
uses: actions/setup-python@v5
2525
with:
26-
python-version: "3.11"
26+
python-version: "3.13"
2727
cache: "pip"
2828

2929
- name: Install dependencies
@@ -32,5 +32,5 @@ jobs:
3232
- name: Run tests and generate .coverage
3333
run: py.test -s --ignore=chk --cov=./chk
3434

35-
- name: Upload to coveralls.io
36-
run: coveralls
35+
- name: Upload to Coveralls.io
36+
uses: coverallsapp/github-action@v2

.github/workflows/test-ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
- name: Checkout code
3434
uses: actions/checkout@v4
3535

36-
- name: Set up Python 3.11
36+
- name: Set up Python 3.13
3737
uses: actions/setup-python@v5
3838
with:
39-
python-version: "3.11"
39+
python-version: "3.13"
4040
cache: "pip"
4141

4242
- name: Install dependencies

.mypy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[mypy]
2-
python_version = 3.11
2+
python_version = 3.13
33
warn_redundant_casts = true
44
warn_unused_ignores = true
55

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ unsafe-load-any-extension=no
5757
extension-pkg-allow-list=
5858

5959
# Minimum supported python version
60-
py-version = 3.11
60+
py-version = 3.13
6161

6262
# Control the amount of potential inferred values when inferring a single
6363
# object. This can help the performance when dealing with large functions or

Pipfile

Lines changed: 0 additions & 32 deletions
This file was deleted.

Pipfile.lock

Lines changed: 0 additions & 1494 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
![CHKware | Low-code API quality testing, and automation toolbox](https://raw.githubusercontent.com/chkware/cli/main/docs/github-readme-01.png)
66

77
[![PyPI version](https://badge.fury.io/py/chk.svg)](https://badge.fury.io/py/chk)
8-
[![Python 3.11](https://img.shields.io/badge/python-3.11-red.svg)](https://www.python.org/downloads/)
8+
[![Python 3.13](https://img.shields.io/badge/python-3.13-blue.svg)](https://www.python.org/downloads/)
99
[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/chkware.svg?style=social&label=Follow%20%40chkware)](https://twitter.com/chkware)
1010
[![Known Vulnerabilities](https://snyk.io/test/github/chkware/cli/main/badge.svg)](https://snyk.io/test/github/chkware/cli)
1111
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=chkware_cli&metric=bugs)](https://sonarcloud.io/summary/new_code?id=chkware_cli)

poetry.lock

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

pyproject.toml

Lines changed: 68 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,69 @@
1-
[build-system]
2-
requires = [
3-
"setuptools>=45",
1+
[tool.poetry]
2+
name = "chk"
3+
version = "0.5.0"
4+
description = "Low-code API quality testing, and automation toolbox"
5+
authors = ["Mahmudul Hasan <hasanlock@gmail.com>"]
6+
7+
license = "MPL-2.0"
8+
readme = "README.md"
9+
10+
homepage = "https://chkware.com/"
11+
repository = "https://github.com/chkware/cli"
12+
documentation = "https://chkware.com/docs"
13+
14+
classifiers = [
15+
"Development Status :: 4 - Beta",
16+
"Environment :: Console",
17+
"Intended Audience :: Information Technology",
18+
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
19+
"Operating System :: MacOS",
20+
"Operating System :: Microsoft",
21+
"Operating System :: POSIX :: Linux",
22+
"Programming Language :: Python :: 3.13",
23+
"Topic :: Internet :: WWW/HTTP",
24+
"Topic :: Software Development",
25+
"Topic :: Software Development :: Quality Assurance",
26+
"Topic :: Software Development :: Testing",
27+
"Topic :: System :: Networking",
28+
"Topic :: Terminals",
29+
"Topic :: Text Processing",
30+
"Topic :: Utilities",
431
]
5-
build-backend = "setuptools.build_meta"
32+
33+
exclude = ["tests", "tests.*", "docs", "docs.*"]
34+
packages = [{ include = "chk" }]
35+
36+
[tool.poetry.urls]
37+
"Bug Tracker" = "https://github.com/chkware/cli/issues"
38+
"Ask a question" = "https://github.com/orgs/chkware/discussions/categories/q-a"
39+
Twitter = "https://twitter.com/chkware"
40+
41+
[tool.poetry.dependencies]
42+
python = "^3.13"
43+
click = "^8.1.7"
44+
pyyaml = "^6.0.2"
45+
requests = "^2.32.3"
46+
cerberus = "^1.3.5"
47+
defusedxml = "^0.7.1"
48+
xmltodict = "^0.14.2"
49+
python-dotenv = "^1.0.1"
50+
pydantic = "^2.10.4"
51+
loguru = "^0.7.3"
52+
jinja2 = "^3.1.4"
53+
54+
[tool.poetry.group.test.dependencies]
55+
pytest = "^8.3.4"
56+
mypy = "^1.14.0"
57+
pylint = "^3.3.2"
58+
flake8 = "^7.1.1"
59+
black = "^24.10.0"
60+
icecream = "^2.1.3"
61+
requests-mock = "^1.12.1"
62+
pytest-cov = "^6.0.0"
63+
64+
[tool.poetry.scripts]
65+
chk = "chk.console.main:chk"
66+
67+
[build-system]
68+
requires = ["poetry-core"]
69+
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)