Skip to content

Commit 63c73dd

Browse files
authored
Merge pull request #195 from mull-project/stanislaw/replace_poetry
pyproject.toml: remove Poetry
2 parents 195aa15 + 8e2ff43 commit 63c73dd

File tree

7 files changed

+67
-789
lines changed

7 files changed

+67
-789
lines changed

.github/workflows/ci-linux.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,12 @@ jobs:
2020

2121
- name: Upgrade pip
2222
run: |
23-
python -m pip install --upgrade pip
24-
python -m pip install --upgrade setuptools
23+
python -m pip install --upgrade pip
2524
26-
- name: Install Poetry
25+
- name: Install dev dependencies
2726
run: |
28-
curl -sSL https://install.python-poetry.org | python3 -
29-
30-
- name: Add Poetry to PATH
31-
run: |
32-
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV
33-
34-
- name: Install dependencies
35-
run: |
36-
poetry config virtualenvs.in-project true
37-
poetry install
27+
pip install -r requirements.dev.txt
3828
3929
- name: Run tests
4030
run: |
41-
poetry run invoke check
31+
invoke check

.github/workflows/ci-mac.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,10 @@ jobs:
2222
run: |
2323
python -m pip install --upgrade pip
2424
25-
- name: Install Poetry
25+
- name: Install dev dependencies
2626
run: |
27-
curl -sSL https://install.python-poetry.org | python3 -
28-
29-
- name: Add Poetry to PATH
30-
run: |
31-
echo "PATH=$PATH:~/.local/bin" >> $GITHUB_ENV
32-
33-
- name: Install dependencies
34-
run: |
35-
poetry config virtualenvs.in-project true
36-
poetry install
27+
pip install -r requirements.dev.txt
3728
3829
- name: Run tests
3930
run: |
40-
poetry run invoke check
31+
invoke check

.github/workflows/ci-windows.yml

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
name: "FileCheck.py on Windows"
22

3-
# Disabling building on Windows for now.
43
on:
54
push:
65
branches: [ "nonsense-branch" ]
7-
# pull_request:
8-
# branches: [ "**" ]
6+
pull_request:
7+
branches: [ "**" ]
98

109
jobs:
1110
build:
@@ -32,35 +31,13 @@ jobs:
3231
3332
- name: Upgrade pip
3433
run: |
35-
python -m pip install --upgrade pip
34+
python -m pip install --upgrade pip
3635
37-
- name: Install Poetry
36+
- name: Install dev dependencies
3837
run: |
39-
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
40-
41-
- name: "Poetry: add to %PATH%"
42-
run: |
43-
# Either of these should work.
44-
echo "$env:APPDATA\pypoetry" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
45-
echo "$env:APPDATA\Python\Scripts" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
46-
47-
- name: "Poetry: print version"
48-
run: |
49-
poetry --version
50-
51-
- name: "Poetry: configure settings"
52-
run: |
53-
# https://github.com/python-poetry/poetry/issues/6098
54-
poetry config virtualenvs.create true
55-
poetry config virtualenvs.in-project true
56-
poetry config virtualenvs.prefer-active-python
57-
58-
- name: "Poetry: Install dependencies"
59-
run: |
60-
poetry run python --version
61-
poetry install
38+
pip install -r requirements.dev.txt
6239
6340
- name: Run tests
6441
run: |
65-
poetry run invoke check
42+
invoke check
6643
shell: bash

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
3.6.2
1+
3.7.15
22

0 commit comments

Comments
 (0)