You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "rmuir (via GitHub)" <gi...@apache.org> on 2024/04/04 18:38:58 UTC
[PR] upgrade commons codec from 1.13.0 to 1.16.0 [lucene]
rmuir opened a new pull request, #13269:
URL: https://github.com/apache/lucene/pull/13269
Currently, we depend upon a pre-COVID version of commons-codec (like several other dependencies, I am working the issues).
Upgrade to 1.16.0.
NOTE: I'm unable to upgrade to 1.16.1: it causes test failures.
```
$ ./gradlew -p lucene/analysis/phonetic test
...
> java.lang.ExceptionInInitializerError
> at org.apache.commons.codec@1.16.1/org.apache.commons.codec.language.bm.Lang.<clinit>(Lang.java:108)
> at org.apache.commons.codec@1.16.1/org.apache.commons.codec.language.bm.PhoneticEngine.<init>(PhoneticEngine.java:300)
> at org.apache.commons.codec@1.16.1/org.apache.commons.codec.language.bm.PhoneticEngine.<init>(PhoneticEngine.java:276)
...
>
> Caused by:
> java.lang.IllegalArgumentException: Unable to resolve required resource: org/apache/commons/codec/language/bm/ash_languages.txt
> at org.apache.commons.codec@1.16.1/org.apache.commons.codec.Resources.getInputStream(Resources.java:38)
> at org.apache.commons.codec@1.16.1/org.apache.commons.codec.language.bm.Languages.getInstance(Languages.java:254)
> at org.apache.commons.codec@1.16.1/org.apache.commons.codec.language.bm.Languages.<clinit>(Languages.java:243)
```
Seems some resources are missing from the jar or similar.
I tried to investigate a bit, by looking at their source code changes from 1.16.0 to 1.16.1, it is overwhelming, not exactly what I'd call a "patch" release :)
https://github.com/apache/commons-codec/compare/rel/commons-codec-1.16.0...rel/commons-codec-1.16.1
Either way, that isn't to be fixed here, so let's at least move from a 2019 version to a 2023 version. We can separately debug the 1.16.1 issue / report it to them / file a PR /etc.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] upgrade commons codec from 1.13.0 to 1.16.0 [lucene]
Posted by "rmuir (via GitHub)" <gi...@apache.org>.
rmuir commented on PR #13269:
URL: https://github.com/apache/lucene/pull/13269#issuecomment-2868962207
outdated PR: we're now on commons-codec 1.18.0 with update PRs assisted with dependabot
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] upgrade commons codec from 1.13.0 to 1.16.0 [lucene]
Posted by "rmuir (via GitHub)" <gi...@apache.org>.
rmuir commented on PR #13269:
URL: https://github.com/apache/lucene/pull/13269#issuecomment-2037993068
I think i understand the 1.16.1 issue. Looks like there is a bit of jar/maven-hell going on among the commons dependencies. I hit it when I tried to upgrade commons-compress...
Bumping both of them to the latest version is not the solution, it seems to then just cause "module-hell" and still fails the build. But for now we can get them on less ancient versions.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] upgrade commons codec from 1.13.0 to 1.16.0 [lucene]
Posted by "rmuir (via GitHub)" <gi...@apache.org>.
rmuir closed pull request #13269: upgrade commons codec from 1.13.0 to 1.16.0
URL: https://github.com/apache/lucene/pull/13269
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] upgrade commons codec from 1.13.0 to 1.16.0 [lucene]
Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory commented on PR #13269:
URL: https://github.com/apache/lucene/pull/13269#issuecomment-2563813340
Note that the current version of Commons Codec is 1.17.1.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] upgrade commons codec from 1.13.0 to 1.16.0 [lucene]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13269:
URL: https://github.com/apache/lucene/pull/13269#issuecomment-2584950615
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] upgrade commons codec from 1.13.0 to 1.16.0 [lucene]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13269:
URL: https://github.com/apache/lucene/pull/13269#issuecomment-2065522805
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] upgrade commons codec from 1.13.0 to 1.16.0 [lucene]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #13269:
URL: https://github.com/apache/lucene/pull/13269#issuecomment-2614655556
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] upgrade commons codec from 1.13.0 to 1.16.0 [lucene]
Posted by "rmuir (via GitHub)" <gi...@apache.org>.
rmuir commented on PR #13269:
URL: https://github.com/apache/lucene/pull/13269#issuecomment-2038008126
I will open a separate issue for the commons-compress as there is more trouble there...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] upgrade commons codec from 1.13.0 to 1.16.0 [lucene]
Posted by "msfroh (via GitHub)" <gi...@apache.org>.
msfroh commented on PR #13269:
URL: https://github.com/apache/lucene/pull/13269#issuecomment-2563219814
I figured out what broke in commons-codec 1.16.1 and reported an issue over there: https://issues.apache.org/jira/projects/CODEC/issues/CODEC-324
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [PR] upgrade commons codec from 1.13.0 to 1.16.0 [lucene]
Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory commented on PR #13269:
URL: https://github.com/apache/lucene/pull/13269#issuecomment-2584960659
Note that I pushed a new version of Commons Codec a couple of days ago.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org