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

deprecated library on textio #1533

Closed
subbyte opened this issue Jul 19, 2023 · 0 comments
Closed

deprecated library on textio #1533

subbyte opened this issue Jul 19, 2023 · 0 comments
Assignees

Comments

@subbyte
Copy link
Member

subbyte commented Jul 19, 2023

Describe the bug
A kestrel test gives a deprecated lib warning:

tests/test_command_get.py::test_get_single_stixshifter_stix_bundle
  /lib/python3.11/site-packages/stix_shifter_utils/stix_translation/src/patterns/grammar/STIXPatternLexer.py:4: DeprecationWarning: typing.io is deprecated, import directly from typing instead. typing.io will be removed in Python 3.12.
    from typing.io import TextIO

To Reproduce
run pytest in kestrel-lang

Expected behavior
no warning.

Desktop (please complete the following information):

  • OS: archlinux
  • Python: 3.11.3
  • stix-shifter: 5.3.1
@subbyte subbyte self-assigned this Jul 19, 2023
subbyte added a commit to subbyte/stix-shifter that referenced this issue Jul 19, 2023
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