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

fix syntax warnings on 3.12 #1263

Merged
merged 1 commit into from
Mar 20, 2024
Merged

fix syntax warnings on 3.12 #1263

merged 1 commit into from
Mar 20, 2024

Conversation

branchvincent
Copy link
Contributor

Fixes #1256

These raise SyntaxWarning's on python 3.12:

$ yt
/opt/homebrew/Cellar/yewtube/2.10.5/libexec/lib/python3.12/site-packages/mps_youtube/util.py:495: SyntaxWarning: invalid escape sequence '\s'
  m = re.search('MPlayer SVN[\s-]r([0-9]+)', o, re.MULTILINE|re.IGNORECASE)
/opt/homebrew/Cellar/yewtube/2.10.5/libexec/lib/python3.12/site-packages/mps_youtube/util.py:513: SyntaxWarning: invalid escape sequence '\('

@iamtalhaasghar iamtalhaasghar merged commit f8c1f1d into mps-youtube:master Mar 20, 2024
@branchvincent branchvincent deleted the py312 branch March 20, 2024 15:02
iamtalhaasghar added a commit that referenced this pull request Jan 5, 2025
* 2.10.3

Automatically generated by python-semantic-release

* chore: use pipenv

* fix: #806 - pressing q doesn't stops playback when in repeat mode

* 2.10.4

Automatically generated by python-semantic-release

* fix: #1243 bumped yt-dlp version

Thanks to @galgot

* 2.10.5

Automatically generated by python-semantic-release

* docs: extend upgrade instructions (#1249)

This adds the pip / pipx commands to upgrade all the dependencies. This makes directed actions like #1225 (comment) unnecessary.

* added a notice

* fix syntax warnings on 3.12 (#1263)

* Update project URL and version maintenance (#1262)

* Update project URL

* Update __version__ in setup.py

This suppresses the update notifications

* help new: more accurate helptext

`help new` doesn't actually check whether there's a new version,
it shows the changelog for the latest release no matter what.
Update helptext to reflect this.

* Update COLLABORATORS.md

* Fix Issue #1064 and #1283: User and Channel searches to return all videos including optional filtering of search terms (#1282) (#1288)

* Updated the all_videos_from_channel function to return all videos from a channel, not just the first page of playlist results (previous method only returned up to 100 videos max).

* Updated the usersearch_id function to filter the returned videos by search term in the title or description. This restores the ability to search a user's videos.

Co-authored-by: Robert Hill <[email protected]>

* 2.11.0

Automatically generated by python-semantic-release

* 2.11.1

Automatically generated by python-semantic-release

* 2.11.2

Automatically generated by python-semantic-release

* 2.11.3

Automatically generated by python-semantic-release

* 2.11.4

Automatically generated by python-semantic-release

* 2.11.5

Automatically generated by python-semantic-release

* chore: update author email

* fix: wheel_recipe.sh

* 2.11.6

Automatically generated by python-semantic-release

* fix: semantic_release version for pypi setup.py was stuck

* 2.11.7

Automatically generated by python-semantic-release

* chore: clean up setup.cfg

* 2.12.0

Automatically generated by python-semantic-release

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: fslori <[email protected]>
Co-authored-by: Branch Vincent <[email protected]>
Co-authored-by: lawrence <[email protected]>
Co-authored-by: Robert Hill <[email protected]>
Co-authored-by: semantic-release <semantic-release>
iamtalhaasghar added a commit that referenced this pull request Jan 5, 2025
* 2.10.3

Automatically generated by python-semantic-release

* chore: use pipenv

* fix: #806 - pressing q doesn't stops playback when in repeat mode

* 2.10.4

Automatically generated by python-semantic-release

* fix: #1243 bumped yt-dlp version

Thanks to @galgot

* 2.10.5

Automatically generated by python-semantic-release

* docs: extend upgrade instructions (#1249)

This adds the pip / pipx commands to upgrade all the dependencies. This makes directed actions like #1225 (comment) unnecessary.

* added a notice

* fix syntax warnings on 3.12 (#1263)

* Update project URL and version maintenance (#1262)

* Update project URL

* Update __version__ in setup.py

This suppresses the update notifications

* help new: more accurate helptext

`help new` doesn't actually check whether there's a new version,
it shows the changelog for the latest release no matter what.
Update helptext to reflect this.

* Update COLLABORATORS.md

* Fix Issue #1064 and #1283: User and Channel searches to return all videos including optional filtering of search terms (#1282) (#1288)

* Updated the all_videos_from_channel function to return all videos from a channel, not just the first page of playlist results (previous method only returned up to 100 videos max).

* Updated the usersearch_id function to filter the returned videos by search term in the title or description. This restores the ability to search a user's videos.

Co-authored-by: Robert Hill <[email protected]>

* 2.11.0

Automatically generated by python-semantic-release

* 2.11.1

Automatically generated by python-semantic-release

* 2.11.2

Automatically generated by python-semantic-release

* 2.11.3

Automatically generated by python-semantic-release

* 2.11.4

Automatically generated by python-semantic-release

* 2.11.5

Automatically generated by python-semantic-release

* chore: update author email

* fix: wheel_recipe.sh

* 2.11.6

Automatically generated by python-semantic-release

* fix: semantic_release version for pypi setup.py was stuck

* 2.11.7

Automatically generated by python-semantic-release

* chore: clean up setup.cfg

* 2.12.0

Automatically generated by python-semantic-release

---------

Co-authored-by: github-actions <[email protected]>
Co-authored-by: fslori <[email protected]>
Co-authored-by: Branch Vincent <[email protected]>
Co-authored-by: lawrence <[email protected]>
Co-authored-by: Robert Hill <[email protected]>
Co-authored-by: semantic-release <semantic-release>
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.

Support py3.12
2 participants