Skip to content

Modernize PythonVRFT packaging and update core dependencies to recent versions#30

Open
git-thor wants to merge 2 commits into
rssalessio:masterfrom
git-thor:master
Open

Modernize PythonVRFT packaging and update core dependencies to recent versions#30
git-thor wants to merge 2 commits into
rssalessio:masterfrom
git-thor:master

Conversation

@git-thor
Copy link
Copy Markdown

@git-thor git-thor commented May 17, 2026

This PR migrates the project from legacy setup.py to the modern pyproject.toml standard using uv as the package manager. Key changes include:

  • Package management: Replaced setup.py with pyproject.toml and added uv.lock for reproducible builds
  • Dependencies: Updated to SciPy 1.17.1 and NumPy 2.4.5 with proper version markers for Python compatibility
  • Tests: Fixed compatibility issues in test_utils.py and test_vrft.py for new library versions
  • Documentation: Updated README.md with new installation instructions

The changes ensure the project uses modern Python packaging standards while maintaining compatibility across Python 3.7–3.14

Main changes

  • Import TransferFunction(Discrete) from the migrated new SciPy module from scipy.signal.ltisys import TransferFunction as TransFun $\rightarrow$ from scipy.signal._ltisys import TransferFunctionDiscrete, TransferFunction as TransFun
  • Fix tests with np.infty $\rightarrow$ np.inf

Note: There are a lot of formatting / whitespaces / linting topics that could be proposed but I didn't want to spoil this merge request with noise.

git-thor added 2 commits May 17, 2026 12:11
- Update to recent SciPy (v1.17+) and NumPy (v2.4+) versions
- Fix refactoring / deprecation issues of SciPy TransferFunction module and NumPy np.inf
- Replace setup.py with pyproject.toml for modern Python packaging
- Update README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant