Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoutin committed May 8, 2024
1 parent 3ae8af8 commit e43d44d
Show file tree
Hide file tree
Showing 12 changed files with 633 additions and 642 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
id: cache
with:
path: ${{ env.CACHE_DIR }}
Expand All @@ -56,13 +56,13 @@ jobs:
$POETRY_HOME/bin/poetry run sphinx-build -b html doc doc/_build
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: doc/_build

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
28 changes: 15 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
python-version: [ "3.x" ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

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

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
id: cache
with:
path: ${{ env.CACHE_DIR }}
Expand Down Expand Up @@ -78,29 +78,29 @@ jobs:
fail-fast: false
matrix:
os:
- "ubuntu-latest"
- "ubuntu-22.04"
- "ubuntu-20.04"
- "windows-2019"
- "windows-2022"
- "macos-12"
- "macos-13"
- "macos-14"
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.x"
- "3.12"
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

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

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
id: cache
with:
path: ${{ env.CACHE_DIR }}
Expand All @@ -119,7 +119,9 @@ jobs:
if: ${{ always() }}

- name: Collect coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

publish:
runs-on: ubuntu-latest
Expand All @@ -132,15 +134,15 @@ jobs:
environment: PyPI
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

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

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
id: cache
with:
path: ${{ env.CACHE_DIR }}
Expand Down
1 change: 1 addition & 0 deletions compilertools/_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Generic utilities."""

import sys
from importlib import import_module
from collections.abc import MutableMapping
Expand Down
1 change: 1 addition & 0 deletions compilertools/compilers/_core.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Base class and functions for compilers."""

from itertools import product
from collections import namedtuple, OrderedDict
from compilertools._utils import import_class, BaseClass
Expand Down
1 change: 0 additions & 1 deletion compilertools/compilers/gcc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""GNU Compiler Collection."""


from compilertools.compilers import CompilerBase as _CompilerBase
from compilertools._utils import (
dump_version as _dump_version,
Expand Down
1 change: 0 additions & 1 deletion compilertools/compilers/llvm.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""LLVM Clang."""


from compilertools.compilers import CompilerBase as _CompilerBase
from compilertools._utils import (
dump_version as _dump_version,
Expand Down
1 change: 0 additions & 1 deletion compilertools/compilers/msvc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Microsoft Visual C++ Compiler."""


from compilertools.compilers import CompilerBase as _CompilerBase

__all__ = ["Compiler"]
Expand Down
1 change: 1 addition & 0 deletions compilertools/processors/x86_32.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""X86-32 Processors."""

from compilertools.processors import ProcessorBase as _ProcessorBase

__all__ = ["Processor", "Cpuid"]
Expand Down
1,223 changes: 606 additions & 617 deletions poetry.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
]
keywords = ["compiler", "distutils", "setuptools", "build_ext", "wheels", "setup", "build"]
repository = "https://github.com/JGoutin/compilertools"
documentation = "https://jgoutin.github.io/compilertools/"

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.9"

[tool.poetry.dev-dependencies]
bandit = "*"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![tests](https://github.com/JGoutin/compilertools/workflows/tests/badge.svg)
[![Tests](https://github.com/JGoutin/compilertools/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/JGoutin/compilertools/actions/workflows/tests.yml)
[![codecov](https://codecov.io/gh/JGoutin/compilertools/branch/master/graph/badge.svg)](https://codecov.io/gh/JGoutin/compilertools)
[![PyPI](https://img.shields.io/pypi/v/compilertools.svg)](https://pypi.org/project/compilertools)

Expand Down
1 change: 0 additions & 1 deletion tests/test_real_conditions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Test build and import with real files and compilers."""


C_SOURCE = """
#include <Python.h>
Expand Down

0 comments on commit e43d44d

Please sign in to comment.