- "windows-2022"
- "macos-11"
python-version:
- - "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- - "pypy-3.7"
+ - "pypy3.8"
- "3.12"
env:
BABEL_CLDR_NO_DOWNLOAD_PROGRESS: "1"
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
- python-version: "3.11"
+ python-version: "3.12"
cache: "pip"
cache-dependency-path: "**/setup.py"
- run: pip install build -e .
from babel.util import parse_encoding, parse_future_flags, pathmatch
if TYPE_CHECKING:
- from typing import IO, Protocol
+ from typing import IO, Final, Protocol
from _typeshed import SupportsItems, SupportsRead, SupportsReadline
- from typing_extensions import Final, TypeAlias, TypedDict
+ from typing_extensions import TypeAlias, TypedDict
class _PyOptions(TypedDict, total=False):
encoding: str
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
- 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
],
- python_requires='>=3.7',
+ python_requires='>=3.8',
packages=['babel', 'babel.messages', 'babel.localtime'],
package_data={"babel": ["py.typed"]},
include_package_data=True,
[tox]
isolated_build = true
envlist =
- py{37,38,39,310,311,312}
+ py{38,39,310,311,312}
pypy3
- py{37,38}-pytz
+ py{38}-pytz
py{311,312}-setuptools
[testenv]
[gh-actions]
python =
pypy3: pypy3
- 3.7: py37
3.8: py38
3.9: py39
3.10: py310