Skip to content
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
9 changes: 3 additions & 6 deletions .github/workflows/python-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:

jobs:
test:
name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
Expand All @@ -21,21 +20,19 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- run: |
# ensure we're using *our* dotenv during testing and not some other one
# installed on the system, e.g. gh machines apparently have sometimes
# the ruby dotenv package installed
pip install --upgrade -r requirements-dev.txt
pip install -e .['dev']
pip install --upgrade -e .['dev']
make test

lint:
Expand Down
5 changes: 4 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ build:
mkdocs:
configuration: mkdocs.yml


python:
install:
- requirements: requirements-dev.txt
- path: .
extra_requirements:
- dev
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

## [unreleased]

* removed ruff's target-version, defaulting to pyproject's requires-python
* Added Python 3.13 to github ci
* Updated pyproject.toml to comply with latest setuptools recommendation:
* Removed License Classifier
* Use license-files to point to LICENSE file
* Removed requirements-dev.txt, relying on pyproject.toml to specify the
requirements
* Removed ruff's target-version, defaulting to pyproject's requires-python

## [3.4.1] -- 2024-08-28

Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ endif
.PHONY: all
all: lint mypy test test-docs test-release

$(VENV): requirements-dev.txt pyproject.toml
$(VENV): pyproject.toml
$(PY) -m venv $(VENV)
$(BIN)/pip install --upgrade -r requirements-dev.txt
$(BIN)/pip install -e .['dev']
$(BIN)/pip install --upgrade -e .['dev']
touch $(VENV)

# in this target, our tests are using Popen etc to run other scrips. Therefore
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ authors = [
description = "Simple dotenv CLI."
keywords = ["dotenv", "cli", ".env"]
readme = "README.md"
license = { file = "LICENSE" }
license-files = ["LICENSE"]
requires-python = ">=3.9"
dynamic = ["version"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]

Expand Down
8 changes: 0 additions & 8 deletions requirements-dev.txt

This file was deleted.