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
30 changes: 16 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,46 +14,48 @@ on:

jobs:
build:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
name: Python ${{ matrix.python-version }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
os:
- ubuntu-latest
- windows-latest

steps:
- name: Install OS dependencies
- name: Install OS dependencies (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y graphviz

- name: Install OS dependencies (Windows)
if: runner.os == 'Windows'
run: choco install graphviz --version=2.38.0.20190211

- name: Git clone
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
cache: pip
cache-dependency-path: |
setup.py

- name: Pip cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
${{ runner.os }}-pip-

- name: Install Python dependencies
run: |
python -m pip install -U pip
python -m pip install -U setuptools wheel
python -m pip install -U coverage
python -m pip install -e .[test]
python -m pip install -e '.[test]'

- name: Run tests
run: coverage run tests.py
Expand Down
6 changes: 4 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ Changes
- Fix :func:`get_leaking_objects` with an ``objects`` argument to not ignore
references from other sources. Closes `issue 82
<https://github.com/mgedmin/objgraph/issues/82>`_.
Also fix ``get_leaking_objects([])`` causing an UnboudLocalError.
Also fix ``get_leaking_objects([])`` causing an UnboundLocalError.

- Drop support for Python 3.7.
- Add support for Python 3.14.

- Drop support for Python 3.7, 3.8, and 3.9.


3.6.2 (2024-10-10)
Expand Down
34 changes: 0 additions & 34 deletions appveyor.yml

This file was deleted.

5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,15 @@ def build_images(doctests=()):
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
],
keywords='object graph visualization graphviz garbage collection',
py_modules=['objgraph'],
python_requires=">=3.8",
python_requires=">=3.10",
extras_require={
'ipython': [
'graphviz', # just for ipython support currently
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38, py39, py310, py311, py312, py313
envlist = py310, py311, py312, py313, py314

[testenv]
deps =
Expand Down