Skip to content

Commit

Permalink
Merge pull request #154 from cisco-en-programmability/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
bvargasre authored May 31, 2024
2 parents 835f857 + 3f52fb3 commit 039db14
Show file tree
Hide file tree
Showing 7 changed files with 83 additions and 88 deletions.
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

0 comments on commit 039db14

Please sign in to comment.