Merged
Conversation
felixatmaltego
approved these changes
Oct 30, 2025
Collaborator
felixatmaltego
left a comment
There was a problem hiding this comment.
Pipeline is failing
|
@lucy90 , @felixatmaltego : Python 3.8 support for Flask was dropped on v3.1.0, and also Python 3.8 has been EOL for more than a year. You should upgrade Python to at least 3.10 for this to work, although I'd upgrade to a version that at least is on bugfix status, like 3.13 or 3.14. Also, the Even upgrading ❯ ../.venv/bin/pytest --snapshot-update
=========================== test session starts ============================
platform darwin -- Python 3.13.5, pytest-9.0.1, pluggy-1.6.0
rootdir: /Users/alvaro/Documents/personal/repos/maltego-trx
plugins: mock-3.15.1, syrupy-5.0.0
collected 31 items
test_decorator_registry.py ........ [ 25%]
test_mtz.py ....... [ 48%]
test_property_mapping.py . [ 51%]
test_xml.py ............... [100%]
============================= warnings summary =============================
tests/test_decorator_registry.py::test_write_local_mtz_emit_global_settings_warning
tests/test_decorator_registry.py::test_write_local_mtz_emit_settings_warning
/Users/alvaro/Documents/personal/repos/maltego-trx/maltego_trx/mtz.py:7: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
timestamp = timestamp or datetime.datetime.utcnow()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------------------------- snapshot report summary --------------------------
30 snapshots updated.
====================== 31 passed, 2 warnings in 0.08s ======================If you want me to do a PR for this, just let me know. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update cryptography (45.0.5), requests (2.32.4) and Flask (3.1.1) dependencies