Skip to content

Commit

Permalink
chore: update project and lock files (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming authored Jan 25, 2024
1 parent f94bfb2 commit 4b6ba52
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 71 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
on:
push:
branches: [main]
pull_request:

name: Test Action
Expand All @@ -9,7 +10,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: ["windows-latest", "ubuntu-latest", "macos-latest"]
name: Test the action
steps:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "esbuild src/setup-pdm.ts --bundle --platform=node --target=node20 --outfile=dist/setup-pdm.js && esbuild src/cache-save.ts --bundle --platform=node --target=node20 --outfile=dist/cache-save.js"
},
"packageManager": "pnpm@7.32.2",
"packageManager": "pnpm@8.14.3",
"repository": {
"type": "git",
"url": "git+https://github.com/pdm-project/setup-pdm.git"
Expand Down
94 changes: 41 additions & 53 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 4 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
[project]
name = "setup-pdm"
version = "0.0.0"
authors = [
{name = "Frost Ming", email = "mianghong@gmail.com"},
]
include = "test.py"
requires-python = ">=3.7"
dynamic = ["classifiers"]
requires-python = ">=3.8"
license = {text = "MIT"}

[project.urls]
homepage = ""

[tool]
[tool.pdm]
distribution = false

[tool.pdm.dev-dependencies]
dev = [
"chardet; python_version=='3.7'",
"urllib3; python_version=='3.8'",
"certifi; python_version=='3.9'",
"pytz; python_version=='3.10'",
"setuptools; python_version=='3.11'",
"six; python_version=='3.12'",
]

[build-system]
requires = ["pdm-pep517"]
build-backend = "pdm.pep517.api"
5 changes: 1 addition & 4 deletions test.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import importlib
import os
import sys
import unittest
import importlib


PACKAGE_MAP = {
"3.6": "idna",
"3.7": "chardet",
"3.8": "urllib3",
"3.9": "certifi",
"3.10": "pytz",
Expand Down

0 comments on commit 4b6ba52

Please sign in to comment.