Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Python version to 3.9 in Docker and setup.py #974

Merged
merged 7 commits into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/code_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"

- name: Install Nox
run: pip install nox>=2022

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
with:
fetch-depth: 0 # This is required to properly tag packages

- name: Setup Python 3.8
- name: Setup Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9

- name: Use Node.js 16
uses: actions/setup-node@v2
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ The types of changes are:

### Changed

* Upgraded base Docker version to Python 3.9 and updated all other references from 3.8 -> 3.9 [#974](https://github.com/ethyca/fides/pull/974)

## [1.8.1](https://github.com/ethyca/fides/compare/1.8.0...1.8.1) - 2022-08-08

### Deprecated
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 python:3.8-slim-bullseye as base
FROM --platform=linux/amd64 python:3.9-slim-bullseye as base

# Update pip in the base image since we'll use it everywhere
RUN pip install -U pip
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Fides (_fee-dhez_, Latin: Fidēs) is an open-source tool that allows you to easi

* **Optional:** [`pipx`](https://pypa.github.io/pipx/) for environment isolation. The following documentation assumes `pipx` is installed, but `pip` commands can be substituted when needed.
* [Docker](https://www.docker.com/products/docker-desktop) (20.10.8+) and [Docker Compose](https://docs.docker.com/compose/install/) (1.29.0+)
* [Python](https://www.python.org/downloads/) (3.8+)
* [Python](https://www.python.org/downloads/) (3.9+)
* [Nox](https://nox.thea.codes/en/stable/) (`pipx install nox`)

### Getting Started
Expand Down Expand Up @@ -130,19 +130,19 @@ The Fides core team is committed to providing a variety of documentation to help

For more information on getting started with Fides, how to configure and set up Fides, and more about the Fides ecosystem of open source projects:

- Documentation: <https://ethyca.github.io/fides/>
- Tutorial: <https://ethyca.github.io/fides/tutorial/>
- Installation: <https://ethyca.github.io/fides/installation/installation/>
- Roadmap: <https://github.com/ethyca/fides/projects>
- Website: www.ethyca.com/fides
* Documentation: <https://ethyca.github.io/fides/>
* Tutorial: <https://ethyca.github.io/fides/tutorial/>
* Installation: <https://ethyca.github.io/fides/installation/installation/>
* Roadmap: <https://github.com/ethyca/fides/projects>
* Website: www.ethyca.com/fides

### Support

Join the conversation on:

- [Slack](https://fid.es/join-slack)
- [Twitter](https://twitter.com/ethyca)
- [Discussions](https://github.com/ethyca/fides/discussions)
* [Slack](https://fid.es/join-slack)
* [Twitter](https://twitter.com/ethyca)
* [Discussions](https://github.com/ethyca/fides/discussions)

### Contributing

Expand Down
2 changes: 1 addition & 1 deletion docs/fides/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8-slim-bullseye
FROM python:3.9-slim-bullseye

# Install auxiliary software
RUN apt-get update
Expand Down
2 changes: 1 addition & 1 deletion docs/fides/docs/installation/prerequisites_dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Fidesctl supports the following Python versions:

* Python: 3.8
* Python: 3.9
ThomasLaPiana marked this conversation as resolved.
Show resolved Hide resolved

Fidesctl supports the following databases as the application database:

Expand Down
2 changes: 1 addition & 1 deletion docs/fides/docs/tutorial/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The app itself is the [Flask tutorial app](https://flask.palletsprojects.com/en/
Before beginning, ensure you have the following software installed and configured to your liking:

* Docker (v12+)
* Python (v3.8+)
* Python (v3.9+)
* `pg_config` (required for the Python project. Installed via Homebrew with `brew install libpq` or `brew install postgres`.)

### Installation
Expand Down
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ethyca/fides",
entry_points={"console_scripts": ["fidesctl=fidesctl.cli:cli","fides=fidesctl.cli:cli"]},
python_requires=">=3.8, <4",
entry_points={
"console_scripts": ["fidesctl=fidesctl.cli:cli", "fides=fidesctl.cli:cli"]
},
python_requires=">=3.9, <4",
package_dir={"": "src"},
packages=find_packages(where="src"),
include_package_data=True,
Expand All @@ -58,8 +60,9 @@
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
ThomasLaPiana marked this conversation as resolved.
Show resolved Hide resolved
"Topic :: Software Development :: Libraries",
],
)