From 1e2ae7ddd47b498b5627568d92bfe3ce06e9fe8f Mon Sep 17 00:00:00 2001 From: David Rodriguez Date: Mon, 10 Feb 2025 20:31:48 +0000 Subject: [PATCH 1/2] Updating package requirements and related --- .devcontainer/devcontainer.json | 2 +- .github/workflows/codeql.yml | 2 +- .github/workflows/python-app.yml | 8 ++++---- README.md | 2 +- requirements.txt | 2 +- simple_app/simports.py | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7d746b2..57f402f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "Python 3", - "image": "mcr.microsoft.com/devcontainers/python:3.8", + "image": "mcr.microsoft.com/devcontainers/python:3.11", "features": { "ghcr.io/devcontainers/features/node:1": { "version": "none" diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b98f0a8..8cd4d4d 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -40,7 +40,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 704eaa8..766d64f 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - name: Set up Python 3.11 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.11 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/README.md b/README.md index aee796e..006a459 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ If you have changed either the host or port with system arguments, use those ins ### Updating We also recommend keeping up to date with the repo changes, and most importantly, -the [astrodbkit2](https://github.com/dr-rodriguez/AstrodbKit2) package: +the [astrodbkit](https://github.com/astrodbtoolkit/AstrodbKit) package: ```bash git pull pip install -Ur requirements.txt diff --git a/requirements.txt b/requirements.txt index bc8b90c..9604d1e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -astrodbkit2>=0.5.1 +astrodbkit>=2.2 astropy>=5.2.0,<6 bokeh==3.0.2 flask>=3.0,<4 diff --git a/simple_app/simports.py b/simple_app/simports.py index 67f9f57..cb9c89d 100644 --- a/simple_app/simports.py +++ b/simple_app/simports.py @@ -2,7 +2,7 @@ Importing all packages """ # external packages -from astrodbkit2.astrodb import Database # used for pulling out database and querying +from astrodbkit.astrodb import Database # used for pulling out database and querying from astropy.coordinates import SkyCoord # coordinates from astropy.io import fits # handling fits files import astropy.units as u # units From 3ebcf5636ed1969c88a8d4360114c2eccbdf0fa1 Mon Sep 17 00:00:00 2001 From: David Rodriguez Date: Mon, 10 Feb 2025 20:37:35 +0000 Subject: [PATCH 2/2] updating a few more files --- environment.yml | 2 +- runtime.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/environment.yml b/environment.yml index 7af5aa1..6e1915e 100644 --- a/environment.yml +++ b/environment.yml @@ -2,7 +2,7 @@ name: simple channels: - defaults dependencies: - - python=3.9.16 + - python=3.11.11 - pip - pip: - -r requirements.txt diff --git a/runtime.txt b/runtime.txt index a562bb9..aaa0caa 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.8.8 \ No newline at end of file +python-3.11.11 \ No newline at end of file