Skip to content

Remove displayio.Group max_size parameter from libraries #4959

Closed
@lesamouraipourpre

Description

@lesamouraipourpre

Now that max_size has been disabled in shared-bindings/displayio/Group.c ready for removal in CircuitPython 7, it needs to be removed from all the libraries that make use of it before this can happen.

//| :param int max_size: Ignored. Will be removed in 7.x.

I propose to work through the libraries and make the necessary PRs. This Issue is intended as a central tracking point which will eventually allow the removal of the parameter from shared-bindings, hopefully before the release-candidate of CP7.

Below is the output of grep -r max_size * | grep -v adafruit_fram | sort against Adafruit_CircuitPython_Bundle/libraries at Fri 16 Jul 17:03:22 BST 2021

drivers/displayio_sh1106/examples/displayio_sh1106_simpletest.py:splash = displayio.Group(max_size=10)
drivers/displayio_sh1106/README.rst:    splash = displayio.Group(max_size=10)
drivers/monsterm4sk/examples/monsterm4sk_pumpkin_shifting_eyes.py:left_group = displayio.Group(max_size=4)
drivers/monsterm4sk/examples/monsterm4sk_pumpkin_shifting_eyes.py:right_group = displayio.Group(max_size=4)
drivers/monsterm4sk/examples/monsterm4sk_rainbow_stars.py:left_group = displayio.Group(max_size=4, scale=3)
drivers/monsterm4sk/examples/monsterm4sk_rainbow_stars.py:right_group = displayio.Group(max_size=4, scale=3)
drivers/monsterm4sk/examples/monsterm4sk_simpletest.py:left_group = displayio.Group(max_size=4)
drivers/monsterm4sk/examples/monsterm4sk_simpletest.py:right_group = displayio.Group(max_size=4)
drivers/monsterm4sk/README.rst:    left_group = displayio.Group(max_size=4)
drivers/monsterm4sk/README.rst:    right_group = displayio.Group(max_size=4)
drivers/ssd1325/examples/ssd1325_simpletest.py:    max_size=10,
drivers/ssd1325/examples/ssd1325_simpletest.py:splash = displayio.Group(max_size=10)
drivers/st7735r/examples/st7735r_128x160_colored_labels.py:splash = displayio.Group(max_size=10)
drivers/st7735r/examples/st7735r_128x160_colored_labels.py:text_group_left = displayio.Group(max_size=10, scale=1, x=0, y=6)
drivers/st7735r/examples/st7735r_128x160_colored_labels.py:text_group_right = displayio.Group(max_size=10, scale=1, x=80, y=6)
drivers/st7735r/examples/st7735r_128x160_simpletest.py:splash = displayio.Group(max_size=10)
drivers/st7735r/examples/st7735r_128x160_simpletest.py:text_group = displayio.Group(max_size=10, scale=2, x=11, y=64)
drivers/st7735r/examples/st7735r_minitft_featherwing_simpletest.py:splash = displayio.Group(max_size=10)
drivers/st7735r/examples/st7735r_minitft_featherwing_simpletest.py:text_group = displayio.Group(max_size=10, scale=2, x=11, y=40)
drivers/st7735r/examples/st7735r_minitft_simpletest.py:splash = displayio.Group(max_size=10)
drivers/st7735r/examples/st7735r_minitft_simpletest.py:text_group = displayio.Group(max_size=10, scale=2, x=11, y=40)
drivers/st7735r/examples/st7735r_simpletest.py:splash = displayio.Group(max_size=10)
drivers/st7735r/README.rst:    splash = displayio.Group(max_size=10)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions