WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@alfonsoalongi
Copy link

Hi Duo Labs team,

I’m proposing a PR that does two things:

Add Python 3.7+ support and replace pyjq – swap the unmaintained pyjq dependency for the official jq bindings, fix boto3/botocore pinning so installs succeed on current Python, and guard jq.first calls against StopIteration. Installation is now fast and deterministic on Python 3.7 through 3.12.

Migrate the test suite from nose to nose2 – nose 1.x doesn’t run on Python 3.12 because it still imports imp. I’ve switched the assertions to built-in unittest helpers, added unittest.cfg + .coveragerc, and updated the test script. Coverage stays above the same 60 % threshold.

The demo fixtures produce identical output before and after these changes. Let me know if you’d like any tweaks before I open the PR.

@CLAassistant
Copy link

CLAassistant commented Oct 8, 2025

CLA assistant check
All committers have signed the CLA.

@alfonsoalongi
Copy link
Author

alfonsoalongi commented Oct 10, 2025 via email

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