You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For version 1 of the web framework, I recommend using built-in features to obtain the version at runtime.
Python 3.11.0 (main, Oct 30 2022, 14:13:55) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license"for more information.
>>> import pkg_resources
>>> pkg_resources.get_distribution("blacksheep").version
'1.2.16'
>>> from importlib.metadata import version
>>> version("blacksheep")
'1.2.16'
Marked as completed, as the version for v1 can be obtained using the option described above, and v2 (currently still alpha) now uses a dynamic version.
馃殌 Feature Request
I was having a lot of trouble with 1.2.12 which was resolved by upgrading to 1.2.14.
I scoured the blacksheep source code but could not find a way to query for this information at runtime.
It would be nice if I could add some startup logic to my app to check for known issues, something like:
The text was updated successfully, but these errors were encountered: