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

chore: update dependencies related to ci and python #817

Merged
merged 3 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2.1
orbs:
browser-tools: circleci/browser-tools@1.2.1
browser-tools: circleci/browser-tools@1.4.8
jobs:
test:
docker:
- image: cimg/python:3.9-browsers
- image: cimg/python:3.12.3-browsers
environment:
PIPENV_VENV_IN_PROJECT: true
working_directory: ~/mignonnesaurus-blog
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ db.sqlite3
htmlcov
coverage.xml
geckodriver.log

.idea
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
python 3.12.3
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ setuptools = "==69.5.1"
[dev-packages]

[requires]
python_version = "3.9"
python_version = "3.12"
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@ I :yellow_heart: the [Django Girls Tutorial](https://tutorial.djangogirls.org/en

### How to run the project locally?

1. Make sure you have [GNU Make](https://www.gnu.org/software/make/) installed on your machine.
1. Install the version of Python the [.tool-versions](.tool-versions) file.
* You may want to use [asdf](https://asdf-vm.com/) for this purpose.

2. Make sure you have [GNU Make](https://www.gnu.org/software/make/) installed on your machine.
* A [Makefile](Makefile) was added to the project to simplify some tasks.

2. The project uses [pipenv](https://github.com/pypa/pipenv) to manage the Python dependencies and facilitate the
workflow when working with a virtualenv. So, please [install pipenv](https://github.com/pypa/pipenv#installation)
3. The project uses [pipenv](https://github.com/pypa/pipenv) to manage the Python dependencies and facilitate the
workflow when working with a virtualenv. You'll need to [install pipenv](https://github.com/pypa/pipenv#installation)
before getting started:
```bash
brew install pipenv
Expand All @@ -63,7 +66,7 @@ make runserver

### Test suite

All the tests that are run as part of CI are in the [tests](tests) folder and you can run them locally with:
All the tests that are run as part of CI are in the [tests](tests) folder, and you can run them locally with:

```bash
python manage.py test tests
Expand Down
Loading