Repository: posit-dev/py-shinywidgets (language: python)

Issue:
Fix installation problem on Python 3.7
This fixes an installation problem on Python 3.7 due to https://github.com/python/importlib_metadata/issues/411.


Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0c84a10..aa5bdbd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,11 @@ All notable changes to shinywidgets will be documented in this file.
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
-## [0.2.1]
+## [UNRELEASED]
+
+* Closed #104: Officially support for Python 3.7.
+
+## [0.2.1] - 2023-05-15
 
 * Actually export `as_widget()` (it was mistakenly not exported in 0.2.0).
 
diff --git a/setup.cfg b/setup.cfg
index 9fbc96f..1eb52a8 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -15,17 +15,17 @@ classifiers =
     Intended Audience :: Developers
     License :: OSI Approved :: MIT License
     Natural Language :: English
-    Programming Language :: Python :: 3.7
     Programming Language :: Python :: 3.8
     Programming Language :: Python :: 3.9
     Programming Language :: Python :: 3.10
+    Programming Language :: Python :: 3.11
 project_urls =
     Bug Tracker = https://github.com/rstudio/py-shinywidgets/issues
     Documentation = https://github.com/rstudio/py-shinywidgets/
     Source Code = https://github.com/rstudio/py-shinywidgets/
 
 [options]
-python_requires = >=3.7
+python_requires = >=3.8
 packages = find:
 test_suite = tests
 include_package_data = True
diff --git a/shinywidgets/__init__.py b/shinywidgets/__init__.py
index 90f6458..10ddb50 100644
--- a/shinywidgets/__init__.py
+++ b/shinywidgets/__init__.py
@@ -2,7 +2,7 @@
 
 __author__ = """Carson Sievert"""
 __email__ = "carson@rstudio.com"
-__version__ = "0.2.1"
+__version__ = "0.2.1.9000"
 
 from ._dependencies import bokeh_dependency
 from ._shinywidgets import output_widget, reactive_read, register_widget, render_widget, as_widget


Test patch:
diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml
index 8a29e44..4007a99 100644
--- a/.github/workflows/pytest.yaml
+++ b/.github/workflows/pytest.yaml
@@ -13,7 +13,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
+        python-version: [3.8, 3.9, "3.10", "3.11"]
       fail-fast: false
 
     steps: