bobthemighty / punq

An IoC container for Python 3.6+
MIT License
301 stars 13 forks source link

Drops Python3.7 support #179

Closed sobolevn closed 10 months ago

sobolevn commented 1 year ago

Hi!

The "why" about these changes:

  1. First of all, pkg_resources is now almost-deprecated:
 ../usr/local/lib/python3.11/site-packages/punq/__init__.py:27
  /usr/local/lib/python3.11/site-packages/punq/__init__.py:27: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    from pkg_resources import DistributionNotFound
  1. It is a 3rd party package that was not listed in dependencies.
  2. Python3.7 is dead now, so we can drop it. But, we have to list Python3.11 as supported and tested
  3. I've also updated all dependencies (whichout changing their bounds) and I've updated most github actions
  4. I've added a change log entry and bumped the version number
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (f757519) 100.00% compared to head (ce349aa) 100.00%. Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #179 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 1 1 Lines 159 158 -1 Branches 35 22 -13 ========================================= - Hits 159 158 -1 ``` | [Files Changed](https://app.codecov.io/gh/bobthemighty/punq/pull/179?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bob+Gregory) | Coverage Δ | | |---|---|---| | [punq/\_\_init\_\_.py](https://app.codecov.io/gh/bobthemighty/punq/pull/179?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Bob+Gregory#diff-cHVucS9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

bobthemighty commented 10 months ago

Thanks @sobolevn !