You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "jonathan-neufeld-asurion (via GitHub)" <gi...@apache.org> on 2023/10/10 17:44:03 UTC
[I] Pekko requires non-existent dependency version [incubator-pekko-http]
jonathan-neufeld-asurion opened a new issue, #327:
URL: https://github.com/apache/incubator-pekko-http/issues/327
<!--
Please report issues regarding specific projects in their respective issue trackers, e.g.:
- Pekko: https://github.com/apache/incubator-pekko/issues
- Pekko Connectors: https://github.com/apache/incubator-pekko-connectors/issues
- Pekko Persistence Cassandra Plugin: https://github.com/apache/incubator-pekko-persistence-cassandra/issues
- ...
Please explain your issue precisely, and if possible provide a reproducer snippet (this helps resolve issues much quicker).
Thanks for contributing!
-->
Unable to spin up an instance of Pekko HTTP Server because of an apparent version conflict:
```
Starting server failed because of Current version of Pekko is [1.0.0], but pekko-http requires version [1.0.1]
```
While there is probably some separate issue in the dependency graph giving rise to this, what is a priori is that a Pekko release should not require a version that does not yet exist or is not yet published.
### Dependency Graph
It's not clear to me from the dependency graph what would cause this. This graph is taken from [this branch](https://github.com/softwaremill/tapir/pull/3226).

--
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: notifications-unsubscribe@pekko.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Pekko requires non-existent dependency version [incubator-pekko-http]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on issue #327:
URL: https://github.com/apache/incubator-pekko-http/issues/327#issuecomment-1757162339
The nightly tests ran with the wrong Pekko Core jars last night.
https://github.com/apache/incubator-pekko-http/actions/runs/6477130954/job/17586840327
[info] Building Pekko HTTP 1.1.0-M0+11-9de3848d+20231011-0215-SNAPSHOT against Pekko 1.0.0 on Scala 2.12.18
--
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: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Pekko requires non-existent dependency version [incubator-pekko-http]
Posted by "mdedetrich (via GitHub)" <gi...@apache.org>.
mdedetrich commented on issue #327:
URL: https://github.com/apache/incubator-pekko-http/issues/327#issuecomment-1757424930
Let's make a seperate issue to discuss this then. What is done now is the same as how it's historically been in Akka, i.e. main build is built against the minimum supported version and nightly against snapshots.
--
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: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Pekko requires non-existent dependency version [incubator-pekko-http]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on issue #327:
URL: https://github.com/apache/incubator-pekko-http/issues/327#issuecomment-1755946906
> This is likely due to
>
> https://github.com/apache/incubator-pekko-http/blob/e7da6d3876300efbe9a2e6c6105cdc230f55d3b1/project/PekkoDependency.scala#L54
>
> , bumping this version seems to have been an oversight.
> @pjfanning @jrudolph I think that downgrading this to 1.0.0 should fix the issue?
I think we need to find a way so that when we run the pekko-http unit tests that it uses the latest pekko core 1.0.x jars but we should fix the version check done at runtime so that any pekko core 1.0.x jars is accepted.
--
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: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Pekko requires non-existent dependency version [incubator-pekko-http]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on issue #327:
URL: https://github.com/apache/incubator-pekko-http/issues/327#issuecomment-1759958366
@jonathan-neufeld-asurion pekko-http has its own release schedule - v1.0.0 is the only release of pekko-http. I'm not sure if you ever used akka-http but this is also the case with akka-http.
--
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: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Pekko requires non-existent dependency version [incubator-pekko-http]
Posted by "mdedetrich (via GitHub)" <gi...@apache.org>.
mdedetrich closed issue #327: Pekko requires non-existent dependency version
URL: https://github.com/apache/incubator-pekko-http/issues/327
--
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: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Pekko requires non-existent dependency version [incubator-pekko-http]
Posted by "mdedetrich (via GitHub)" <gi...@apache.org>.
mdedetrich commented on issue #327:
URL: https://github.com/apache/incubator-pekko-http/issues/327#issuecomment-1755943902
@jonathan-neufeld-asurion In the meantime setting Pekko to 1.0.1 should work (you should be using this version anyways because it fixes a potential class collision issue).
--
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: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Pekko requires non-existent dependency version [incubator-pekko-http]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on issue #327:
URL: https://github.com/apache/incubator-pekko-http/issues/327#issuecomment-1757389027
I think for 1.0.x that we should test with the latest 1.0.x releases or snapshots and not with Pekko 1.0.0. I can agree that the runtime check for Pekko version can be relaxed to accept Pekko 1.0.0 but we should be testing with Pekko 1.0.1 or a 1.0.1+123 snapshot.
--
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: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Pekko requires non-existent dependency version [incubator-pekko-http]
Posted by "mdedetrich (via GitHub)" <gi...@apache.org>.
mdedetrich closed issue #327: Pekko requires non-existent dependency version
URL: https://github.com/apache/incubator-pekko-http/issues/327
--
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: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Pekko requires non-existent dependency version [incubator-pekko-http]
Posted by "mdedetrich (via GitHub)" <gi...@apache.org>.
mdedetrich commented on issue #327:
URL: https://github.com/apache/incubator-pekko-http/issues/327#issuecomment-1757235293
> The nightly tests ran with the wrong Pekko Core jars last night.
>
> https://github.com/apache/incubator-pekko-http/actions/runs/6477130954/job/17586840327
>
> [info] Building Pekko HTTP 1.1.0-M0+11-9de3848d+20231011-0215-SNAPSHOT against Pekko 1.0.0 on Scala 2.12.18
This is the wrong job, you need to look at the `main` matrix and not the `default` matrix (`main` refers to the latest `main` of Pekko, i.e. snapshot).
Have a look at https://github.com/apache/incubator-pekko-http/actions/runs/6477130954/job/17586840516 as an example, i.e.
```
[info] Building Pekko HTTP 1.1.0-M0+11-9de3848d+20231011-0215-SNAPSHOT against Pekko 1.1.0-M0+101-1b1f5722-SNAPSHOT on Scala 2.13.11
```
--
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: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Pekko requires non-existent dependency version [incubator-pekko-http]
Posted by "jonathan-neufeld-asurion (via GitHub)" <gi...@apache.org>.
jonathan-neufeld-asurion commented on issue #327:
URL: https://github.com/apache/incubator-pekko-http/issues/327#issuecomment-1759950006
> @jonathan-neufeld-asurion v1.0.1 of pekko core jars is available. They were released before pekko-http 1.0.0 was released.
>
> Have a look https://mvnrepository.com/artifact/org.apache.pekko
>
> You'll see 1.0.1 jars for `pekko-actor-*`, `pekko-stream-*`, `pekko-remote`, etc. All the libs that are built for this repo:
>
> https://github.com/apache/incubator-pekko
Thank you @pjfanning, I see **only 1.0.0** of `pekko-http` available, is this correct?

