Skip to content

Commit

Permalink
Merge pull request #889 from python-babel/become-2.10.3
Browse files Browse the repository at this point in the history
Become 2.10.3
  • Loading branch information
akx committed Jun 16, 2022
2 parents 24bc2dd + 0d90241 commit 79f3d33
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 166 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,27 @@
name: CI
"on":
push:
branches:
- master
- '*-maint'
pull_request:
branches:
- master
- '*-maint'
jobs:
Build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
cache-dependency-path: "**/setup.py"
- run: pip install build -e .
- run: make import-cldr
- run: python -m build
- uses: actions/upload-artifact@v3
with:
name: dist
path: dist
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -2,9 +2,13 @@ name: Test

on:
push:
branches: [ master ]
branches:
- master
- '*-maint'
pull_request:
branches: [ master ]
branches:
- master
- '*-maint'

jobs:
test:
Expand Down
10 changes: 10 additions & 0 deletions CHANGES.rst
@@ -1,6 +1,16 @@
Babel Changelog
===============

Version 2.10.3
--------------

This is a bugfix release for Babel 2.10.2, which was mistakenly packaged with outdated locale data.

Thanks to Michał Górny for pointing this out and Jun Omae for verifying.

This and future Babel PyPI packages will be built by a more automated process,
which should make problems like this less likely to occur.

Version 2.10.2
--------------

Expand Down
5 changes: 1 addition & 4 deletions Makefile
Expand Up @@ -31,7 +31,4 @@ develop:
tox-test: import-cldr
tox

release: import-cldr
python scripts/make-release.py

.PHONY: test develop tox-test clean-pyc clean-cldr import-cldr clean release clean-test-env standalone-test
.PHONY: test develop tox-test clean-pyc clean-cldr import-cldr clean clean-test-env standalone-test
2 changes: 1 addition & 1 deletion babel/__init__.py
Expand Up @@ -20,4 +20,4 @@
negotiate_locale, parse_locale, get_locale_identifier


__version__ = '2.10.2'
__version__ = '2.10.3'
155 changes: 0 additions & 155 deletions scripts/make-release.py

This file was deleted.

5 changes: 1 addition & 4 deletions setup.cfg
@@ -1,6 +1,3 @@
[aliases]
release = sdist bdist_wheel

[tool:pytest]
norecursedirs = venv* .* _* scripts {args}
doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE ALLOW_UNICODE IGNORE_EXCEPTION_DETAIL
Expand All @@ -11,4 +8,4 @@ filterwarnings =
ignore:babel.numbers.format_decimal:DeprecationWarning

[metadata]
license_file = LICENSE
license_files = LICENSE

0 comments on commit 79f3d33

Please sign in to comment.