Skip to content

Comments

Modernize for Python 3 and update dependencies#54

Open
osdf wants to merge 6 commits intomasterfrom
fix-and-modernize
Open

Modernize for Python 3 and update dependencies#54
osdf wants to merge 6 commits intomasterfrom
fix-and-modernize

Conversation

@osdf
Copy link
Collaborator

@osdf osdf commented Jan 15, 2026

  • Drop Python 2 support: remove future imports, compat.py, and Py2 syntax
  • Replace deprecated stdlib: imp → importlib, collections.Iterable → collections.abc.Iterable, getargspec → getfullargspec
  • Fix NotImplemented → NotImplementedError exceptions
  • Replace scipy functions with numpy equivalents where appropriate
  • Migrate tests from nose to pytest
  • Switch to pyproject.toml, remove setup.py/requirements.txt
  • Replace Travis CI with GitHub Actions
  • Remove gnumpy (https://www.cs.toronto.edu/~tijmen/gnumpy.html)

Almost all of this was done by CC.

  - Drop Python 2 support: remove __future__ imports, compat.py, and Py2 syntax
  - Replace deprecated stdlib: imp → importlib, collections.Iterable → collections.abc.Iterable, getargspec → getfullargspec
  - Fix NotImplemented → NotImplementedError exceptions
  - Replace scipy functions with numpy equivalents where appropriate
  - Migrate tests from nose to pytest
  - Switch to pyproject.toml, remove setup.py/requirements.txt
  - Replace Travis CI with GitHub Actions
@osdf osdf mentioned this pull request Jan 15, 2026
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.

2 participants