Skip to content

Commit

Permalink
update supported Python version (#356)
Browse files Browse the repository at this point in the history
* update doc to support Python 3.10.x

* update dependencies versions

* Rename types.py to scuba_constants.py

* Update docs/installation/DownloadAndInstall.md

Co-authored-by: Alden Hilton <[email protected]>

---------

Co-authored-by: Alden Hilton <[email protected]>
Co-authored-by: Alden Hilton <[email protected]>
  • Loading branch information
3 people authored Sep 9, 2024
1 parent 8fa9f97 commit 127bf6b
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/installation/DownloadAndInstall.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ To download ScubaGoggles:
3. Extract the folder in the zip file.

## Installing Python Dependencies
Minimum required Python version to run the tool is `3.7.16`.
As of ScubaGoggles v0.3.0, the minimum required Python version to run the tool is `3.10.x`. While it's possible that ScubaGoggles may work with different versions of Python, 3.10 is the version we've tested and ensured works with the versions of the modules listed in ScubaGoggles' [dependencies](requirements.txt).

### Installing in a Virtual Environment
The following commands are used to set up a python virtual environment (venv) to install the needed python dependencies.
Expand Down
14 changes: 7 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
google-api-python-client==1.7.9
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.4.0
MarkupSafe==2.1.1
google-api-python-client==2.142.0
google-auth-httplib2==0.2.0
google-auth-oauthlib==1.2.1
MarkupSafe==2.1.5
dnspython==2.6.1
pandas==1.5.0
tqdm==4.66.3
requests==2.32.0
pandas==2.2.0
tqdm==4.66.5
requests==2.32.3
2 changes: 1 addition & 1 deletion scubagoggles/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from tqdm import tqdm

from scubagoggles.utils import create_subset_inverted_dict, create_key_to_list, merge_dicts
from scubagoggles.types import ApiReference
from scubagoggles.scuba_constants import ApiReference
from scubagoggles.robust_dns import RobustDNSClient

EVENTS = {
Expand Down
2 changes: 1 addition & 1 deletion scubagoggles/reporter/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from datetime import datetime
import pandas as pd
from scubagoggles.utils import rel_abs_path
from scubagoggles.types import API_LINKS
from scubagoggles.scuba_constants import API_LINKS


class Reporter:
Expand Down
File renamed without changes.
16 changes: 8 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
'scubagoggles': ['reporter/**/*']
},
include_package_data=True,
python_requires='>=3.7.16',
python_requires='>=3.10.0',
install_requires=[
'google-api-python-client==1.7.9',
'google-auth-httplib2==0.0.3',
'google-auth-oauthlib==0.4.0',
'MarkupSafe==2.1.1',
'google-api-python-client==2.142.0',
'google-auth-httplib2==0.2.0',
'google-auth-oauthlib==1.2.1',
'MarkupSafe==2.1.5',
'dnspython==2.6.1',
'pandas==1.5.0',
'tqdm==4.66.3',
'requests==2.32.0'
'pandas==2.2.0',
'tqdm==4.66.5',
'requests==2.32.3'
],
entry_points={
'console_scripts': ['scubagoggles=scubagoggles.main:dive']
Expand Down

0 comments on commit 127bf6b

Please sign in to comment.