Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sha1collisiondetection and pyo3 dependency #140

Closed
kushaldas opened this issue Jun 6, 2023 · 1 comment
Closed

Update sha1collisiondetection and pyo3 dependency #140

kushaldas opened this issue Jun 6, 2023 · 1 comment

Comments

@kushaldas
Copy link
Owner

We need to update sha1collisiondetection to 0.2.7 or else the following error comes in Rust 1.7.0

$ python3 -m pytest -vvv
==================================================== test session starts =====================================================
platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0 -- /home/kdas/code/johnnycanencrypt/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /home/kdas/code/johnnycanencrypt
plugins: anyio-3.7.0
collected 79 items                                                                                                           

tests/test_encrypt_decrypt.py::test_encryption_of_multiple_keys_to_files Fatal Python error: Aborted

Current thread 0x00007f25cf994740 (most recent call first):
  File "/home/kdas/code/johnnycanencrypt/tests/test_encrypt_decrypt.py", line 22 in test_encryption_of_multiple_keys_to_files
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/python.py", line 194 in pytest_pyfunc_call
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/python.py", line 1799 in runtest
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/runner.py", line 169 in pytest_runtest_call
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/runner.py", line 262 in <lambda>
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/runner.py", line 341 in from_call
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/runner.py", line 261 in call_runtest_hook
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/runner.py", line 222 in call_and_report
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/runner.py", line 133 in runtestprotocol
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/runner.py", line 114 in pytest_runtest_protocol
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/main.py", line 348 in pytest_runtestloop
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/main.py", line 323 in _main
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/main.py", line 269 in wrap_session
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/main.py", line 316 in pytest_cmdline_main
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/config/__init__.py", line 166 in main
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/_pytest/config/__init__.py", line 189 in console_main
  File "/home/kdas/code/johnnycanencrypt/.venv/lib64/python3.11/site-packages/pytest/__main__.py", line 5 in <module>
  File "<frozen runpy>", line 88 in _run_code
  File "<frozen runpy>", line 198 in _run_module_as_main
Aborted (core dumped)
@kushaldas
Copy link
Owner Author

Will create the PR in the morning.

kushaldas added a commit that referenced this issue Jun 8, 2023
Fixes #140 updates sha1collisiondetection & pyo3
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

No branches or pull requests

1 participant