Skip to content

Updating pseudopy to the recent python ecosystem evolutions#13

Open
nennigb wants to merge 15 commits into
andrenarchy:masterfrom
nennigb:update-dependencies
Open

Updating pseudopy to the recent python ecosystem evolutions#13
nennigb wants to merge 15 commits into
andrenarchy:masterfrom
nennigb:update-dependencies

Conversation

@nennigb

@nennigb nennigb commented Jul 8, 2026

Copy link
Copy Markdown

This PR aims at updating pseudopy to the recent python ecosystem evolutions.

This PR contains five kinds of modification:

  1. Shapely v2.0 evolution :

  2. Matplotlib evolution on contour since v3.8
    see https://discourse.matplotlib.org/t/collections-attribute-deprecation-in-version-3-8/24164/7

  3. Numpy v2 evolution

    • Change np.Inf into np.inf when required
    • Change np.complex to complex
  4. Python packaging evolution (distutils has been removed)

    • Add explicitly nose2 dependancy
    • Remove setup.py and use pyproject.toml to stay closer to new standards
    • Use hatchling as build-backend. Hatchling is developed and maintained by the PyPA (Python Packaging Authority)
    • remove outdated requirements.txt and MANIFEST.in
  5. Update tests

    • fix dependencies evolutions
    • move to nose2
    • add github action CI script
  6. Fix missing argument to use lanczos

    • Uniformize 'lanczosinv' (undefined) to 'lanczos'
    • Add missing 'method' argument in super call

All tests pass and the CI output can be checked on
https://github.com/nennigb/pseudopy/actions/runs/28940523964
for python 3.11 to 3.14

Let me know if you want that I split the PR or I make some modification.

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