Skip to content

Commit fd792cd

Browse files
Release v0.7.4
* Increased the number of random characters used when creating resources to minimize collisions ([#214](#214)). The library has been updated to increase the number of random characters used when creating resources from 4 to 8, minimizing collisions in larger projects that heavily rely on PyTester. This change affects various resource creation methods, including the generation of names for tables, schemas, catalogs, functions, storage credentials, volumes, users, groups, experiments, models, endpoints, and queries. The `make_random` function is now called with an argument of 8 to generate longer and more unique identifiers. Additionally, the hatch version has been updated from 1.9.4 to 1.15.0 to avoid compatibility issues with click. These changes are covered by regression testing and have been manually tested to ensure their effectiveness in reducing the frequency of collisions and improving the overall stability of the system.
1 parent 963c8af commit fd792cd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Version changelog
22

3+
## 0.7.4
4+
5+
* Increased the number of random characters used when creating resources to minimize collisions ([#214](https://github.com/databrickslabs/pytester/issues/214)). The library has been updated to increase the number of random characters used when creating resources from 4 to 8, minimizing collisions in larger projects that heavily rely on PyTester. This change affects various resource creation methods, including the generation of names for tables, schemas, catalogs, functions, storage credentials, volumes, users, groups, experiments, models, endpoints, and queries. The `make_random` function is now called with an argument of 8 to generate longer and more unique identifiers. Additionally, the hatch version has been updated from 1.9.4 to 1.15.0 to avoid compatibility issues with click. These changes are covered by regression testing and have been manually tested to ensure their effectiveness in reducing the frequency of collisions and improving the overall stability of the system.
6+
7+
38
## 0.7.3
49

510
* Added property `id` to get service principal id ([#170](https://github.com/databrickslabs/pytester/issues/170)). The service principal functionality has been enhanced with the introduction of a new `id` property, which returns the service principal ID as a string, simplifying its usage in tests. The `create` method has been updated to utilize this `id` property, ensuring consistency throughout the code. Additionally, the `id` property is now directly used when creating secrets, updating group memberships, and updating workspace assignments, with the exception of the `workspace_assignment.update` method. The logging of account links has also been updated to use the `id` property. Furthermore, test cases have been updated to include service principals in group members, and a new function `make_run_as` has been introduced to create service principals for testing purposes, along with a new test case `test_make_run_as_no_args` to verify its functionality, addressing issues related to no-cheat in linked pull requests and improving overall testing capabilities.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.7.3"
1+
__version__ = "0.7.4"

0 commit comments

Comments
 (0)