Skip to content

Bump baseline supported version to Python 3.8 #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]
python: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
timeout-minutes: 5
strategy:
matrix:
python: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]
python: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
fail-fast: false
steps:
- run: 'echo "No build required"'
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]
python: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
fail-fast: false
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def tests_impl(session):
)


@nox.session(python=["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"])
@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"])
def test(session):
tests_impl(session)

Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,17 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: System :: Logging",
"License :: OSI Approved :: Apache Software License"
]
requires = []
requires-python = ">=3.6"
requires-python = ">=3.8"

[tool.flit.metadata.requires-extra]
develop = [
Expand Down
4 changes: 3 additions & 1 deletion tests/test_stdlib_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,11 @@ def test_can_be_set_on_handler():
)


@mock.patch("time.time_ns")
@mock.patch("time.time")
def test_extra_is_merged(time, logger):
def test_extra_is_merged(time, time_ns, logger):
time.return_value = 1584720997.187709
time_ns.return_value = time.return_value * 1_000_000_000

stream = StringIO()
handler = logging.StreamHandler(stream)
Expand Down