Skip to content

Conversation

@cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented May 4, 2022

st2client requires importlib-metadata which requires typing-extensions.
But typing-extensions v4.2.0 dropped support for python3.6, so pin it.

Our CI has been broken on st2 master since April 17: https://github.com/StackStorm/st2/actions/workflows/ci.yaml?page=2
Turns out it’s because of typing-extensions which dropped support for python 3.6 on April 17 with their 4.2.0 release: https://github.com/python/typing/blob/master/typing_extensions/CHANGELOG.md

@cognifloyd cognifloyd added this to the 3.7.0 milestone May 4, 2022
@cognifloyd cognifloyd self-assigned this May 4, 2022
@pull-request-size pull-request-size bot added the size/XS PR that changes 0-9 lines. Quick fix/merge. label May 4, 2022
@cognifloyd cognifloyd requested review from a team and nzlosh May 4, 2022 02:04
@cognifloyd cognifloyd enabled auto-merge May 4, 2022 02:05
@cognifloyd cognifloyd force-pushed the pin-typing-extension branch from 9800b94 to d5e0610 Compare May 4, 2022 02:07
st2client requires importlib-metadata which requires typing-extensions.
But typing-extensions v4.2.0 dropped support for python3.6, so pin it.
@cognifloyd cognifloyd force-pushed the pin-typing-extension branch from d5e0610 to 5607dd8 Compare May 4, 2022 02:14
@nzlosh nzlosh requested review from amanda11 and winem May 4, 2022 06:07
@cognifloyd cognifloyd merged commit 70f06bd into master May 4, 2022
@cognifloyd cognifloyd deleted the pin-typing-extension branch May 4, 2022 09:54
@ytjohn
Copy link
Contributor

ytjohn commented Feb 24, 2023

Do we still need to support Python 3.6? This is mainly an issue with st2sensorcontainer. Many of our sensors use pydantic which has dropped support for typing-extensions<4.2.

pydantic/pydantic#4885

@amanda11
Copy link
Contributor

Yes at the moment. It's still needed for Ubuntu 18.04 support.

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

Labels

component:st2client external dependency python3 size/XS PR that changes 0-9 lines. Quick fix/merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants