Skip to content

Remove obsolete PyPI uuid dependency#105

Merged
urajat merged 1 commit into
cisco-ai-defense:mainfrom
shiva-guntoju-09:remove-obsolete-pypi-uuid-dependency
May 13, 2026
Merged

Remove obsolete PyPI uuid dependency#105
urajat merged 1 commit into
cisco-ai-defense:mainfrom
shiva-guntoju-09:remove-obsolete-pypi-uuid-dependency

Conversation

@shiva-guntoju-09

Copy link
Copy Markdown
Collaborator

Summary

  • The PyPI uuid package (v1.30) is a Python 2-era shim with no wheel. Installing it shadows Python 3's stdlib uuid module, which is incorrect.
  • All SDK code uses only stdlib uuid APIs (uuid.uuid4(), uuid.UUID()), so the PyPI dependency is unnecessary.
  • Removed uuid = "^1.30" from pyproject.toml, uuid>=1.30 from example requirements.txt files, and regenerated poetry.lock.

Test plan

  • poetry install succeeds without the PyPI uuid package
  • Full test suite passes (451 passed, 11 skipped, 0 failures)
  • import uuid; uuid.uuid4() uses stdlib correctly

JIRA

https://cisco-sbg.atlassian.net/browse/AIFW-25024

Made with Cursor

The PyPI `uuid` package (v1.30) is a Python 2-era shim that has no
wheel and shadows Python 3's stdlib uuid module when installed. All
code in this SDK uses only stdlib uuid APIs (uuid.uuid4, uuid.UUID),
so the PyPI dependency is unnecessary and harmful.

Removes the dependency from pyproject.toml, example requirements.txt
files, and regenerates poetry.lock.

Co-authored-by: Cursor <cursoragent@cursor.com>
@urajat urajat merged commit 0d68359 into cisco-ai-defense:main May 13, 2026
5 checks passed
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.

4 participants