From 442cca2b6ab88ccf32f5de5f73cfb17cd8248a5d Mon Sep 17 00:00:00 2001 From: "Val Neekman (AvidCoder)" Date: Wed, 27 Apr 2022 11:59:04 -0400 Subject: [PATCH 1/5] Add missing cmdLine options --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8fdb214..c3c4b3b 100755 --- a/setup.py +++ b/setup.py @@ -80,5 +80,6 @@ def status(s): 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', - ] + ], + entry_points={'console_scripts': ['slugify=slugify.__main__:main']}, ) From 64b60d68e3028a759f0a89a865fddd6647c4896a Mon Sep 17 00:00:00 2001 From: "Val Neekman (AvidCoder)" Date: Wed, 27 Apr 2022 12:00:42 -0400 Subject: [PATCH 2/5] Up Version --- CHANGELOG.md | 4 ++++ slugify/__version__.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12d0ff1..2ba0bb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 6.1.2 + +- Reintroduce the cli options + ## 6.1.1 - Remove type hinting (temporarily) diff --git a/slugify/__version__.py b/slugify/__version__.py index f971770..55abc97 100644 --- a/slugify/__version__.py +++ b/slugify/__version__.py @@ -5,4 +5,4 @@ __url__ = 'https://github.com/un33k/python-slugify' __license__ = 'MIT' __copyright__ = 'Copyright 2022 Val Neekman @ Neekware Inc.' -__version__ = '6.1.1' +__version__ = '6.1.2' From 5ce9210079597a39d57bf9cbe406a3db23cac414 Mon Sep 17 00:00:00 2001 From: "Val Neekman (AvidCoder)" Date: Wed, 27 Apr 2022 12:06:26 -0400 Subject: [PATCH 3/5] update dev deps --- dev.requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev.requirements.txt b/dev.requirements.txt index 2b4e781..5f94d7b 100644 --- a/dev.requirements.txt +++ b/dev.requirements.txt @@ -1,3 +1,3 @@ -pycodestyle==2.7.0 +pycodestyle==2.8.0 twine==3.4.1 flake8==4.0.1 \ No newline at end of file From c236c1589f3469881b809128021ab77719fa19fa Mon Sep 17 00:00:00 2001 From: "Val Neekman (AvidCoder)" Date: Fri, 18 Nov 2022 13:47:14 -0500 Subject: [PATCH 4/5] github action revert --- .github/workflows/ci.yml | 2 +- .github/workflows/dev.yml | 2 +- .github/workflows/main.yml | 2 +- CHANGELOG.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da3899e..56e4097 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.7, 3.8, 3.9, 3.10, 3.11, pypy3.8] + python: [3.7, 3.8, 3.9, "3.10", 3.11, pypy3.8] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 615e82a..73f2f07 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.7, 3.8, 3.9, 3.10, 3.11, pypy3.8] + python: [3.7, 3.8, 3.9, "3.10", 3.11, pypy3.8] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 68d30fa..a4ae9ad 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.7, 3.8, 3.9, 3.10, 3.11, pypy3.8] + python: [3.7, 3.8, 3.9, "3.10", 3.11, pypy3.8] steps: - uses: actions/checkout@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index b95783a..7e32d42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## 7.0.0 -- Drop python 3.6, add python 3.11 +- Drop python 3.6, add python 3.11 (@hugovk - thx) ## 6.1.2 From 40a9b99f95293309297c679959de1a506b98626f Mon Sep 17 00:00:00 2001 From: "Val Neekman (AvidCoder)" Date: Tue, 22 Nov 2022 13:12:16 -0500 Subject: [PATCH 5/5] Support Matrix --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 04b72ab..26cbc4d 100644 --- a/README.md +++ b/README.md @@ -16,13 +16,13 @@ This module, by default installs and uses [text-unidecode](https://github.com/km However, there is an alternative decoding package called [Unidecode](https://github.com/avian2/unidecode) _(GPL)_. It can be installed as `python-slugify[unidecode]` for those who prefer it. -### Python Versions & `Official` Support +### `Official` Support Matrix -| python version | python-slugify version | -| -------------- | ---------------------- | -| `=2.7` | `< 5.0.0` | -| `<=3.6` | `>= 5.0.0 < 7.0.0` | -| `>=3.7` | `>= 7.0.0` | +| Python | Slugify | +| -------------- | ------------------ | +| `>= 2.7 < 3.6` | `< 5.0.0` | +| `>= 3.6 < 3.7` | `>= 5.0.0 < 7.0.0` | +| `>= 3.7` | `>= 7.0.0` | # How to install