Skip to content

Commit

Permalink
Pin python version to 3.9 and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
harrislapiroff committed Jul 31, 2023
1 parent 3ef3277 commit 763c2db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ In some cases, you may wish to suppress articles from being posted, even though
### Quick Start

```bash
poetry env use 3.9 # Necessary if you have a different default python version
poetry install
poetry run trackthenews sample_project
# Follow the setup script instructions
Expand All @@ -80,6 +81,8 @@ poetry run trackthenews sample_project
To develop `trackthenews`, clone the repository and install the package using [poetry][] and run the CLI tool:

```bash
# Ensure you're using Python 3.9
poetry env use 3.9
# This will create a virtual environment and install trackthenews and its dependencies
poetry install --with=dev
# This will run the setup script
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repository = "https://github.com/freedomofpress/trackthenews"
include = ["trackthenews/fonts/*"]

[tool.poetry.dependencies]
python = "^3.9"
python = "~3.9"
feedparser = "^6.0"
future = "^0.17.1"
html2text = "2018.1.9"
Expand Down

0 comments on commit 763c2db

Please sign in to comment.