Project modernization - #194
Merged
Merged
Conversation
added 3 commits
January 10, 2026 15:27
Removed: - unittests script (tests now run via pytest) - systemtests script (covered by pytest tests) - doc/ directory (outdated sphinx docs) - --mode test CLI option Refactored tests: - Converted from unittest to pytest style - Use pytest fixtures instead of setUp/tearDown - Cleaner test class and method names - Removed suite() functions Updated: - .gitignore with modern Python patterns - CLI simplified (client/server modes only)
New test_system.py includes: - TestSystemEndToEnd: Spins up fteproxy client and server processes - test_basic_data_transfer: Simple data through proxy - test_large_data_transfer: 64KB data transfer - test_multiple_connections: Sequential connections - TestCLI: Tests for command-line interface - test_version, test_help, test_invalid_mode Updated GitHub Actions: - Split into unit-tests and system-tests jobs - System tests run on Python 3.10-3.12 (fewer versions, longer tests) - Added pytest-timeout to requirements
New files: - PYPI_README.md: Concise README for PyPI package page - pyproject.toml: Modern Python packaging configuration - .github/workflows/publish.yml: PyPI publishing workflow The publish workflow: - Triggers on GitHub releases (publishes to PyPI) - Can be manually triggered for TestPyPI or PyPI - Uses trusted publishing (OIDC) for secure uploads - Builds and validates package before publishing Updated: - setup.py: Cleaned up, uses PYPI_README.md - MANIFEST.in: Include new files in distribution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR modernizes the fteproxy project infrastructure: