Skip to content

Commit

Permalink
Merge branch 'release/3.9.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
dermatologist committed Nov 10, 2024
2 parents 7874b49 + d5ba818 commit accf1a4
Show file tree
Hide file tree
Showing 22 changed files with 390 additions and 305 deletions.
7 changes: 6 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# .coveragerc to control coverage.py
[run]
branch = True
source = */nlp_qrmine/*
source = qrmine
# omit = bad_file.py

[paths]
source =
src/
*/site-packages/

[report]
# Regexes for lines to exclude from consideration
exclude_lines =
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout Latest Commit
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate changelog
uses: charmixer/auto-changelog-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.7'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.11"]
os: [ubuntu-latest, macos-13, windows-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5.1.1
with:
python-version: '3.7'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -24,7 +24,7 @@ jobs:
python setup.py bdist_wheel
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
12 changes: 6 additions & 6 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tox on release
name: Tox Test

on:
push:
Expand All @@ -9,22 +9,22 @@ jobs:
build:

runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 20
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
python-version: ["3.11"]

steps:
- 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.1.1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt -r dev-requirements.txt
pip install -r dev-requirements.txt -r requirements.txt
python -m spacy download en_core_web_sm
- name: Test with tox
run: |
Expand Down
7 changes: 6 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ sphinx:
formats:
- pdf

build:
os: ubuntu-22.04
tools:
python: "3.11"

python:
version: 3.8
install:
- requirements: docs/requirements.txt
- {path: ., method: pip}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [Unreleased](https://github.com/dermatologist/nlp-qrmine/tree/HEAD)

[Full Changelog](https://github.com/dermatologist/nlp-qrmine/compare/3.8.4...HEAD)

**Closed issues:**

- Unable to install - ImportError: cannot import name 'msvccompiler' from 'distutils' [\#226](https://github.com/dermatologist/nlp-qrmine/issues/226)
- pip install does not work because of deprecated services. [\#185](https://github.com/dermatologist/nlp-qrmine/issues/185)

## [3.8.4](https://github.com/dermatologist/nlp-qrmine/tree/3.8.4) (2023-02-23)

[Full Changelog](https://github.com/dermatologist/nlp-qrmine/compare/3.8.3...3.8.4)

## [3.8.3](https://github.com/dermatologist/nlp-qrmine/tree/3.8.3) (2022-04-03)

[Full Changelog](https://github.com/dermatologist/nlp-qrmine/compare/3.8.2...3.8.3)
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ QRMine is a suite of qualitative research (QR) data mining tools in Python using

## How to install

* Requires Python 3.11 and a CPU that support AVX instructions
```text
pip install qrmine
pip install uv
uv pip install qrmine
python -m spacy download en_core_web_sm
```
Expand Down
158 changes: 71 additions & 87 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,162 +1,146 @@
#
# This file is autogenerated by pip-compile with python 3.7
# To update, run:
#
# pip-compile dev-requirements.in
#
alabaster==0.7.12
# This file was autogenerated by uv via the following command:
# uv pip compile dev-requirements.in -o dev-requirements.txt --universal
alabaster==1.0.0
# via sphinx
attrs==21.4.0
# via pytest
babel==2.9.1
babel==2.16.0
# via sphinx
certifi==2021.10.8
build==1.2.2.post1
# via pip-tools
cachetools==5.5.0
# via
# -c requirements.txt
# tox
certifi==2024.8.30
# via
# -c requirements.txt
# requests
charset-normalizer==2.0.12
chardet==5.2.0
# via tox
charset-normalizer==3.4.0
# via
# -c requirements.txt
# requests
click==8.1.2
click==8.1.7
# via
# -c requirements.txt
# pip-tools
colorama==0.4.6
# via
# -c requirements.txt
# build
# click
# pytest
# sphinx
# tox
commonmark==0.9.1
# via recommonmark
coverage[toml]==6.3.2
coverage==7.6.4
# via pytest-cov
distlib==0.3.4
distlib==0.3.9
# via virtualenv
docutils==0.17.1
docutils==0.21.2
# via
# recommonmark
# sphinx
filelock==3.6.0
filelock==3.16.1
# via
# tox
# virtualenv
idna==3.3
idna==3.10
# via
# -c requirements.txt
# requests
imagesize==1.3.0
imagesize==1.4.1
# via sphinx
importlib-metadata==4.11.3 ; python_version < "3.8"
iniconfig==2.0.0
# via pytest
jinja2==3.1.4
# via
# -c requirements.txt
# click
# pep517
# pluggy
# pytest
# sphinx
# tox
# virtualenv
iniconfig==1.1.1
# via pytest
jinja2==3.1.1
# via sphinx
markupsafe==2.1.1
# via jinja2
packaging==21.3
markupsafe==3.0.2
# via
# -c requirements.txt
# jinja2
packaging==24.2
# via
# -c requirements.txt
# build
# pyproject-api
# pytest
# setuptools-scm
# sphinx
# tox
pep517==0.12.0
pip==24.3.1
# via pip-tools
pip-tools==6.6.0
pip-tools==7.4.1
# via -r dev-requirements.in
platformdirs==2.5.1
# via virtualenv
pluggy==1.0.0
platformdirs==4.3.6
# via
# pytest
# tox
py==1.11.0
# virtualenv
pluggy==1.5.0
# via
# pytest
# tox
pygments==2.11.2
# via sphinx
pyparsing==3.0.7
pygments==2.18.0
# via
# -c requirements.txt
# packaging
pytest==7.1.2
# sphinx
pyproject-api==1.8.0
# via tox
pyproject-hooks==1.2.0
# via
# build
# pip-tools
pytest==8.3.3
# via
# -r dev-requirements.in
# pytest-cov
pytest-cov==3.0.0
pytest-cov==6.0.0
# via -r dev-requirements.in
pytz==2022.1
# via
# -c requirements.txt
# babel
recommonmark==0.7.1
# via -r dev-requirements.in
requests==2.27.1
requests==2.32.3
# via
# -c requirements.txt
# sphinx
setuptools-scm==6.4.2
# via -r dev-requirements.in
six==1.16.0
setuptools==75.3.0
# via
# -c requirements.txt
# tox
# virtualenv
# -r dev-requirements.in
# pip-tools
# setuptools-scm
setuptools-scm==8.1.0
# via -r dev-requirements.in
snowballstemmer==2.2.0
# via sphinx
sphinx==4.5.0
sphinx==8.1.3
# via
# -r dev-requirements.in
# recommonmark
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-applehelp==2.0.0
# via sphinx
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-devhelp==2.0.0
# via sphinx
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-htmlhelp==2.1.0
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-qthelp==2.0.0
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
sphinxcontrib-serializinghtml==2.0.0
# via sphinx
toml==0.10.2
# via tox
tomli==2.0.1
# via
# coverage
# pep517
# pytest
# setuptools-scm
tox==3.24.5
tox==4.23.2
# via -r dev-requirements.in
typing-extensions==4.1.1
# via
# -c requirements.txt
# importlib-metadata
urllib3==1.26.9
urllib3==2.2.3
# via
# -c requirements.txt
# requests
virtualenv==20.14.0
virtualenv==20.27.1
# via tox
wheel==0.37.1
wheel==0.45.0
# via
# -c requirements.txt
# -r dev-requirements.in
# pip-tools
zipp==3.8.0
# via
# -c requirements.txt
# importlib-metadata
# pep517

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
Loading

0 comments on commit accf1a4

Please sign in to comment.