Skip to content

Commit

Permalink
Updated minimum Python version to 3.8 (#10)
Browse files Browse the repository at this point in the history
* Removed `pytest` package from library requirements. Removed specific version requirement from the `pyyaml` package in the library requirements.

* Updated the minimum Python version to 3.8+ in the project README and pyproject.toml. Additionally, updated the project test, build, and release workflows to use Ubuntu 20.04 as the default environment as well as the Python setup action to target Python 3.8.
  • Loading branch information
AzorianMatt authored Jan 17, 2024
1 parent 89d7ee5 commit 706f014
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/project-release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
build-test-publish-index-package:
name: PyPi Package Test/Build/Publish (Test)
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
permissions:
id-token: write
contents: write
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ">=3.6"
python-version: '3.8'

# Set up the environment to run the latest Python build, test, and publish tools
- name: Set Up Build & Test Environment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/project-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
build-test-publish-index-package:
name: PyPi Package Test/Build/Publish
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
permissions:
id-token: write
contents: write
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ">=3.6"
python-version: '3.8'

# Set up the environment to run the latest Python build, test, and publish tools
- name: Set Up Build & Test Environment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/project-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:
jobs:
test-build-test-index-package:
name: PyPi Package Test/Build
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04

steps:
# Checkout the repository
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ">=3.6"
python-version: '3.8'

# Set up the environment to run the latest Python build, test, and publish tools
- name: Set Up Build & Test Environment
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ the [Feature Documentation](./docs/wiki/project/features.md).

## Installation

**Notice! This requires Python 3.6+**
**Notice! This requires Python 3.8+**

To install the Python package, run the following command in your Python environment:

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = [
description = "Reflective provides a plethora of ways to access and manipulate structured data."
readme = "README.md"
license = { file="LICENSE" }
requires-python = ">=3.6"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

setup(
package_dir={'': 'src'},
install_requires=['pytest', 'pyyaml>=6.0.1'],
install_requires=['pyyaml'],
)

0 comments on commit 706f014

Please sign in to comment.