Skip to content

Commit

Permalink
Add support for 3.9, drop support for 2.7,3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
un33k committed Apr 30, 2021
1 parent 3cc1069 commit 319559c
Show file tree
Hide file tree
Showing 9 changed files with 109 additions and 126 deletions.
3 changes: 0 additions & 3 deletions .python-version
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@
3.8.8
3.7.10
3.6.13
3.5.10
2.7.18
pypy-5.7.1
pypy3.7-7.3.3
11 changes: 2 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,21 @@ language: python
dist: xenial

python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "pypy"
- "pypy3"

install:
- pip install pip -U
- pip install -e .
- pip install pycodestyle
# Avoid cryptography compilation problems with pypy and 2.7
- pip install coveralls 'cryptography<=3.0;python_version=="2.7"'
- pip install https://github.com/un33k/pyflakes/tarball/master
- pip install coveralls

before_script:
- "bash format.sh"
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pyflakes -x W slugify; fi

script: coverage run --source=slugify test.py

after_success:
coveralls
after_success: coveralls
148 changes: 78 additions & 70 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,186 +1,194 @@
## 5.0.0

- Add support for Py 3.9 - added tox (@jon-betts - Thx)
- Drop support for python 2.7, 3.5 & friends

## 4.0.1
- Add support for Py 3.8

- Add support for Py 3.8
- Last version with `official` python 2.7 and <= 3.5 support

## 4.0.0
- Drop support from 2.6, & < 3.4.5

- Drop support from 2.6, & < 3.4.5

## 3.0.6
- Fixed encoding in special.py

- Fixed encoding in special.py

## 3.0.5
- Add test for pre-translation (e.g German Umlaut)
- Add special char supports (optional Use)

- Add test for pre-translation (e.g German Umlaut)
- Add special char supports (optional Use)

## 3.0.4
- Now supporting text-unidecode>=1.3
- Now supporting Unidecode>=1.1.1

- Now supporting text-unidecode>=1.3
- Now supporting Unidecode>=1.1.1

## 3.0.3
- Remove unicode chars from file

- Remove unicode chars from file

## 3.0.2
- Add official support of Py 3.7

- Add official support of Py 3.7

## 3.0.1
- Add test.py to manifest

- Add test.py to manifest

## 3.0.0
- Upgrade Unidecode
- Promote text-unidecode as the primary decoding package
- Add Unidecode as an optional extra. "pip install python-slugify[unidecode]"

- Upgrade Unidecode
- Promote text-unidecode as the primary decoding package
- Add Unidecode as an optional extra. "pip install python-slugify[unidecode]"

## 2.0.1
- Add replacements option e.g. [['|', 'or'], ['%', 'percent'], ['-', '_']] (@andriyor)

- Add replacements option e.g. [['|', 'or'], ['%', 'percent'], ['-', '_']] (@andriyor)

## 2.0.0
- Fix alternative dependency installation

- Fix alternative dependency installation

## 1.2.6
- Add support for case sensitive slugs (@s-m-e)

- Add support for case sensitive slugs (@s-m-e)

## 1.2.5
- Add support for using text-unidecode (@bolkedebruin)
- Switch to pycodestyle instead of pep8

- Add support for using text-unidecode (@bolkedebruin)
- Switch to pycodestyle instead of pep8

## 1.2.4
- Remove build artifacts during packaging
- Simplify the setup.py file (@reece)

- Remove build artifacts during packaging
- Simplify the setup.py file (@reece)

## 1.2.3
- Republish - possible corrupt 1.2.2 build

- Republish - possible corrupt 1.2.2 build

## 1.2.2
- Add `regex_pattern` option. (@vrbaskiz)
- Add Python 3.6 support

- Add `regex_pattern` option. (@vrbaskiz)
- Add Python 3.6 support

## 1.2.1
- Including certain files (e.g. license.md) in sdists via MANIFEST.in (@proinsias)
- Relax licensing by moving from BSD to MIT
- Add Python 3.5 support
- Add more tests

- Including certain files (e.g. license.md) in sdists via MANIFEST.in (@proinsias)
- Relax licensing by moving from BSD to MIT
- Add Python 3.5 support
- Add more tests

## 1.2.0

Backward incompatible change: (@fabiocaccamo)

- In version < 1.2.0 all single quotes ( ' ) were removed, and
moving forward, >= 1.2.0, they will be replaced with ( - ).
Example:
< 1.2.0 -- ('C\'est déjà l\'été.' -> "cest-deja-lete")
>= 1.2.0 -- ('C\'est déjà l\'été.' -> "c-est-deja-l-ete")
- In version < 1.2.0 all single quotes ( ' ) were removed, and
moving forward, >= 1.2.0, they will be replaced with ( - ).
Example:
< 1.2.0 -- ('C\'est déjà l\'été.' -> "cest-deja-lete")
> = 1.2.0 -- ('C\'est déjà l\'été.' -> "c-est-deja-l-ete")
## 1.1.4

Bugfix:

- Add more test cases, dropped `official` support for python 3.2

- Add more test cases, dropped `official` support for python 3.2

## 1.1.3

Bugfix:

- Handle unichar in python 3.x

- Handle unichar in python 3.x

## 1.1.2

Enhancement:

- Ability to remove `stopwords` from string

- Ability to remove `stopwords` from string

## 1.0.2

Enhancement:

- A new PyPI release

- A new PyPI release

## 1.0.1

Enhancement:

- Promoting to production grade

- Promoting to production grade

## 0.1.1

Enhancement:

- Added option to save word order
- Removed 2to3 dependency
- Added more tests

- Added option to save word order
- Removed 2to3 dependency
- Added more tests

## 0.1.0

Enhancement:

- Added more test
- Added test for python 3.4

- Added more test
- Added test for python 3.4

## 0.0.9

Enhancement:

- Enable console_scripts

- Enable console_scripts

## 0.0.8

Enhancement:

- Move logic out of __init__.py
- Added console_scripts (@ekamil)
- Updated pep8.sh
- Added pypy support

- Move logic out of **init**.py
- Added console_scripts (@ekamil)
- Updated pep8.sh
- Added pypy support

## 0.0.7

Enhancement:

- Handle encoding in setup file
- Update ReadME, ChangeLog, License files

- Handle encoding in setup file
- Update ReadME, ChangeLog, License files

## 0.0.6

Enhancement:

- Update for smart_truncate

- Update for smart_truncate

## 0.0.5

Features:

- Added Python 3.2 and 3.3 support (work by: arthurdarcet@github)

- Added Python 3.2 and 3.3 support (work by: arthurdarcet@github)

## 0.0.4

Features:

- Added option to choose non-dash separators (request by: danilodimoia@github)

- Added option to choose non-dash separators (request by: danilodimoia@github)

## 0.0.3

Features:

- Added the ability to truncate slugs (request by: juanriaza@github)

- Added the ability to truncate slugs (request by: juanriaza@github)

## 0.0.2

Enhancement:

- Incremental update

- Incremental update

## 0.0.1

- Initial version
- Initial version
Loading

0 comments on commit 319559c

Please sign in to comment.