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

Drop composer API from python bindings and mark as deprecated #5486

Closed
wants to merge 1 commit into from

Conversation

nyalldawson
Copy link
Collaborator

Unfortunately the layouts refactoring didn't land in time for 3.0, so I'm taking a somewhat drastic action of dropping all composer API from the stable API and Python bindings for 3.0.

This API will be completely dropped in 3.2 when the layouts work is complete, so we don't want to be restrained by carrying around all the old composer code for the lifetime for 3.x.

This allows us to drop all the composer code for 3.2 without breaking the 3.0 api (at the cost of having no scripting of compositions for 3.0, but that's an unavoidable trade off, in my opinion).

This API will be dropped in 3.2 when the layouts work is complete,
so we don't want to be restrained by carrying around all the
old composer code for the lifetime for 3.x.

This allows us to drop all the composer code for 3.2 without
breaking the 3.0 api (at the cost of having no scripting
of compositions for 3.0, but that's an acceptable trade off)
@nirvn
Copy link
Contributor

nirvn commented Oct 28, 2017

Hmm to understate things, that's a rather unfortunate situation.

@timlinux
Copy link
Member

timlinux commented Oct 30, 2017

Ouch....please can we discuss this before merging and we put out a QGIS 3.0 release with no python bindings for composer :-( There are a whole bunch of plugins that won't be able to be ported to version 3.0 :-(

@NathanW2
Copy link
Member

NathanW2 commented Oct 30, 2017 via email

@wonder-sk
Copy link
Member

How about instead we make feature freeze exception for print layouts code? Nyall has done an amazing amount of work already on that and if it could be merged in about a week's time then I think it would be much better than trying to keep the old composer code alive...

@nirvn
Copy link
Contributor

nirvn commented Oct 30, 2017

@wonder-sk , big +1 from me. Feature freeze is great, especially when seasoned with a few exceptions ;)

Joking apart, I definitively see a case here for a one off exception. QGIS 3.0 should ship with layouts so it can be thoroughly tested prior to 3.2. It's just a missed opportunity to ship without it since composers are a thing of the past.

Plus, granting a feature freeze to Nyall is a pretty safe bet really.

@NathanW2
Copy link
Member

NathanW2 commented Oct 30, 2017 via email

@nyalldawson nyalldawson closed this Jan 8, 2018
@nyalldawson nyalldawson deleted the drop_composer_api branch January 8, 2018 02:17
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.

5 participants