Skip to content

Commit

Permalink
Bump click (#5)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
Philliip and Sibyx authored Jan 17, 2025
1 parent ec82b68 commit 15a3be4
Show file tree
Hide file tree
Showing 8 changed files with 955 additions and 502 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: Tests

on: [push]
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, 'pypy3']
python-version: ['3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install
poetry install --with dev
- name: Lint with flake8
run: |
poetry run pytest . -v --flake8
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
/.venv
/venv

# Tests
Expand Down
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Changelog

## 0.13.0 : 2022-06-09
## 0.14.0 : 2024-01-12

⚠️ This release is not working with Python 3.13 and 3.12!! ⚠️

Chores, chores and chores. This will be probably the last release based on the Pydantic 1.x.

🌈 Pink fluffy unicorns dancing on rainbows 🌈

- **Changed**: Dropped support for Python 3.7 and 3.8

## 0.13.0 : 2022-06-09

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

Expand Down
1,404 changes: 923 additions & 481 deletions poetry.lock

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
[tool.poetry]
name = "duckql-python"
version = "0.13.0"
version = "0.14.0"
description = "JSON declarative SQL conversion library"
authors = ["Jakub Dubec <[email protected]>"]
license = "MIT"
package-mode = false

[tool.poetry.dependencies]
python = "^3.7"
click = "^7.0"
python = "^3.9"
pydantic = "^1.0"
typing-extensions = "^3.7.4"

[tool.poetry.dev-dependencies]
pytest-cov = "^3.0"
mkdocs-material = "^8.2"
pytest = "^7.1"
coverage = "^6.3"
pytest-flake8 = "^1.1"
[tool.poetry.group.dev.dependencies]
pytest-cov = "^6.0"
mkdocs-material = "^9.5"
pytest = "^8.0"
coverage = "^7.0"
pytest-flake8 = "^1.3"
mkdocs = "^1.3"

[tool.coverage.run]
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def read_files(files):
],
install_requires=[
'pydantic==1.*',
'click==7.*',
'click==8.*',
'typing-extensions'
],
url='https://github.com/Sibyx/duckql-python',
Expand All @@ -41,9 +41,9 @@ def read_files(files):
'Development Status :: 4 - Beta',
'Environment :: Console',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: PyPy',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
Expand Down

0 comments on commit 15a3be4

Please sign in to comment.