--
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: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Pekko requires non-existent dependency version [incubator-pekko-http]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on issue #327:
URL: https://github.com/apache/incubator-pekko-http/issues/327#issuecomment-1755959281
@jonathan-neufeld-asurion v1.0.1 of pekko core jars is available. They were released before pekko-http 1.0.0 was released.
Have a look https://mvnrepository.com/artifact/org.apache.pekko
You'll see 1.01 jars for `pekko-actor-*`, `pekko-stream-*`, `pekko-remote`, etc. All the libs that are built for this repo:
https://github.com/apache/incubator-pekko
--
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: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Pekko requires non-existent dependency version [incubator-pekko-http]
Posted by "mdedetrich (via GitHub)" <gi...@apache.org>.
mdedetrich commented on issue #327:
URL: https://github.com/apache/incubator-pekko-http/issues/327#issuecomment-1755949430
> I think we need to find a way so that when we run the pekko-http unit tests that it uses the latest pekko core 1.0.x jars but we should fix the version check done at runtime so that any pekko core 1.0.x jars is accepted.
This should already be happening due to the code in https://github.com/apache/incubator-pekko-http/blob/e7da6d3876300efbe9a2e6c6105cdc230f55d3b1/project/PekkoDependency.scala#L96-L123 which by default builds Pekko against the latest snapshot.
FYI, this error is coming from https://github.com/apache/incubator-pekko-http/blob/43b9ca9c2eb989e2acca926a2fdc6a42dc82053d/http-core/src/main/scala/org/apache/pekko/http/scaladsl/Http.scala#L73 which is derived from https://github.com/apache/incubator-pekko-http/blob/e7da6d3876300efbe9a2e6c6105cdc230f55d3b1/project/PekkoDependency.scala#L54
--
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: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [I] Pekko requires non-existent dependency version [incubator-pekko-http]
Posted by "mdedetrich (via GitHub)" <gi...@apache.org>.
mdedetrich commented on issue #327:
URL: https://github.com/apache/incubator-pekko-http/issues/327#issuecomment-1755941898
This is likely due to https://github.com/apache/incubator-pekko-http/blob/e7da6d3876300efbe9a2e6c6105cdc230f55d3b1/project/PekkoDependency.scala#L54, bumping this version seems to have been an oversight.
@pjfanning @jrudolph I think that downgrading this to 1.0.0 should fix the issue?
--
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: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org