File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 1- from pathlib import Path
2-
3- import tomli
4-
5- def get_project_version ():
6- pyproject_path = Path (__file__ ).resolve ().parent .parent / 'pyproject.toml'
7- with open (pyproject_path , 'rb' ) as file :
8- pyproject_data = tomli .load (file )
9- return pyproject_data ['tool' ]['poetry' ]['version' ]
10-
11- DEFAULT_USER_AGENT = "GoPay Python " + get_project_version ()
1+ VERSION = "2.2.3"
2+ DEFAULT_USER_AGENT = "GoPay Python " + VERSION
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ name = "gopay"
1414packages = [{include = " gopay" }]
1515readme = " README.md"
1616repository = " https://github.com/gopaycommunity/gopay-python-api"
17- version = " 2.2.2 "
17+ version = " 2.2.3 "
1818
1919[tool .poetry .dependencies ]
2020deprecated = " ^1.2.14"
You can’t perform that action at this time.
0 commit comments