dbt-labs / dbt-labs/stitch-utils
VersionsNotCompatibleException with latest version of dbt_utils
- Dominant language
- Makefile
- Stars
- 13
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
Version error when trying to install this package alongside latest version of `dbt-labs/dbt_utils` (0.9.2)
### Steps to reproduce
With `packages.yml`
```
packages:
- package: dbt-labs/dbt_utils
version: 0.9.2
- package: dbt-labs/stitch_utils
version: 0.4.2
```
### Expected results
Stitch utils package to be installed.
### Actual results
Running `dbt deps` returns the error message:
```
Version error for package dbt-labs/dbt_utils: Could not find a satisfactory version from options: ['=0.9.2', '>=0.8.0', '<0.9.0']
```
Is this package actually incompatible with dbt_utils 0.9.2 or do the dependancies just need to be updated in this package's `packages.yml` ?
### Screenshots and log output
```
10:48:17 Running with dbt=1.2.2
10:48:18 Encountered an error:
Version error for package dbt-labs/dbt_utils: Could not find a satisfactory version from options: ['=0.9.2', '>=0.8.0', '<0.9.0']
10:48:18 Traceback (most recent call last):
File "/etl/dbt-redshift/lib/python3.10/site-packages/dbt/semver.py", line 381, in reduce_versions
to_return = to_return.reduce(version_specifier.to_range())
File "/etl/dbt-redshift/lib/python3.10/site-packages/dbt/semver.py", line 291, in reduce
end = self._try_combine_upper_bound(self.end, other.end)
File "/etl/dbt-redshift/lib/python3.10/site-packages/dbt/semver.py", line 281, in _try_combine_upper_bound
return self._try_combine_upper_bound_with_exact(a, b)
File "/etl/dbt-redshift/lib/python3.10/site-packages/dbt/semver.py", line 261, in _try_combine_upper_bound_with_exact
raise VersionsNotCompatibleException()
dbt.exceptions.VersionsNotCompatibleException
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/etl/dbt-redshift/lib/python3.10/site-packages/dbt/deps/registry.py", line 123, in resolved
range_ = semver.reduce_versions(*self.versions)
File "/etl/dbt-redshift/lib/python3.10/site-packages/dbt/semver.py", line 383, in reduce_versions
raise VersionsNotCompatibleException(
dbt.exceptions.VersionsNotCompatibleException: Could not find a satisfactory version from options: ['=0.9.2', '>=0.8.0', '<0.9.0']
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/etl/dbt-redshift/lib/python3.10/site-packages/dbt/main.py", line 129, in main
results, succeeded = handle_and_check(args)
File "/etl/dbt-redshift/lib/python3.10/site-packages/dbt/main.py", line 191, in handle_and_check
task, res = run_from_args(parsed)
File "/etl/dbt-redshift/lib/python3.10/site-packages/dbt/main.py", line 238, in run_from_args
results = task.run()
File "/etl/dbt-redshift/lib/python3.10/site-packages/dbt/task/deps.py", line 56, in run
final_deps = resolve_packages(packages, self.config)
File "/etl/dbt-redshift/lib/python3.10/site-packages/dbt/deps/resolver.py", line 131, in resolve_packages
target = final[package].resolved().fetch_metadata(config, renderer)
File "/etl/dbt-redshift/lib/python3.10/site-packages/dbt/deps/registry.py", line 126, in resolved
raise DependencyException(new_msg) from e
dbt.exceptions.DependencyException: Version error for package dbt-labs/dbt_utils: Could not find a satisfactory version from options: ['=0.9.2', '>=0.8.0', '<0.9.0']
```
### System information
```
packages:
- package: dbt-labs/dbt_utils
version: 0.9.2
- package: dbt-labs/stitch_utils
version: 0.4.2
```
**Which database are you using dbt with?**
- [ ] postgres
- [x] redshift
- [ ] bigquery
- [ ] snowflake
- [ ] other (specify: ____________)
**The output of `dbt --version`:**
```
Core:
- installed: 1.2.2
- latest: 1.2.2 - Up to date!
Plugins:
- redshift: 1.2.1 - Up to date!
- postgres: 1.2.2 - Up to date!
```
**The operating system you're using:**
Macos 12.6
**The output of `python --version`:**
Python 3.10.7
### Are you interested in contributing the fix?
Sure, but I wouldn't know where to start
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.