Skip to content

Commit

Permalink
Bump version (#22)
Browse files Browse the repository at this point in the history
* simplify link regex

* bump version

* update changelog

* bump mypy version

* bump build version
  • Loading branch information
solaluset authored Sep 24, 2023
1 parent 975ccba commit 4afe5b0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: Build
run: >
pip install build==0.10.0
pip install build==1.0.3
&& python -m build
- name: Upload binaries to release
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

### Hint: use `https://github.com/Krutyi-4el/i18nice/compare/v<version 1 (older)>...v<version 2 (newer)>` to see full code difference between versions

### v0.10.0
- Simplified static refs pattern
- Added support for braceless placeholders and escaped delimiters
- (pb) If a function registered with `i18n.add_function` raises `KeyError`, it will be reraised instead of being treated as a missing placeholder

### v0.9.1
- Fixed links on PyPI

Expand Down
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ coverage==6.2; python_version<'3.7'
coverage==6.5.0; python_version>='3.7'
# checks
flake8==6.1.0
mypy==1.5.0
mypy==1.5.1
types-PyYAML==6.0.12.11
types-setuptools==68.0.0.3
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
long_description = open("README.md").read()
# links on PyPI should have absolute URLs
long_description = re.sub(
r"(\[[^\]]+\]\()((?!https?:)[^\)]+)(\))",
lambda m: m.group(1) + GITHUB_URL + "/blob/master/" + m.group(2) + m.group(3),
r"(\[[^\]]+\]\()((?!https?:)[^\)]+\))",
f"\\1{GITHUB_URL}/blob/master/\\2",
long_description,
)

setup(
name='i18nice',
version='0.9.1',
version='0.10.0',
description='Translation library for Python',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 4afe5b0

Please sign in to comment.