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

Update dependencies and pin elasticsearch version to <8 #106

Merged
merged 7 commits into from
Jan 5, 2024

Conversation

felixedel
Copy link
Member

The update to v8 comes with a lot of API changes which should be
implemented and tested in a dedicated change. To allow updating the other
dependencies, let's pin the elasticsearch and elasticsearch-dsl packages
for now.

The old whitelist_externals setting was deprecated for a long time and
got removed in the meantime [1].

[1]: tox-dev/tox#2600
@felixedel felixedel requested a review from a team as a code owner January 5, 2024 10:45
@felixedel felixedel force-pushed the fe-update-dependencies branch from ed0764d to 20f5d96 Compare January 5, 2024 10:45
The update to v8 comes with a lot of API changes which should be
implemented and tested in a dedicated change. To allow updating the
other dependencies, let's pin the elasticsearch and elasticsearch-dsl
packages for now.
@felixedel felixedel force-pushed the fe-update-dependencies branch from 20f5d96 to 2f088b3 Compare January 5, 2024 10:49
westphahl
westphahl previously approved these changes Jan 5, 2024
The rendered output changed with the newer sphinx version, so we have to
adapt the test cases.
The new Sphinx version broke our Zubbi directive implementation. The
reason is that the Sphinx log output changed and thus our custom
directives cannot parse the output properly anymore.

We use the Sphinx log to write (and later extract) the custom data from
our directives. This never felt like an appropriate solution but most
propably it was the easiest to do and we didn't find a better solution.

This change improves the Zubbi directives by storing the data in Sphinx'
domaindata dictionary which seems to be more appropriate for this use
case. This is also what other directives (including the "native" Sphinx
directives) do for storing and extracting data).
The newer version of the elasticsearch library changed the underlying
API, which makes our test cases fail. Adapt them accordingly.
@felixedel felixedel force-pushed the fe-update-dependencies branch from 431a34e to 010a0a1 Compare January 5, 2024 14:32
@westphahl westphahl merged commit 312f3ec into master Jan 5, 2024
2 checks passed
@westphahl westphahl deleted the fe-update-dependencies branch January 5, 2024 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants