Skip to content

Commit

Permalink
Update numpy/pandas for better 3.12 support (#618)
Browse files Browse the repository at this point in the history
* Update numpy/pandas for better 3.12 support

* Also upgrade setuptools

* Set SETUPTOOLS_USE_DISTUTILS

* Downgrade setuptools as per numpy recommendations
  • Loading branch information
palfrey committed Feb 27, 2024
1 parent 25ab806 commit 1b69cf3
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 150 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pipeline.yml
Expand Up @@ -29,10 +29,11 @@ jobs: # jobs. We will have two jobs (test and publish) with multiple steps.
run: |
python -m pip install --upgrade pip
poetry config virtualenvs.create false --local
poetry install --all-extras
pip install pytest pylint coverage mypy coveralls
# python -m nltk.downloader punkt stopwords
env:
SETUPTOOLS_USE_DISTUTILS: stdlib
- name: Pylint # Run pylint static analysis
run: |
poetry run pylint newspaper --fail-under=8.0
Expand Down

0 comments on commit 1b69cf3

Please sign in to comment.