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

[Idea]: End of Support for Python 3.7.x Legacy #48

Closed
4 tasks done
abhiTronix opened this issue Jun 23, 2024 · 1 comment · Fixed by #49 or #53
Closed
4 tasks done

[Idea]: End of Support for Python 3.7.x Legacy #48

abhiTronix opened this issue Jun 23, 2024 · 1 comment · Fixed by #49 or #53
Assignees
Labels
Idea 💡 New ideas for improving or enhancing DeFFcode APIs. Maintenance 🔧 Just sorting repository out. Solved 🥅 Final goal achieved.
Milestone

Comments

@abhiTronix
Copy link
Owner

abhiTronix commented Jun 23, 2024

Issue guidelines

Issue Checklist

  • I have searched open or closed issues and found nothing related to my idea.
  • I have read the Documentation and it doesn't mention anything about my idea.
  • To my best knowledge, my idea wouldn't break something for other users.

Describe your Idea

As of June 5, 2023, Python 3.7.x has reached its end of support. This means there will be no more security updates or general availability for this version. For more details, refer to endoflife.date/python.

What This Means for deffcode Users:

Starting from version v0.2.6, deffcode will no longer support Python 3.7.x. Here are the key points to keep in mind:

  • No Compatibility: deffcode v0.2.6 and later versions will not work with Python 3.7.x.
  • No Bug Fixes: Any issues related to Python 3.7.x will not be addressed in future updates of deffcode.
    To continue using the latest features and updates of deffcode, please upgrade your Python environment to version 3.8 or higher.

Any other Relevant Information?

https://endoflife.date/python

@abhiTronix abhiTronix added WIP 🏗️ Work in Progress Idea 💡 New ideas for improving or enhancing DeFFcode APIs. Maintenance 🔧 Just sorting repository out. labels Jun 23, 2024
@abhiTronix abhiTronix added this to the v0.2.6 milestone Jun 23, 2024
@abhiTronix abhiTronix self-assigned this Jun 23, 2024
abhiTronix added a commit that referenced this issue Jun 23, 2024
- 🔥 Removed Python 3.7 legacies support officially from CI/CD pipelines.
- ✨ Added Python 3.11 support across CI/CD configurations.
- 🙈 Update new paths to ignore additional file types in CI/CD Pipelines, and Codecov:
  - Added `*.html`, `*.js`, `*.css`, `mkdocs.yml`, `README.md`
- 👷 Change runner from `ubuntu-latest` to more stable `ubuntu-20.04` in GitHub Section.
- 🎨 Update dependencies in `docs_deployer.yml`:
  - Split long `pip install` commands for better readability
- 💚 Modify Mike deploy commands to use `--alias-type=copy` instead of depreciated `--no-redirect`.
abhiTronix added a commit that referenced this issue Jun 23, 2024
…thon `3.7.x` legacies [#49]

**Core Improvements:**
- ♻️ Ended support for Python 3.7.x legacies (Fixes #48).
  - 🔥 Removed Python 3.7 support from CI/CD pipelines.
  - ✨ Added Python 3.11 support across CI/CD configurations.
  - 🙈 Updated paths to ignore additional file types in CI/CD Pipelines and Codecov:
    - Added `*.html`, `*.js`, `*.css`, `mkdocs.yml`, `README.md`.
  - 👷 Changed runner from `ubuntu-latest` to `ubuntu-20.04` in GitHub Actions.
  - 🎨 Updated dependencies in `docs_deployer.yml` for better readability.
  - 💚 Modified Mike deploy commands to use `--alias-type=copy` instead of deprecated `--no-redirect`.

**Sourcer Enhancements:**
- ⚡️ Added new parameters to metadata to display video orientation (Fixes #39).
  - 🏗️ Updated `__extract_resolution_framerate` function to also return video orientation.
  - ✨ Added new regex pattern and filter for accurate video orientation extraction.
  - 🚩 Added `source_video_orientation` parameter (default `0.0`).
  - 🚩 Added `output_orientation` parameter (default `0.0`).
  - 🔨 Added new class parameters for handling video orientation values.

 **FFhelper Enhancements:**
- ✨ Added support for SRTP/RTSPS in `is_valid_url` function (Fixes #50).
  - ⚡️ Enhanced `is_valid_url` to support `rtsp` and `rtsps` protocols.
  - 💬 SRTP/RTSPS extends RTSP/RTP to encrypt video/audio data using ciphers like AES with a 128-bit key.

**FFhelper Bug Fixes:**
- 🐛 Fixed regex expression bugs in `get_supported_demuxers` method.
  - ⚡️ Simplified regex search for demuxers and handled multi-line output correctly.
  - 🎨 Improved output extraction logic to handle commas within demuxer names.
- 👷 Improved regex pattern in `get_supported_demuxers` function.

**Maintenance Updates:**
- 🔖 Bumped version to 0.2.6.
- 🩹 Updated patch for `long_description`.

**CI Fixes:**
- 💚 Fixed Assertion error with WriteGear API.
- 💚 Removed unsupported darwin platform from `test_FFdecoder_params` test.
@abhiTronix abhiTronix pinned this issue Jun 23, 2024
@abhiTronix abhiTronix added Solved 🥅 Final goal achieved. and removed WIP 🏗️ Work in Progress labels Jun 23, 2024
@abhiTronix
Copy link
Owner Author

End of Support for Python 3.7.x Legacy in commit b6ee94b

abhiTronix added a commit that referenced this issue Jul 6, 2024
- 🏗️ Increased `python_requires` to `3.8` and above.
- 🔥  Removed depreciated Python-3.7 from metadata.
abhiTronix added a commit that referenced this issue Jul 7, 2024
…ates. [#53]

-⚡️Refactored process termination in terminate method. (Fixes #41)
   - 🚀 Changed process termination from `kill` to `terminate` if the process is still running.
     - Ensures that the process is terminated gracefully using `terminate()` instead of `kill()`.
     - The `terminate()` method sends the `SIGTERM` signal to a process, which typically allows for a graceful shutdown. On Unix, this uses the `SIGTERM` signal, while on Windows, it uses `TerminateProcess()`.
- 🎨 Simplified conditional check using short-circuiting.   

Docs: 
- ✨ Added context and detailed instructions for Input and Output Seeking methods. (Fixes #44)
   - 📝 Introduced `Input Seeking` and `Output Seeking` sections with pros, cons, and usage examples.
   - 🚸 Added warning about using output seeking with filters for accuracy.
   - 🎨 Improved overall document structure and readability.

Setup.py: 
- 🗑️ Ended support for Python 3.7.x legacies (Fixes #48) 
   - 🏗️ Increased `python_requires` to `3.8` and above.
   - 🔥  Removed depreciated Python-3.7 from metadata.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea 💡 New ideas for improving or enhancing DeFFcode APIs. Maintenance 🔧 Just sorting repository out. Solved 🥅 Final goal achieved.
Projects
None yet
1 participant