Skip to content

Commit e68d9ed

Browse files
[CIVIS-8775] ENH update dependency versions: civis-python 2.3.0, Python 3.12.4 (#3)
* ENH civis 2.3.0, python 3.12.4 * MAINT update changelog and readme * STY fix warning message
1 parent bf80d83 commit e68d9ed

File tree

6 files changed

+14
-7
lines changed

6 files changed

+14
-7
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
### Fixed
1515
### Security
1616

17+
## [1.2.0] - 2024-06-24
18+
19+
### Changed
20+
- Updated Python version in Docker image: 3.12.3 -> 3.12.4. (#3)
21+
- Updated demo app's dependencies to the latest versions: (#3)
22+
* civis 2.1.0 -> 2.3.0
23+
1724
## [1.1.0] - 2024-05-24
1825

1926
### Added

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/x86_64 python:3.12.3-slim AS base
1+
FROM --platform=linux/x86_64 python:3.12.4-slim AS base
22
33

44
# Supress pip user warnings:

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ for service deployment.
2222
If you would like to start making the demo app your own
2323
by making code changes,
2424
you may [fork this GitHub repository](https://github.com/civisanalytics/civis-services-streamlit/fork)
25+
(note: your fork would be public; GitHub only allows public forks from a public repository)
2526
where the demo app's source code is in the directory [`demo_app/`](demo_app).
2627
If you would like to host and use your own Docker image,
2728
[`Dockerfile`](Dockerfile) and [`entrypoint.sh`](entrypoint.sh) from this GitHub repository
@@ -83,7 +84,7 @@ here are the requirements.
8384
specify the directory path that points to where the app code is located.
8485
(For the demo app in the previous section above, the directory path would be `demo_app` from this current repo.)
8586
5. For the Docker image, the name is `civisanalytics/civis-services-streamlit`,
86-
and the tag is one of those [listed on DockerHub](https://hub.docker.com/repository/docker/civisanalytics/civis-services-streamlit/tags).
87+
and the tag is one of those [listed on DockerHub](https://hub.docker.com/r/civisanalytics/civis-services-streamlit/tags).
8788
Note that the specific Docker image name and tag you've chosen determines which Python version
8889
your app is going to run on.
8990

demo_app/app.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ def main():
4141

4242
st.write(
4343
"To create your own app, "
44-
"fork the [civis-services-streamlit GitHub repository](https://github.com/civisanalytics/civis-services-streamlit) " # noqa: E501
45-
"and follow the instructions."
44+
"follow the instructions at the [civis-services-streamlit GitHub repository](https://github.com/civisanalytics/civis-services-streamlit)." # noqa: E501
4645
)
4746

4847
st.title("The Iris Dataset")

demo_app/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
civis==2.1.0
1+
civis==2.3.0
22
pandas==2.2.2
33
scikit-learn==1.5.0
44
streamlit==1.35.0

entrypoint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ if [ ! -f app.py ]; then
1212
fi
1313

1414
if [ ! -f requirements.txt ]; then
15-
echo "The file 'requirements.txt' is not found at $APP_DIR/$REPO_PATH_DIR." \
16-
"For your app's stability, it is strongly recommended that requirements.txt be provided" \
15+
echo "The file 'requirements.txt' is not found at $APP_DIR/$REPO_PATH_DIR. " \
16+
"For your app's stability, it is strongly recommended that requirements.txt be provided " \
1717
"to pin the exact version of the Python dependencies." >&2
1818
else
1919
echo "Installing dependencies from requirements.txt"

0 commit comments

Comments
 (0)