Skip to content

Commit

Permalink
Merge pull request #346 from 0hsn/feat/update-package-management
Browse files Browse the repository at this point in the history
Feature: Update package management
  • Loading branch information
0hsn authored Dec 23, 2024
2 parents ea68576 + 70dfd89 commit f22a087
Show file tree
Hide file tree
Showing 13 changed files with 2,084 additions and 1,674 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/coverage-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
coverage:
name: Runs on ubuntu-latest with 3.11.0
name: Runs on ubuntu-latest with 3.13
runs-on: ubuntu-latest

env:
Expand All @@ -20,10 +20,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python 3.11
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.13"
cache: "pip"

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

- name: Upload to coveralls.io
run: coveralls
- name: Upload to Coveralls.io
uses: coverallsapp/github-action@v2
4 changes: 2 additions & 2 deletions .github/workflows/test-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python 3.11
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.13"
cache: "pip"

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.11
python_version = 3.13
warn_redundant_casts = true
warn_unused_ignores = true

Expand Down
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ unsafe-load-any-extension=no
extension-pkg-allow-list=

# Minimum supported python version
py-version = 3.11
py-version = 3.13

# Control the amount of potential inferred values when inferring a single
# object. This can help the performance when dealing with large functions or
Expand Down
32 changes: 0 additions & 32 deletions Pipfile

This file was deleted.

1,494 changes: 0 additions & 1,494 deletions Pipfile.lock

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
![CHKware | Low-code API quality testing, and automation toolbox](https://raw.githubusercontent.com/chkware/cli/main/docs/github-readme-01.png)

[![PyPI version](https://badge.fury.io/py/chk.svg)](https://badge.fury.io/py/chk)
[![Python 3.11](https://img.shields.io/badge/python-3.11-red.svg)](https://www.python.org/downloads/)
[![Python 3.13](https://img.shields.io/badge/python-3.13-blue.svg)](https://www.python.org/downloads/)
[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/chkware.svg?style=social&label=Follow%20%40chkware)](https://twitter.com/chkware)
[![Known Vulnerabilities](https://snyk.io/test/github/chkware/cli/main/badge.svg)](https://snyk.io/test/github/chkware/cli)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=chkware_cli&metric=bugs)](https://sonarcloud.io/summary/new_code?id=chkware_cli)
Expand Down
1,074 changes: 1,074 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

72 changes: 68 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,69 @@
[build-system]
requires = [
"setuptools>=45",
[tool.poetry]
name = "chk"
version = "0.5.0"
description = "Low-code API quality testing, and automation toolbox"
authors = ["Mahmudul Hasan <hasanlock@gmail.com>"]

license = "MPL-2.0"
readme = "README.md"

homepage = "https://chkware.com/"
repository = "https://github.com/chkware/cli"
documentation = "https://chkware.com/docs"

classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: MacOS",
"Operating System :: Microsoft",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: System :: Networking",
"Topic :: Terminals",
"Topic :: Text Processing",
"Topic :: Utilities",
]
build-backend = "setuptools.build_meta"

exclude = ["tests", "tests.*", "docs", "docs.*"]
packages = [{ include = "chk" }]

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/chkware/cli/issues"
"Ask a question" = "https://github.com/orgs/chkware/discussions/categories/q-a"
Twitter = "https://twitter.com/chkware"

[tool.poetry.dependencies]
python = "^3.13"
click = "^8.1.7"
pyyaml = "^6.0.2"
requests = "^2.32.3"
cerberus = "^1.3.5"
defusedxml = "^0.7.1"
xmltodict = "^0.14.2"
python-dotenv = "^1.0.1"
pydantic = "^2.10.4"
loguru = "^0.7.3"
jinja2 = "^3.1.4"

[tool.poetry.group.test.dependencies]
pytest = "^8.3.4"
mypy = "^1.14.0"
pylint = "^3.3.2"
flake8 = "^7.1.1"
black = "^24.10.0"
icecream = "^2.1.3"
requests-mock = "^1.12.1"
pytest-cov = "^6.0.0"

[tool.poetry.scripts]
chk = "chk.console.main:chk"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Loading

0 comments on commit f22a087

Please sign in to comment.