Skip to content

Commit

Permalink
Merge pull request #787 from nautobot/deepdiff-dep-ltm
Browse files Browse the repository at this point in the history
Deepdiff Dependency LTM Fix
  • Loading branch information
Kircheneer authored Aug 15, 2024
2 parents 3b11b14 + 7258c2c commit 0ad942e
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
1 change: 1 addition & 0 deletions changes/773.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed deepdiff dependency range
1 change: 1 addition & 0 deletions changes/775.documentation
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add FAQ for deepdiff and numpy dependency issue.
2 changes: 0 additions & 2 deletions development/docker-compose.mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ services:
- "development_mysql.env"
db:
image: "mysql:8"
command:
- "--default-authentication-plugin=mysql_native_password"
env_file:
- "development.env"
- "creds.env"
Expand Down
6 changes: 5 additions & 1 deletion docs/user/app_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,8 @@ These errors have been accurate so far, that is not to say that there is no way
## _Why is the `_isnull` on DateTime filters considered experimental?_
There are various ways we can create a programmatic interface, which may change the behavior or name, for now it should be considered experimental as we may update this strategy.
There are various ways we can create a programmatic interface, which may change the behavior or name, for now it should be considered experimental as we may update this strategy.
## _I received an error `AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.` what should I do?_
Due to an incompatiblitly between DeepDiff and numPy, you must find a version of those two that are compatible with each other. See [here](https://github.com/seperman/deepdiff/issues/464) for more information. The easiest thing to do is upgrade them both.
13 changes: 7 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
deepdiff = ">=5.5.0,!=6.0,!=6.1,<7"
deepdiff = ">=5.5.0,!=6.0,!=6.1,<8"
django-pivot = "^1.8.1"
matplotlib = "^3.3.2"
nautobot = "^1.6.1"
Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def docker_compose(context, command, **kwargs):
"PYTHON_VER": context.nautobot_golden_config.python_ver,
}
compose_command_tokens = [
"docker-compose",
"docker compose",
f"--project-name {context.nautobot_golden_config.project_name}",
f'--project-directory "{context.nautobot_golden_config.compose_dir}"',
]
Expand Down

0 comments on commit 0ad942e

Please sign in to comment.