Skip to content

Commit

Permalink
v1.7.0: Remove deprecated plugins; Remove python2 declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
陈夏明 committed Aug 18, 2023
1 parent 4162ce7 commit 9a446cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 177 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,13 @@ on:
branches: [ "master" ]

jobs:
build-pre37:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["2.7"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements-t-pre37.txt ]; then pip install -r requirements-t-pre37.txt; fi
- name: Test with nosetests
run: |
./scripts/testing.sh
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.4", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12.0-rc.1"]

steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup

__version__ = "1.6.5"
__version__ = "1.7.0"


setup(
Expand All @@ -9,21 +9,19 @@
url="https://github.com/caesar0301/treelib",
author="Xiaming Chen",
author_email="chenxm35@gmail.com",
description="A Python 2/3 implementation of tree structure.",
description="A Python implementation of tree structure.",
long_description="""This is a simple tree data structure implementation in python.""",
license="Apache License, Version 2.0",
packages=["treelib"],
keywords=["data structure", "tree", "tools"],
install_requires=["six"],
classifiers=[
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
Expand Down
113 changes: 0 additions & 113 deletions tests/test_plugins.py

This file was deleted.

35 changes: 0 additions & 35 deletions treelib/plugins.py

This file was deleted.

0 comments on commit 9a446cf

Please sign in to comment.