Skip to content

Commit e8f600d

Browse files
gijzelaerrclaude
andcommitted
Update documentation for Python 3.10+ requirement
- Update README.rst: Python 3.9+ -> 3.10+ - Update CLAUDE.md: Python 3.9+ -> 3.10+ - Update doc/introduction.rst: Python 3.7+ -> 3.10+, snap7 1.1.0 -> 1.4.2 - Fix Makefile: uv run pip -> uv pip for sphinx-build target 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f6af92c commit e8f600d

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
44

55
## Project Overview
66

7-
Python-snap7 is a Python wrapper for the Snap7 library, providing Ethernet communication with Siemens S7 PLCs. The library supports Python 3.9+ and runs on Windows, Linux, and macOS.
7+
Python-snap7 is a Python wrapper for the Snap7 library, providing Ethernet communication with Siemens S7 PLCs. The library supports Python 3.10+ and runs on Windows, Linux, and macOS.
88

99
## Key Architecture
1010

@@ -161,7 +161,7 @@ pytest tests/
161161
- **pyproject.toml**: Main project configuration with build, dependencies, and tool settings
162162
- **tox.ini**: Multi-environment testing configuration
163163
- **.pre-commit-config.yaml**: Pre-commit hooks for code quality
164-
- **Ruff**: Line length set to 130, targets Python 3.9+
164+
- **Ruff**: Line length set to 130, targets Python 3.10+
165165
- **MyPy**: Strict mode enabled with specific error code exceptions
166166
- **Protocol exclusion**: snap7/protocol.py is excluded from some linting due to generated bindings
167167

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ all: test
1515
uv pip install -e ".[test]"
1616

1717
.venv/bin/sphinx-build: .venv/
18-
uv run pip install -e ".[doc,cli]"
18+
uv pip install -e ".[doc,cli]"
1919

2020
.venv/bin/tox: .venv/
2121
uv pip install tox tox-uv

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ About
44
This is a Python wrapper for Snap7, an open-source, 32/64 bit, multi-platform Ethernet communication suite for interfacing natively
55
with Siemens S7 PLCs.
66

7-
Python-snap7 is tested with Python 3.9+, on Windows, Linux and OS X.
7+
Python-snap7 is tested with Python 3.10+, on Windows, Linux and OS X.
88

99
The full documentation is available on `Read The Docs <https://python-snap7.readthedocs.io/en/latest/>`_.
1010

doc/introduction.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ python-snap7 is a Python wrapper for the
66
32/64 bit, multi-platform Ethernet communication suite for interfacing natively
77
with Siemens S7 PLCs.
88

9-
Python-snap7 is developer for snap7 1.1.0 and Python 3.7+. It is tested
10-
on Windows (10 64 bit), OSX 10.15 and Linux, but it may work on other operating
11-
systems. Python Versions <3.7 may work, but is not supported anymore.
9+
Python-snap7 is developed for snap7 1.4.2 and Python 3.10+. It is tested
10+
on Windows, macOS and Linux. Python versions below 3.10 are not supported.
1211

1312
The project development is centralized on `github <https://github.com/gijzelaerr/python-snap7>`_.

0 commit comments

Comments
 (0)