Nike-Inc / gimme-aws-creds

A CLI that utilizes Okta IdP via SAML to acquire temporary AWS credentials
Apache License 2.0
925 stars 263 forks source link

Cannot update to latest version on Windows #337

Closed ehrlich-b closed 5 months ago

ehrlich-b commented 2 years ago

I'm attempting to update to the latest version, in order to get the bugfixes for webauthn (specifically https://github.com/Nike-Inc/gimme-aws-creds/issues/284). However, I am not able to upgrade to any version higher than 2.4.0

Expected Behavior

pip3 install gimme-aws-creds==2.4.4 should succeed on Windows.

Current Behavior

gimme-aws-creds==2.4.4 fails to install due to a dependency issue:

ERROR: Could not find a version that satisfies the requirement winrt>=1.0.20330.1; platform_system == "Windows" and python_version >= "3.7" (from ctap-keyring-device) (from versions: none)
ERROR: No matching distribution found for winrt>=1.0.20330.1; platform_system == "Windows" and python_version >= "3.7"

Possible Solution

Downgrade to the version of ctap-keyring-device used in 2.4.0, which has apparently not dropped Windows support.

Steps to Reproduce (for bugs)

  1. Run pip3 install gimme-aws-creds==2.4.4 on Windows

Context

I am attempting to take the latest version, to get the most recent webauthn bug fixes (specifically https://github.com/Nike-Inc/gimme-aws-creds/issues/284).

Your Environment

markjreed commented 2 years ago

On Windows, ctap-keyring-device depends on winrt, which does not support Python newer than 3.9. Since it doesn't look like Microsoft is going to be updating winrt, there's now a community-maintained replacement called winsdk. I've submitted an issue and PR against c-k-d asking to swap it in for winrt. As far as I can tell that's the only fix short of switching from ctap-keyring-device to some other module or implementing its functionality locally within g-a-c.

BentleyDavis commented 10 months ago

I'm not really familiar with python. Has your PR been merged and deployed? https://github.com/dany74q/ctap-keyring-device/pull/9 I'm still having trouble with this.

trent-annalect commented 8 months ago

All of our Windows users are experiencing this issue as well.

ayushmankd commented 8 months ago

Any workaround for this?

whiletrue111 commented 7 months ago

same here , is there any fix planed ? using python 3.11 on windows .

epierce commented 5 months ago

fixed in 2.8.2