Align varcode with the openvax stack baseline (Python 2 __future__ imports)

Open Beginner friendly
#696 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
88/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
backend

Research direction

Read the four named package and test files: varcode/effects/__init__.py, varcode/nucleotides.py, varcode/string_helpers.py, and tests/__init__.py. Confirm the __future__ imports are present, then run the relevant test suite. Done when those four imports are removed and tests pass.

Written by the indexing model from the issue text.

Description

Problem

Varcode's remaining gaps against the openvax stack baseline are mostly tracked already:

  • #612: pandas 3 (requirements.txt still allows pandas>=2.2.2 and CI keeps a pandas>=2.2.2,<3 leg).
  • #640: Biopython in the test-data extra and five test modules.

One deviation has no issue: Python 2 __future__ imports in three package modules and the test package. Varcode requires Python 3.11 (AGENTS.md: "Python 3.11+"), and these imports do nothing on any Python 3.

Evidence

Read at d1b4280. Neither open PR (#683, #689) touches these files.

from __future__ import print_function, division, absolute_import appears in:

  • varcode/effects/__init__.py:13
  • varcode/nucleotides.py:13
  • varcode/string_helpers.py:13
  • tests/__init__.py:13

Suggested fix

Delete the four lines.

https://claude.ai/code/session_01JHJhwj29oDqoeu7TYd34Pi

Dominant language
Python
Stars
88
Forks
28
Avg merge
3h 17m
Merged PRs (30d)
52

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openvax/varcode

All issues in openvax/varcode

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.