Skip to content

Modernize dependencies, tests, and Python support. - #221

Merged
sdhutchins merged 7 commits into
devfrom
dedupe
Jul 14, 2026
Merged

Modernize dependencies, tests, and Python support.#221
sdhutchins merged 7 commits into
devfrom
dedupe

Conversation

@sdhutchins

@sdhutchins sdhutchins commented Jul 14, 2026

Copy link
Copy Markdown
Member

Changes proposed in this pull request:

  • Remove duplicated test classes and consolidate repeated FASTA filename tests.
  • Simplify temporary-directory cleanup with addCleanup.
  • Update the generated Flask website dependencies for Flask 3.1.3 and pytest 9.0.3.
  • Replace deprecated pkg_resources usage with importlib.metadata.
  • Set the supported Python range to 3.11 and 3.12.
  • Align the CI matrix and package classifiers with the supported Python versions.
  • Improve setup-script permission handling and modernize related code paths.

Python compatibility

OrthoEvolution now requires:

Python >=3.11,<3.13

Python 3.13 and 3.14 are excluded because ETE3 imports the removed standard-library
cgi module. The latest ETE3 release has the same incompatibility, so upgrading
ETE3 alone does not resolve the collection failure.

@codecov

codecov Bot commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.45283% with 4 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (dev@f2fcd35). Learn more about missing BASE report.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
OrthoEvol/Tools/sge/sgejob.py 0.00% 2 Missing ⚠️
OrthoEvol/Manager/biosql/biosql.py 80.00% 1 Missing ⚠️
OrthoEvol/Manager/database_management.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##             dev     #221   +/-   ##
======================================
  Coverage       ?   37.90%           
======================================
  Files          ?       70           
  Lines          ?     4327           
  Branches       ?        0           
======================================
  Hits           ?     1640           
  Misses         ?     2687           
  Partials       ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sdhutchins

Copy link
Copy Markdown
Member Author

This will have to stay open a bit as mygene's dealing with a proxy issue for their API.

@sdhutchins sdhutchins changed the title Dedupe Modernize dependencies, tests, and Python support. Jul 14, 2026
@sdhutchins
sdhutchins merged commit 5914295 into dev Jul 14, 2026
5 checks passed
@sdhutchins
sdhutchins deleted the dedupe branch July 14, 2026 17:12
sdhutchins added a commit that referenced this pull request Jul 14, 2026
* Fixes to readme.

* Add tests for Genbank.

* Add align tests.

* Convert README to md.

* Tweaks to readme formatting.

* Add MIT license.

* Add pyproject.toml.

* Fixing manifest and setup files.

* Fix docs ci.

* Fix cookiecutter classifier.

* Update CITATION.cff with author and version info.

Updated author information and added email addresses. Changed version to 1.0.0b2 and added repository code and license details.

* Bump werkzeug (#218)

Bumps [werkzeug](https://github.com/pallets/werkzeug) from 0.15.3 to 3.1.5.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](pallets/werkzeug@0.15.3...3.1.5)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-version: 3.1.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add tests for Genbank.

* Add align tests.

* Convert README to md.

* Tweaks to readme formatting.

* Fixing manifest and setup files.

* Modernize dependencies, tests, and Python support. (#221)

* Refactor post-installation script permissions handling in setup.py.

* Make the Cookiecutter Flask stack compatible with Flask 3.1.3 and Python 3.11+.

* Deprecate pkg_resources.

* Update CI workflow to limit branches for push and pull request triggers to 'main' and 'dev'.

* Update PackageVersion test to use 'OrthoEvol' as the package name.

* Update Python version requirements in pyproject.toml and CI workflow to restrict support to Python 3.11 and 3.12.

* Refactor data management to use updated config import and add unit tests for resource consumers.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant