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

Installation request for roave/security-advisories (locked at dev-master, required as dev-latest) #610

Closed
4 tasks done
adamtomat opened this issue Oct 25, 2021 · 2 comments · Fixed by #611
Closed
4 tasks done

Comments

@adamtomat
Copy link
Contributor

Description

6 days ago, the "roave/security-advisories" package was changed to use dev-latest rather than dev-master (https://github.com/roots/bedrock/pull/609/files). After creating a new Bedrock site and running "composer require some/package", composer fails because Bedrock's composer.lock file still references roave/security-advisories:dev-master:

"version": "dev-master",

I believe your composer.lock file needs regenerating and committing.

Steps to reproduce

  1. Create a new bedrock project: composer create-project roots/bedrock
  2. Install any package, e.g. cd bedrock && composer require guzzlehttp/guzzle

Expected behaviour: [What you expect to happen]
Composer installs the requested package (guzzle in this example)

Actual behavior: [What actually happens]
Composer gives the following error and fails:

Problem 1
- Can only install one of: roave/security-advisories[dev-latest, dev-master].
- Can only install one of: roave/security-advisories[dev-master, dev-latest].
- Can only install one of: roave/security-advisories[dev-latest, dev-master].
- Installation request for roave/security-advisories dev-latest -> satisfiable by roave/security-advisories[dev-latest].
- Installation request for roave/security-advisories (locked at dev-master, required as dev-latest) -> satisfiable by roave/security-advisories[dev-master].

Reproduces how often: [What percentage of the time does it reproduce?]
Happens every time.

Versions

Bedrock: 1.16.1
MacBook Pro (2019) - macOS Big Sur 11.6

@swalkinshaw
Copy link
Member

Ah sorry. Want to do the update and submit a PR?

@adamtomat
Copy link
Contributor Author

Sure thing

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 a pull request may close this issue.

2 participants