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

Migrate to new pyasn1 version from https://github.com/inexio/pyasn1 #16

Open
eckelj opened this issue Jun 14, 2022 · 0 comments
Open

Migrate to new pyasn1 version from https://github.com/inexio/pyasn1 #16

eckelj opened this issue Jun 14, 2022 · 0 comments

Comments

@eckelj
Copy link

eckelj commented Jun 14, 2022

currently a warning exists:

tests/test_condition.py: 1 warning
tests/test_fulfillment.py: 197 warnings
tests/test_generated_valid_spec.py: 398 warnings
/home/juergen/develop/pl-zenroom/planetmint/venv/lib/python3.9/site-packages/pyasn1/type/univ.py:711: DeprecationWarning: int returned non-int (type SizedInteger). The ability to return an instance of a strict subclass of int is deprecated, and may be removed in a future version of Python.
return SizedInteger(value).setBitLength(len(value))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

we could overcome this by moving to a new pyasn1 version maintained by inexio.
unfortunately, they do not publish releaeses on pypi.
we need to identify how we could use this but continue to be able to push our solution to pypi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants