Home > Software engineering >  Would like to relate commit in official cpython library to a python release
Would like to relate commit in official cpython library to a python release

Time:01-28

I'm currently using a package provided to me in a whl file. I was able to install this package using pip. However, when I looked through the source code, it appears that the package expects the _special attribute to exist in the _GenericAlias class of the typing module. In the latest version of python's typing module, it looks like this attribute is not present. However, it looks like it did exist at a certain point in time as shown in GitHub screenshot of commit

In this case 3.9.0a6 .. 3.11.0a4 include it. So if you want a version without this commit, it seems you should go for 3.8.x instead.

That said, a package which depends on the behavior of attributes starting with an _underscore in another package should be fixed as those are typically private, unstable internal APIs within a package.

CodePudding user response:

The attribute you want was removed in commit c1c7d8ead9. The only "release" between 6292be7adf and c1c7d8ead9 is tag v3.9.0a6.

  •  Tags:  
  • Related