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
7 changes: 4 additions & 3 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ jobs:
needs:
- create-gh-release
runs-on: ubuntu-24.04
environment: pypi-publish
permissions:
id-token: write

steps:
- name: Download built archives
Expand All @@ -81,6 +84,4 @@ jobs:

- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.13"

# Build PDF & ePub
formats:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

v0.7.1
------

- Use upstream library of tree-sitter-swift
- Add python3.14 support and deprecate python3.9

v0.7.0
------

Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
parameters:
job_name: ubuntu24_cpython
image_name: ubuntu-24.04
python_versions: ['3.9', '3.10', '3.11', '3.12', "3.13"]
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
test_suites:
all: |
sudo apt-get install universal-ctags gettext
Expand Down
6 changes: 3 additions & 3 deletions etc/scripts/utils_thirdparty.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@
TRACE_ULTRA_DEEP = False

# Supported environments
PYTHON_VERSIONS = "39", "310", "311", "312", "313"
PYTHON_VERSIONS = "310", "311", "312", "313", "314"

PYTHON_DOT_VERSIONS_BY_VER = {
"39": "3.9",
"310": "3.10",
"311": "3.11",
"312": "3.12",
"313": "3.13",
"314": "3.14",
}


Expand All @@ -134,11 +134,11 @@ def get_python_dot_version(version):


ABIS_BY_PYTHON_VERSION = {
"39": ["cp39", "cp39m", "abi3"],
"310": ["cp310", "cp310m", "abi3"],
"311": ["cp311", "cp311m", "abi3"],
"312": ["cp312", "cp312m", "abi3"],
"313": ["cp313", "cp313m", "abi3"],
"314": ["cp314", "cp314m", "abi3"],
}

PLATFORMS_BY_OS = {
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools >= 50", "wheel", "setuptools_scm[toml] >= 6"]
requires = ["setuptools >= 50", "wheel"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
Expand Down
8 changes: 3 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[metadata]
name = source-inspector
license = Apache-2.0
version = 0.7.1

# description must be on ONE line https://github.com/pypa/setuptools/issues/1390
description = source-inspector
Expand Down Expand Up @@ -35,10 +36,7 @@ package_dir =
packages = find:
include_package_data = true
zip_safe = false

setup_requires = setuptools_scm[toml] >= 4

python_requires = >=3.9
python_requires = >=3.10

install_requires =
scancode-toolkit
Expand All @@ -56,7 +54,7 @@ install_requires =
tree-sitter-objc==3.0.2
tree-sitter-python==0.21.0
tree-sitter-rust==0.21.2
py-tree-sitter-swift==0.0.1
tree-sitter-swift==0.0.1
pygments

[options.packages.find]
Expand Down