File tree Expand file tree Collapse file tree 8 files changed +30
-13
lines changed
Expand file tree Collapse file tree 8 files changed +30
-13
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ lib_platform
22============
33
44
5- Version v1.2.9 as of 2023-07-21 see `Changelog `_
5+ Version v1.2.10 as of 2023-10-13 see `Changelog `_
66
77
88.. include :: ./badges.rst
Original file line number Diff line number Diff line change 2020 .. |pypi | image :: https://img.shields.io/pypi/status/lib-platform?label=PyPI%20Package
2121 :target: https://badge.fury.io/py/lib_platform
2222
23- .. |codecov | image :: https://img.shields.io/codecov/c/github/bitranox/lib_platform
23+ .. badge until 2023-10-08:
24+ .. https://img.shields.io/codecov/c/github/bitranox/lib_platform
25+ .. badge from 2023-10-08:
26+ .. |codecov | image :: https://codecov.io/gh/bitranox/lib_platform/graph/badge.svg
2427 :target: https://codecov.io/gh/bitranox/lib_platform
2528
2629.. |cc_maintain | image :: https://img.shields.io/codeclimate/maintainability-percentage/bitranox/lib_platform?label=CC%20maintainability
Original file line number Diff line number Diff line change 6363 RST_INCLUDE_TARGET : " ./README.rst"
6464 # make Code Coverage Secret available in Environment
6565 CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
66- # make PyPi Password available in Environment
67- PYPI_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
66+ # make PyPi API token available in Environment
67+ PYPI_UPLOAD_API_TOKEN : ${{ secrets.PYPI_UPLOAD_API_TOKEN }}
6868
6969
7070 strategy :
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ Changelog
55- new MINOR version for added functionality in a backwards compatible manner
66- new PATCH version for backwards compatible bug fixes
77
8+ v1.2.10
9+ --------
10+ 2023-10-13:
11+ - patch doctest for osx
12+
813v1.2.9
914--------
10152023-07-21:
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ lib_platform
22============
33
44
5- Version v1.2.9 as of 2023-07-21 see `Changelog `_
5+ Version v1.2.10 as of 2023-10-13 see `Changelog `_
66
77|build_badge | |codeql | |license | |jupyter | |pypi |
88|pypi-downloads | |black | |codecov | |cc_maintain | |cc_issues | |cc_coverage | |snyk |
@@ -26,7 +26,10 @@ Version v1.2.9 as of 2023-07-21 see `Changelog`_
2626 .. |pypi | image :: https://img.shields.io/pypi/status/lib-platform?label=PyPI%20Package
2727 :target: https://badge.fury.io/py/lib_platform
2828
29- .. |codecov | image :: https://img.shields.io/codecov/c/github/bitranox/lib_platform
29+ .. badge until 2023-10-08:
30+ .. https://img.shields.io/codecov/c/github/bitranox/lib_platform
31+ .. badge from 2023-10-08:
32+ .. |codecov | image :: https://codecov.io/gh/bitranox/lib_platform/graph/badge.svg
3033 :target: https://codecov.io/gh/bitranox/lib_platform
3134
3235.. |cc_maintain | image :: https://img.shields.io/codeclimate/maintainability-percentage/bitranox/lib_platform?label=CC%20maintainability
@@ -266,6 +269,11 @@ Changelog
266269- new MINOR version for added functionality in a backwards compatible manner
267270- new PATCH version for backwards compatible bug fixes
268271
272+ v1.2.10
273+ --------
274+ 2023-10-13:
275+ - patch doctest for osx
276+
269277v1.2.9
270278--------
2712792023-07-21:
Original file line number Diff line number Diff line change 22
33name = 'lib_platform'
44title = 'some platform related functions, which also work correctly on wine'
5- version = 'v1.2.9 '
5+ version = 'v1.2.10 '
66url = 'https://github.com/bitranox/lib_platform'
77author = 'Robert Nowotny'
88author_email = 'bitranox@gmail.com'
@@ -16,7 +16,7 @@ def print_info() -> None:
1616
1717 some platform related functions, which also work correctly on wine
1818
19- Version : v1.2.9
19+ Version : v1.2.10
2020 Url : https://github.com/bitranox/lib_platform
2121 Author : Robert Nowotny
2222 Email : bitranox@gmail.com""" )
Original file line number Diff line number Diff line change @@ -50,12 +50,13 @@ def get_hostname() -> str:
5050
5151def _get_fqdn_by_hostname () -> str :
5252 """
53- Returns fqdn by hostname
53+ Returns fqdn by hostname - will be only used on windows
5454 if You use just socket.getfqdn(), it will return 'dslauncher.3ds.com' if Solid Works 3DExperience is installed.
5555 this is because they tinker with the loopback address
5656 therefore we get hostname --> ip adress --> fqdn
5757
58- >>> assert _get_fqdn_by_hostname()
58+ >>> if get_is_platform_windows(): \
59+ assert _get_fqdn_by_hostname() is not None
5960
6061 """
6162 _hostname_short = socket .gethostname ()
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ classifiers = [
2626# dependencies - former setup.cfg "install_requires"
2727# see: https://setuptools.pypa.io/en/latest/userguide/dependency_management.html
2828dependencies = [
29- " click" ,
3029 " cli_exit_tools" ,
30+ " click" ,
3131 " lib_registry" ,
3232]
33- version = " v1.2.9 "
33+ version = " v1.2.10 "
3434# seems to be not allowed anymore
3535# zip-save = false
3636
@@ -60,9 +60,9 @@ test = [
6060
6161[tool .setuptools .package-data ]
6262lib_platform = [
63- " py.typed" ,
6463 " *.pyi" ,
6564 " __init__.pyi" ,
65+ " py.typed" ,
6666]
6767
6868[tool .black ]
You can’t perform that action at this time.
0 commit comments