Skip to content

Missing git tags. #3

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

Closed
justinmcp opened this issue Aug 26, 2021 · 4 comments
Closed

Missing git tags. #3

justinmcp opened this issue Aug 26, 2021 · 4 comments
Assignees

Comments

@justinmcp
Copy link

Expected behavior

Package is correctly installed.

Actual behavior

error: Dependencies could not be resolved because no versions of 'swift-aws-lambda-events' match the requirement 0.1.0..<1.0.0 and root depends on 'swift-aws-lambda-events' 0.1.0..<1.0.0.

There are no appropriate git tags on the repository.

Steps to reproduce

  1. Add as dependency to Package.swift
  2. Attempt install/build/etc.

If possible, minimal yet complete reproducer code (or URL to code)

SwiftAWSLambdaRuntime version/commit hash

Swift & OS version (output of swift --version && uname -a)

Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57).
Darwin breathwork.local 20.4.0 Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:47 PDT 2021; root:xnu-7195.101.2~1/RELEASE_X86_64 x86_64

@tomerd
Copy link
Contributor

tomerd commented Aug 27, 2021

cc @fabianfett, I believe he wanted to get one more change in before we tag 0.1.0

@saltzmanjoelh
Copy link

@justinmcp You can use this in the meantime

.package(url: "https://github.com/swift-server/swift-aws-lambda-events", .branch("main")),

sja26 added a commit to sja26/swift-aws-lambda-runtime that referenced this issue Aug 11, 2022
The swift-aws-lambda-events repo has not yet pushed tag 0.1.0 so the build fails, see output from swift build:

Computing version for https://github.com/swift-server/swift-aws-lambda-events.git
error: Dependencies could not be resolved because no versions of 'swift-aws-lambda-events' match the requirement 0.1.0..<1.0.0 and root depends on 'swift-aws-lambda-events' 0.1.0..<1.0.0.

This commit adds the workaround mentioned in the issue for the missing tag swift-server/swift-aws-lambda-events#3
tomerd pushed a commit to swift-server/swift-aws-lambda-runtime that referenced this issue Aug 11, 2022
* Fix compiler warning

'MyLambda' was identified as an executable target given the presence of a 'main.swift' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'

* Fix package dependency for swift-aws-lambda-events

The swift-aws-lambda-events repo has not yet pushed tag 0.1.0 so the build fails, see output from swift build:

Computing version for https://github.com/swift-server/swift-aws-lambda-events.git
error: Dependencies could not be resolved because no versions of 'swift-aws-lambda-events' match the requirement 0.1.0..<1.0.0 and root depends on 'swift-aws-lambda-events' 0.1.0..<1.0.0.

This commit adds the workaround mentioned in the issue for the missing tag swift-server/swift-aws-lambda-events#3

* Fix multiple products and targets build error
@adam-fowler
Copy link
Member

0.1.0 has just been tagged so I assume this can be closed.

@sebsto sebsto assigned tomerd and tachyonics and unassigned fabianfett Dec 14, 2023
@sebsto
Copy link
Contributor

sebsto commented Dec 14, 2023

I think this issue can be closed @tomerd @tachyonics

@tomerd tomerd closed this as completed Dec 15, 2023
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

No branches or pull requests

7 participants