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

fix: Use 'paths(scalars)' as 'leaf_paths' filter is deprecated #99

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

matthewfeickert
Copy link
Member

@matthewfeickert matthewfeickert commented Sep 19, 2023

Part of Issue #96

The 'leaf_paths' filter has been deprecated for 9 years and was removed in jqlang v1.7 (jq v1.6) so use the 'paths(scalars)' filter.

* The 'leaf_paths' filter has been deprecated for 9 years and was
  removed in jqlang v1.7 (jq v1.6) so use the 'paths(scalars)' filter.
   - c.f. https://github.com/jqlang/jq/pull/2666
   - c.f. https://github.com/jqlang/jq/pull/426
* Remove upper bound on jq version
   - Reverts https://github.com/yadage/packtivity/pull/97

* The 'leaf_paths' filter has been deprecated for 9 years and was
  removed in jqlang v1.7 (jq v1.6).
   - c.f. https://github.com/jqlang/jq/pull/ 2666
   - c.f. https://github.com/jqlang/jq/pull/ 426
@matthewfeickert matthewfeickert self-assigned this Sep 19, 2023
@matthewfeickert matthewfeickert merged commit 50dbc21 into main Sep 19, 2023
7 checks passed
@matthewfeickert matthewfeickert deleted the fix/get-working-with-jqlang-1-7 branch September 19, 2023 00:05
matthewfeickert added a commit that referenced this pull request Sep 19, 2023
…ted (#101)

* Backport PR #99
* The 'leaf_paths' filter has been deprecated for 9 years and was removed in jqlang v1.7 (jq v1.6) so use the 'paths(scalars)' filter.
   - c.f. jqlang/jq#2666
   - c.f. jqlang/jq#426
* Remove upper bound on jq version
   - Reverts #97
matthewfeickert added a commit to yadage/yadage that referenced this pull request Sep 19, 2023
* packtivity v0.16.2 properly handles the transition from jqlang v1.6 to
  v1.7.
   - c.f. yadage/packtivity#99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant