Coder Social home page Coder Social logo

Comments (8)

pcantrell avatar pcantrell commented on June 11, 2024 2

This is now released as Siesta 1.5.2, so you should be able to update your Package.swift accordingly. Let me know if you hit any troubles!

FWIW, it looks like Swift 5.3.1 includes the further SwiftPM enhancements above, so now SwiftPM shouldn’t even download Quick and Nimble for downstream projects that don’t need them.

from siesta.

pcantrell avatar pcantrell commented on June 11, 2024 1

Great news! I’ll try to get a point release out with this fix soon.

There’s one more SwiftPM improvement related to this issue that they’ve merged but not yet released, and if I understand correctly, it should stop downstream projects from fetching Quick and Nimble at all.

from siesta.

caipre avatar caipre commented on June 11, 2024 1

Looks like it is indeed working, thanks @pcantrell !

from siesta.

omidontop avatar omidontop commented on June 11, 2024 1

Thank you Paul! Great work!!

from siesta.

caipre avatar caipre commented on June 11, 2024

I'm running into the same basic issue after adding Quick and Nimble to my own project. Swift Package Manager is unable to resolve dependencies because Siesta uses https://github.com/pcantrell/Quick instead of https://github.com/Quick/Quick . It was surprising to me that this was a problem since these are test dependencies, but it seems Swift PM makes no such distinction.

My workaround is to use the same forked version of Quick and pin to 0.0.0 as Siesta is doing. This is less than ideal though, since the fork will always lag behind upstream.

from siesta.

pcantrell avatar pcantrell commented on June 11, 2024

Could one (or both) of you switch your dependency on Siesta to the bump-swift-package-version branch, and see if that fixes your problem?

(Your client shouldn’t pick up Quick/Nimble at all, and SwiftPM has actively been working on resolving this. Their recent work may fix it if Siesta’s Package.swift specifies the newer behavior.)

from siesta.

omidontop avatar omidontop commented on June 11, 2024

Could one (or both) of you switch your dependency on Siesta to the bump-swift-package-version branch, and see if that fixes your problem?

(Your client shouldn’t pick up Quick/Nimble at all, and SwiftPM has actively been working on resolving this. Their recent work may fix it if Siesta’s Package.swift specifies the newer behavior.)

Hi Paul!

It did resolve the issue indeed! It still retrieves Quick and Nimble but doesn't complain anymore. Thank you for your help and dedication! When do you think it can be merged and released?

from siesta.

omidontop avatar omidontop commented on June 11, 2024

Great news! I’ll try to get a point release out with this fix soon.

There’s one more SwiftPM improvement related to this issue that they’ve merged but not yet released, and if I understand correctly, it should stop downstream projects from fetching Quick and Nimble at all.

Excellent! Then perhaps that issue would be solved in the next Swift version too. Thank you so much!

from siesta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.