Skip to content

Allow ~3.0 deps #12543

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
wants to merge 1 commit into from
Closed

Allow ~3.0 deps #12543

wants to merge 1 commit into from

Conversation

nicolas-grekas
Copy link
Member

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Thanks to our BC promise, we can (and should ensure) that 3.0 components work when mixed with 2.x ones.
This PR allows mixing, while #12542 will allow verifying that it works effectively.

@Tobion
Copy link
Contributor

Tobion commented Nov 21, 2014

3.0 is not compatible with the 2.x branch. This is the whole point of creating 3.0

@stof
Copy link
Member

stof commented Dec 4, 2014

@nicolas-grekas this should indeed not go into the 2.3 branch (otherwise we cannot release 2.3 anymore until the 3.0 release to be sure about constraints, when we are sure about the compatibility).

@nicolas-grekas
Copy link
Member Author

So, even if as of now it should be true that 3.0 works with 2.3, that won't be the case for each component once we move forward on 3.0.
What we should do instead is to allow |~3.0 on 2.7, and upgrade all 3.0 components to ~2.7 (and reject anything lower).
That make 2.7 the pivot for upgrading, which is what it is in fact.

@stof
Copy link
Member

stof commented Dec 4, 2014

@nicolas-grekas even that would not be true either, because we have some place where we will need to break BC between 2.7 and 3.0 (places where we cannot provide a forward-compatible change, for instance the typehint change in form types because of the removal of deprecated interfaces)

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 this pull request may close these issues.

3 participants