community icon indicating copy to clipboard operation
community copied to clipboard

Remove deprecated features

Open misl6 opened this issue 1 year ago • 9 comments

The initial plan for this issue was to remove any deprecation <=1.9.0, but that was scheduled for 2.3.0.

Since we entered in 3.0.0 milestone, we're now targeting any feature deprecated before or in 2.0.0, and if is a game-changer, also features deprecated in 2.1.0, 2.2.0, 2.3.0 series.

For who is taking care of this issue, please add a detailed list of the removals as suggested by #8585

Ref: #8167

misl6 avatar Mar 19 '23 09:03 misl6

Hi, i would like to work on this issue

Zerus97 avatar Apr 30 '23 15:04 Zerus97

Hi @Zerus97,

I've assigned the issue to you, please ping us when your PR is ready for a review.

Thank you!

misl6 avatar May 01 '23 13:05 misl6

Hey @misl6 , how are you? Im having a hard time trying to find deprecated code and since this is my first time solving an issue i was hoping if you could help me with that. I really want to contribute with the projetct!

Zerus97 avatar May 19 '23 11:05 Zerus97

Hi @Zerus97 !

The best way is to search for .. deprecated:: into code 😀

misl6 avatar May 21 '23 08:05 misl6

@misl6 Thanks, ill start looking into it!

Zerus97 avatar May 23 '23 17:05 Zerus97

Deprecations yet to be removed:

  • VideoPlayer.play https://github.com/kivy/kivy/blob/7e9affd6f21a15ded862f621e605d35f2cc83be5/kivy/uix/videoplayer.py#L347

  • Video.play https://github.com/kivy/kivy/blob/7e9affd6f21a15ded862f621e605d35f2cc83be5/kivy/uix/video.py#L86

  • TextInput.padding_x https://github.com/kivy/kivy/blob/7e9affd6f21a15ded862f621e605d35f2cc83be5/kivy/uix/textinput.py#L3325

  • TextInput.padding_y https://github.com/kivy/kivy/blob/7e9affd6f21a15ded862f621e605d35f2cc83be5/kivy/uix/textinput.py#L3341

  • FileChooser.file_encodings https://github.com/kivy/kivy/blob/7e9affd6f21a15ded862f621e605d35f2cc83be5/kivy/uix/filechooser.py#L486

  • KVLang Templates: ⚠️ We may break some guides and examples, so we should be careful.

  • Rotate.set https://github.com/kivy/kivy/blob/7e9affd6f21a15ded862f621e605d35f2cc83be5/kivy/graphics/context_instructions.pyx#L686

  • pygame window provider: ⚠️ We really want to? We should be super careful? (See https://github.com/kivy/kivy/pull/8320)

  • scroll_friction https://github.com/kivy/kivy/blob/7e9affd6f21a15ded862f621e605d35f2cc83be5/kivy/config.py#L298

  • scroll_stoptime https://github.com/kivy/kivy/blob/7e9affd6f21a15ded862f621e605d35f2cc83be5/kivy/config.py#L314

  • scroll_moves https://github.com/kivy/kivy/blob/7e9affd6f21a15ded862f621e605d35f2cc83be5/kivy/config.py#L324

misl6 avatar Jul 16 '23 15:07 misl6