Skip to content

Commit

Permalink
update required python to 3.8
Browse files Browse the repository at this point in the history
change use of importlib_metadata to importlib.metadata
  • Loading branch information
braingram committed Mar 6, 2023
1 parent 801e55b commit d9a4370
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
0.4.6 (unreleased)
==================

- add ``importlib.metadata`` as a dependency and update loading of entry_points to drop
- increase required python version to 3.8 and update loading of entry_points to drop
usage of pkg_resources [#84]

0.4.5 (2022-12-23)
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = 'stpipe'
description = 'Framework for calibration pipeline software'
readme = 'README.md'
requires-python = '>=3.7'
requires-python = '>=3.8'
license = { file = 'LICENSE' }
authors = [{ name = 'STScI', email = 'help@stsci.edu' }]
classifiers = [
Expand All @@ -16,7 +16,6 @@ dependencies = [
'crds>=7.4.1.3',
'astropy>=5.0.4',
'stdatamodels>=0.2.4',
'importlib_metadata>=4.11.4',
]
dynamic = ['version']

Expand Down
2 changes: 1 addition & 1 deletion src/stpipe/entry_points.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from collections import namedtuple
import warnings

from importlib_metadata import entry_points
from importlib.metadata import entry_points


STEPS_GROUP = "stpipe.steps"
Expand Down

0 comments on commit d9a4370

Please sign in to comment.