Skip to content
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/ISSUE_TEMPLATE/issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
attributes:
label: Python Version
description: Which version of Python were you using?
placeholder: 3.9.0
placeholder: 3.14.0
validations:
required: false
- type: input
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
strategy:
matrix:
python-version:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Changelog
=========

* Drop Python 3.9 support.

4.0.1 (2025-09-12)
------------------

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Install with:

python -m pip install pytest-randomly

Python 3.9 to 3.14 supported.
Python 3.10 to 3.14 supported.

Usage
=====
Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ license-files = [ "LICENSE" ]
authors = [
{ name = "Adam Johnson", email = "me@adamj.eu" },
]
requires-python = ">=3.9"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand All @@ -37,7 +36,6 @@ classifiers = [
"Typing :: Typed",
]
dependencies = [
"importlib-metadata>=3.6; python_version<'3.10'",
"pytest",
]
urls.Changelog = "https://github.com/pytest-dev/pytest-randomly/blob/main/CHANGELOG.rst"
Expand All @@ -50,7 +48,6 @@ test = [
"coverage[toml]",
"factory-boy",
"faker",
"importlib-metadata>=3.6; python_version<'3.10'",
"model-bakery>=1.13",
"numpy",
"pytest",
Expand Down
10 changes: 3 additions & 7 deletions src/pytest_randomly/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

import argparse
import random
import sys
from collections.abc import Callable
from functools import lru_cache
from importlib.metadata import entry_points
from itertools import groupby
from types import ModuleType
from typing import Any, Callable, TypeVar
from typing import Any, TypeVar
from zlib import crc32

from _pytest.config import Config
Expand All @@ -15,11 +16,6 @@
from _pytest.nodes import Item
from pytest import Collector, fixture, hookimpl

if sys.version_info < (3, 10):
from importlib_metadata import entry_points
else:
from importlib.metadata import entry_points

# factory-boy
try:
from factory.random import set_random_state as factory_set_random_state
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires =
tox>=4.2
env_list =
py{314, 313, 312, 311, 310, 39}
py{314, 313, 312, 311, 310}

[testenv]
runner = uv-venv-lock-runner
Expand Down
134 changes: 9 additions & 125 deletions uv.lock

Large diffs are not rendered by default.