Skip to content

Commit 15a3be4

Browse files
PhilliipSibyx
andauthored
Bump click (#5)
* update click dependency * fix: python version * Chores 😱 * Execute tests on pull requests * Fixed Python 3.10 tests * package-mode = false * Removed testing for 3.12 * Python 3.12 is not supported --------- Co-authored-by: Jakub Dubec <[email protected]>
1 parent ec82b68 commit 15a3be4

File tree

8 files changed

+955
-502
lines changed

8 files changed

+955
-502
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout master
13-
uses: actions/checkout@v1
13+
uses: actions/checkout@v4
1414

1515
- name: Deploy docs
1616
uses: mhausenblas/mkdocs-deploy-gh-pages@master

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- name: Set up Python
18-
uses: actions/setup-python@v1
18+
uses: actions/setup-python@v5
1919
with:
2020
python-version: '3.x'
2121
- name: Install dependencies

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
name: Tests
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
build:
77
runs-on: ubuntu-latest
88
strategy:
99
max-parallel: 4
1010
matrix:
11-
python-version: [3.6, 3.7, 3.8, 3.9, 'pypy3']
11+
python-version: ['3.9', '3.10', '3.11']
1212

1313
steps:
14-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v4
1515
- name: Set up Python ${{ matrix.python-version }}
16-
uses: actions/setup-python@v1
16+
uses: actions/setup-python@v5
1717
with:
1818
python-version: ${{ matrix.python-version }}
1919
- name: Install dependencies
2020
run: |
2121
python -m pip install --upgrade pip
2222
python -m pip install poetry
23-
poetry install
23+
poetry install --with dev
2424
- name: Lint with flake8
2525
run: |
2626
poetry run pytest . -v --flake8

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ share/python-wheels/
2525
*.egg-info/
2626
.installed.cfg
2727
*.egg
28+
/.venv
2829
/venv
2930

3031
# Tests

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Changelog
22

3-
## 0.13.0 : 2022-06-09
3+
## 0.14.0 : 2024-01-12
4+
5+
⚠️ This release is not working with Python 3.13 and 3.12!! ⚠️
6+
7+
Chores, chores and chores. This will be probably the last release based on the Pydantic 1.x.
8+
9+
🌈 Pink fluffy unicorns dancing on rainbows 🌈
10+
11+
- **Changed**: Dropped support for Python 3.7 and 3.8
12+
13+
## 0.13.0 : 2022-06-09
414

515
- **Added**: Ability to use casting for `ORDER BY` property
616

poetry.lock

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

pyproject.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
[tool.poetry]
22
name = "duckql-python"
3-
version = "0.13.0"
3+
version = "0.14.0"
44
description = "JSON declarative SQL conversion library"
55
authors = ["Jakub Dubec <[email protected]>"]
66
license = "MIT"
7+
package-mode = false
78

89
[tool.poetry.dependencies]
9-
python = "^3.7"
10-
click = "^7.0"
10+
python = "^3.9"
1111
pydantic = "^1.0"
1212
typing-extensions = "^3.7.4"
1313

14-
[tool.poetry.dev-dependencies]
15-
pytest-cov = "^3.0"
16-
mkdocs-material = "^8.2"
17-
pytest = "^7.1"
18-
coverage = "^6.3"
19-
pytest-flake8 = "^1.1"
14+
[tool.poetry.group.dev.dependencies]
15+
pytest-cov = "^6.0"
16+
mkdocs-material = "^9.5"
17+
pytest = "^8.0"
18+
coverage = "^7.0"
19+
pytest-flake8 = "^1.3"
2020
mkdocs = "^1.3"
2121

2222
[tool.coverage.run]

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def read_files(files):
2121
],
2222
install_requires=[
2323
'pydantic==1.*',
24-
'click==7.*',
24+
'click==8.*',
2525
'typing-extensions'
2626
],
2727
url='https://github.com/Sibyx/duckql-python',
@@ -41,9 +41,9 @@ def read_files(files):
4141
'Development Status :: 4 - Beta',
4242
'Environment :: Console',
4343
'Programming Language :: Python',
44-
'Programming Language :: Python :: 3.7',
45-
'Programming Language :: Python :: 3.8',
4644
'Programming Language :: Python :: 3.9',
45+
'Programming Language :: Python :: 3.10',
46+
'Programming Language :: Python :: 3.11',
4747
'Programming Language :: Python :: Implementation :: PyPy',
4848
'Intended Audience :: Developers',
4949
'License :: OSI Approved :: MIT License',

0 commit comments

Comments
 (0)