Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #154

Merged
merged 2 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]


## [2.7.1] - 2024-05-31
### Fixed
- Updated package version retrieval method from pkg_resources to importlib.metadata.

## [2.7.0] - 2024-05-31
### Added
- Add support of DNA Center versions ('2.3.7.6')
Expand Down Expand Up @@ -485,4 +489,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[2.6.10]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.9...v2.6.10
[2.6.11]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.10...v2.6.11
[2.7.0]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.11...v2.7.0
[Unreleased]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.7.0...develop
[2.7.1]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.7.0...v2.7.1
[Unreleased]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.7.1...develop
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ The following table shows the supported versions.
* - 2.3.3.0
- 2.5.6
* - 2.3.5.3
- 2.6.10
- 2.6.11
* - 2.3.7.6
- 2.7.0
- 2.7.1



Expand Down
4 changes: 2 additions & 2 deletions dnacentersdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
logger = logging.getLogger(__name__)


from pkg_resources import get_distribution
release = get_distribution('dnacentersdk').version
from importlib.metadata import version
release = version('dnacentersdk')
__version__ = '.'.join(release.split('.')[:3])
Loading