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
2
2
============
3
3
4
4
5
- Version v1.2.9 as of 2023-07-21 see `Changelog `_
5
+ Version v1.2.10 as of 2023-10-13 see `Changelog `_
6
6
7
7
8
8
.. include :: ./badges.rst
Original file line number Diff line number Diff line change 20
20
.. |pypi | image :: https://img.shields.io/pypi/status/lib-platform?label=PyPI%20Package
21
21
:target: https://badge.fury.io/py/lib_platform
22
22
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
24
27
:target: https://codecov.io/gh/bitranox/lib_platform
25
28
26
29
.. |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 63
63
RST_INCLUDE_TARGET : " ./README.rst"
64
64
# make Code Coverage Secret available in Environment
65
65
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 }}
68
68
69
69
70
70
strategy :
Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ Changelog
5
5
- new MINOR version for added functionality in a backwards compatible manner
6
6
- new PATCH version for backwards compatible bug fixes
7
7
8
+ v1.2.10
9
+ --------
10
+ 2023-10-13:
11
+ - patch doctest for osx
12
+
8
13
v1.2.9
9
14
--------
10
15
2023-07-21:
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ lib_platform
2
2
============
3
3
4
4
5
- Version v1.2.9 as of 2023-07-21 see `Changelog `_
5
+ Version v1.2.10 as of 2023-10-13 see `Changelog `_
6
6
7
7
|build_badge | |codeql | |license | |jupyter | |pypi |
8
8
|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`_
26
26
.. |pypi | image :: https://img.shields.io/pypi/status/lib-platform?label=PyPI%20Package
27
27
:target: https://badge.fury.io/py/lib_platform
28
28
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
30
33
:target: https://codecov.io/gh/bitranox/lib_platform
31
34
32
35
.. |cc_maintain | image :: https://img.shields.io/codeclimate/maintainability-percentage/bitranox/lib_platform?label=CC%20maintainability
@@ -266,6 +269,11 @@ Changelog
266
269
- new MINOR version for added functionality in a backwards compatible manner
267
270
- new PATCH version for backwards compatible bug fixes
268
271
272
+ v1.2.10
273
+ --------
274
+ 2023-10-13:
275
+ - patch doctest for osx
276
+
269
277
v1.2.9
270
278
--------
271
279
2023-07-21:
Original file line number Diff line number Diff line change 2
2
3
3
name = 'lib_platform'
4
4
title = 'some platform related functions, which also work correctly on wine'
5
- version = 'v1.2.9 '
5
+ version = 'v1.2.10 '
6
6
url = 'https://github.com/bitranox/lib_platform'
7
7
author = 'Robert Nowotny'
8
8
author_email = '[email protected] '
@@ -16,7 +16,7 @@ def print_info() -> None:
16
16
17
17
some platform related functions, which also work correctly on wine
18
18
19
- Version : v1.2.9
19
+ Version : v1.2.10
20
20
Url : https://github.com/bitranox/lib_platform
21
21
Author : Robert Nowotny
22
22
Original file line number Diff line number Diff line change @@ -50,12 +50,13 @@ def get_hostname() -> str:
50
50
51
51
def _get_fqdn_by_hostname () -> str :
52
52
"""
53
- Returns fqdn by hostname
53
+ Returns fqdn by hostname - will be only used on windows
54
54
if You use just socket.getfqdn(), it will return 'dslauncher.3ds.com' if Solid Works 3DExperience is installed.
55
55
this is because they tinker with the loopback address
56
56
therefore we get hostname --> ip adress --> fqdn
57
57
58
- >>> assert _get_fqdn_by_hostname()
58
+ >>> if get_is_platform_windows(): \
59
+ assert _get_fqdn_by_hostname() is not None
59
60
60
61
"""
61
62
_hostname_short = socket .gethostname ()
Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ classifiers = [
26
26
# dependencies - former setup.cfg "install_requires"
27
27
# see: https://setuptools.pypa.io/en/latest/userguide/dependency_management.html
28
28
dependencies = [
29
- " click" ,
30
29
" cli_exit_tools" ,
30
+ " click" ,
31
31
" lib_registry" ,
32
32
]
33
- version = " v1.2.9 "
33
+ version = " v1.2.10 "
34
34
# seems to be not allowed anymore
35
35
# zip-save = false
36
36
@@ -60,9 +60,9 @@ test = [
60
60
61
61
[tool .setuptools .package-data ]
62
62
lib_platform = [
63
- " py.typed" ,
64
63
" *.pyi" ,
65
64
" __init__.pyi" ,
65
+ " py.typed" ,
66
66
]
67
67
68
68
[tool .black ]
You can’t perform that action at this time.
0 commit comments