• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zhmcclient / zhmccli
41%
master: 40%

Build:
Build:
LAST BUILD BRANCH: andy/rm-travis
DEFAULT BRANCH: master
Repo Added 21 Sep 2017 07:40AM UTC
Files 34
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH andy/make-pbr-importerror
branch: andy/make-pbr-importerror
CHANGE BRANCH
x
Reset
  • andy/make-pbr-importerror
  • 0.18.0
  • 1.12/andy/fix-all-option
  • 1.12/andy/fix-ceased
  • 1.12/andy/fix-check-reqs-safety
  • 1.12/andy/fix-ignored-options
  • 1.12/andy/fix-repl-exit
  • 1.12/andy/fix-sg-ports
  • 1.12/andy/prepare-ubuntu-24.04
  • 1.12/andy/pypi-trusted-publishing
  • 1.12/andy/safety-2025-01
  • 1.12/andy/safety-2025-02-23
  • 1.12/andy/safety-2025-02-26
  • 1.12/andy/safety-dependencies
  • 1.12/andy/sg-adapter-name
  • 1.13/andy/authors-order
  • 1.13/andy/fix-dpm-export-cpc-properties
  • 1.13/andy/fix-is-flag
  • 1.13/andy/fix-makefile-testcases
  • 1.13/andy/fix-name-access
  • 1.13/andy/fix-pydantic-core-deps
  • 1.13/andy/fix-typer-0.17
  • 1.13/andy/safety-2025-06-04
  • 1.13/andy/safety-2025-07-23
  • 1.13/anil/zhmccli/upgrade-nltk
  • 1.13/anil/zhmccli/upgrade-safety-version
  • andy/add-client-version
  • andy/add-cryptography-min
  • andy/add-filter-support
  • andy/add-format-tests
  • andy/add-lpar-force
  • andy/add-unit-test-concept
  • andy/authors-order
  • andy/builddoc-version-consistency
  • andy/change-crypto-mode
  • andy/changelog-in-master-docs
  • andy/check-changes
  • andy/commit-checks
  • andy/consolidate-test-output
  • andy/coveralls-retries
  • andy/csv-output
  • andy/debug-builddoc-version
  • andy/doclinkcheck
  • andy/docs-logging
  • andy/e2e-hw-message
  • andy/e2e_characterrule
  • andy/enable-manual-ci-runs
  • andy/end2end-test-concept
  • andy/executable
  • andy/executable-pipx
  • andy/extend-csv-tests
  • andy/fix-2
  • andy/fix-all-option
  • andy/fix-author-mailmap
  • andy/fix-broken-doclinks
  • andy/fix-build-error
  • andy/fix-ceased
  • andy/fix-check-reqs
  • andy/fix-check-reqs-safety
  • andy/fix-commit-checks
  • andy/fix-console-logger
  • andy/fix-dpm-export-cpc-properties
  • andy/fix-e2e-session
  • andy/fix-e2e-session-logoff
  • andy/fix-git-appveyor
  • andy/fix-ignored-options
  • andy/fix-is-flag
  • andy/fix-make-dependencies
  • andy/fix-make-test
  • andy/fix-makefile
  • andy/fix-makefile-testcases
  • andy/fix-name-access
  • andy/fix-new-flake8
  • andy/fix-pydantic-core-deps
  • andy/fix-pytokens-dep
  • andy/fix-readline
  • andy/fix-readline-windows
  • andy/fix-release-verify
  • andy/fix-repl-exit
  • andy/fix-repl-password
  • andy/fix-scheduled-runs
  • andy/fix-sg-ports
  • andy/fix-test-log-error
  • andy/fix-travis-build-clib
  • andy/fix-travis-syntax-error
  • andy/fix-typer-0.17
  • andy/fix-wide-columns
  • andy/fix-zhmcclient-branch
  • andy/gitignore
  • andy/handle-http-422-publish
  • andy/help-partition-type
  • andy/hw-messages
  • andy/improve-install-docs
  • andy/improve-session-tests
  • andy/install-editable
  • andy/install-pipx-2
  • andy/interactive-password
  • andy/missing-py-dependency
  • andy/move-bandit-rules-to-source
  • andy/move-conn-to-end2end
  • andy/named-sessions
  • andy/no-vswitch
  • andy/pin-snowballstemmer
  • andy/pip-no-warn
  • andy/platform-details
  • andy/prepare-ubuntu-24.04
  • andy/python-3.14
  • andy/recent-fixes
  • andy/remove-ordereddict
  • andy/remove-test-classes-2
  • andy/rename-test-module
  • andy/rename-tests
  • andy/rm-travis
  • andy/rtd-links
  • andy/safety-2025-02-23
  • andy/safety-2025-02-26
  • andy/safety-2025-05-09
  • andy/safety-2025-06-04
  • andy/safety-2025-07-23
  • andy/select-zhmcclient-version
  • andy/session-time
  • andy/sg-adapter-name
  • andy/sort-by-names
  • andy/storagegroup-list-cpc
  • andy/storagevolume-show-uuid
  • andy/unit-test-init
  • andy/update-copyright
  • andy/zhmcclient-1.19.0
  • andy/zhmcclient-1.21.0
  • anil/zhmccli/upgrade-nltk
  • anil/zhmccli/upgrade-safety-version
  • edwin/feature/export-version
  • edwin/feature/export-versions
  • juergen/add-power-mgmt
  • manual-ci-run
  • master
  • release-0.18.0
  • release-0.19.0
  • release_1.12.1
  • release_1.12.2
  • release_1.12.3
  • release_1.12.4
  • release_1.12.5
  • release_1.13.0
  • release_1.13.1
  • renovate/actions-github-script-8.x
  • renovate/actions-setup-python-6.x
  • renovate/python-3.x
  • stable_0.20
  • stable_0.21
  • stable_0.22
  • stable_1.0
  • stable_1.1
  • stable_1.10
  • stable_1.11
  • stable_1.12
  • stable_1.13
  • stable_1.2
  • stable_1.3
  • stable_1.4
  • stable_1.5
  • stable_1.6
  • stable_1.7
  • stable_1.8
  • stable_1.9
  • start-0.19.0
  • start-0.20.0
  • start_1.12.1
  • start_1.12.2
  • start_1.12.3
  • start_1.12.4
  • start_1.12.5
  • start_1.13.0
  • start_1.13.1
  • start_1.14.0
  • v0.19.0

pending completion
673

push

travis-ci

andy-maier
Improved error handling in determination of package version in Makefile

Details:
- The Makefile determines the package version using pbr. In Python
  environments that do not have pbr installed yet (e.g. in freshly
  created virtualenvs), this results in an ImportError, and an
  empty package_version variable, which is tolerated by the Makefile.
  So far, the ImportError message was suppressed by simply redirecting
  the command output. This has the disadvantage that other errors
  are not shown.
  This change improves the error handling by applying Python
  exception handling to the Python string that is executed.
- In order to verify that the package version can be determined
  on all tested platforms, the .travis.yml file has been changed
  to alyways perform 'make build', which is one of the few
  make targets that depend on the package version being determined.

Signed-off-by: Andreas Maier <maiera@de.ibm.com>

869 of 2110 relevant lines covered (41.18%)

0.41 hits per line

Relevant lines Covered
Build:
Build:
2110 RELEVANT LINES 869 COVERED LINES
0.41 HITS PER LINE
Source Files on andy/make-pbr-importerror
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
673 andy/make-pbr-importerror Improved error handling in determination of package version in Makefile Details: - The Makefile determines the package version using pbr. In Python environments that do not have pbr installed yet (e.g. in freshly created virtualenvs), this re... push 22 Jun 2018 07:19AM UTC andy-maier travis-ci pending completion  
668 andy/make-pbr-importerror Improved error handling in determination of package version in Makefile Details: - The Makefile determines the package version using pbr. In Python environments that do not have pbr installed yet (e.g. in freshly created virtualenvs), this re... push 19 Jun 2018 06:45AM UTC andy-maier travis-ci pending completion  
See All Builds (1832)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc