Skip to content

Update nac-test dependency constraint to >=2.0 after PyPI release #20

@oboehmer

Description

@oboehmer

Context

As part of resolving the circular dependency (see #19), we temporarily removed the version constraint from the nac-test dependency in pyproject.toml:

dependencies = [
    "httpx>=0.28",
    "nac-test",  # No version constraint during development
]

This allows flexibility during development when devs have nac-test installed in dev mode.

Task

Once nac-test v2.0 is released to PyPI, update the dependency constraint to:

dependencies = [
    "httpx>=0.28",
    "nac-test>=2.0",  # Require v2.0+ which includes PyATS functionality
]

Why This Matters

  • Ensures users get a compatible version of nac-test from PyPI
  • Prevents installation of old nac-test versions that lack PyATS functionality
  • Follows semantic versioning best practices

Checklist

  • Wait for nac-test v2.0 to be published to PyPI
  • Update pyproject.toml with version constraint
  • Remove TODO comment
  • Test installation from PyPI
  • Release new version of nac-test-pyats-common

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions