Skip to content

Commit

Permalink
increase min Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
MJWeberg committed Jan 22, 2025
1 parent 8568360 commit c050879
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 16 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: 3.8
- python-version: 3.9
- python-version: '3.10'
- python-version: '3.11'
- python-version: '3.12'
steps:
- name: Checkout
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ environment. You can now import the package using `import eispac`.

### Required Packages

* python >= 3.8
* python >= 3.9
* numpy >= 1.18
* scipy >= 1.4
* matplotlib >= 3.1
Expand Down
2 changes: 1 addition & 1 deletion docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ automatically check and install missing dependencies, assuming your
environment is configured appropriately. If it does not, you may wish to
try installing the required packages individually first.

- python >= 3.8
- python >= 3.9

- numpy >= 1.18

Expand Down
13 changes: 2 additions & 11 deletions scripts/eis_explore_raster.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,17 +159,6 @@ def initUI(self):
self.radio_sync_cross.setFont(self.font_default)
self.radio_sync_cross.setChecked(True)

# self.label_inten_cmap = QtWidgets.QLabel()
# self.label_inten_cmap.setFont(self.font_default)
# self.label_inten_cmap.setText("Intensity colormap")

# self.box_inten_cmap = QtWidgets.QComboBox()
# self.box_inten_cmap.addItems(self.inten_cmap_list)
# self.box_inten_cmap.setFixedWidth(2*self.base_width)
# self.box_inten_cmap.setFont(self.font_default)
# self.box_inten_cmap.setCurrentIndex(0)
# self.box_inten_cmap.currentIndexChanged.connect(self.event_change_layout)

self.label_tips = QtWidgets.QLabel()
self.label_tips.setFont(self.font_default_italic)
self.label_tips.setText("Middle click to toggle\npan/zoom mode"
Expand Down Expand Up @@ -581,6 +570,8 @@ def plot_raster(self, r_ind=0):
old_cross_x = self.rast_crosshair[r_ind].get_offsets()[0,0]
old_cross_y = self.rast_crosshair[r_ind].get_offsets()[0,1]
self.crosshair_old_coords[r_ind] = [old_cross_x, old_cross_y]
self.rast_crosshair[r_ind].remove()
self.rast_crosshair[r_ind] = None

self.rast_fig[r_ind].clf()

Expand Down
5 changes: 3 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Operating System :: OS Independent

[options]
zip_safe = False
python_requires = >=3.7
python_requires = >=3.9
packages = find:
include_package_data = True
setup_requires =
Expand Down

0 comments on commit c050879

Please sign in to comment.