Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for release #87

Merged
merged 13 commits into from
Oct 1, 2021
Merged

Prepare for release #87

merged 13 commits into from
Oct 1, 2021

Conversation

jpmckinney
Copy link
Contributor

@jpmckinney jpmckinney commented Sep 23, 2021

closes #84

- Add direct dependency on w3lib
- Add test dependency on pytest-cov
- Add classifiers to match Scrapy
- Run flake8 on all files
- Generate coverage during pytest
- Use unittest.mock instead of mock
- Move test requirements to setup.py, instead of requirements-dev.txt or tox.ini
@codecov
Copy link

codecov bot commented Sep 23, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@ede5f0b). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #87   +/-   ##
=========================================
  Coverage          ?   60.60%           
=========================================
  Files             ?        5           
  Lines             ?      363           
  Branches          ?        0           
=========================================
  Hits              ?      220           
  Misses            ?      143           
  Partials          ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ede5f0b...cd4b087. Read the comment docs.

@jpmckinney
Copy link
Contributor Author

Requesting review prior to tagging for release. I removed .bumpversion.cfg because it automatically creates tags, which I find very undesirable as it can accidentally push versions to PyPI. Changing the number in VERSION is easy enough.

@jpmckinney
Copy link
Contributor Author

Note: Publication to TestPyPI is failing because the TEST_PYPI_TOKEN secret isn't set. In my own projects, I set this organization-wide, so that all packages, on every build, can test publication to PyPI.

The workflow also needs a PYPI_TOKEN secret.

README.rst Outdated Show resolved Hide resolved
Copy link
Member

@Gallaecio Gallaecio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

setup.py Outdated Show resolved Hide resolved
Copy link

@pawelmhm pawelmhm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work, thanks @jpmckinney for keeping project alive 👍

@jpmckinney
Copy link
Contributor Author

Thanks for the review! The comments have been integrated.

I also added a commit to include the changelog on PyPI, similar in approach to https://github.com/scrapy/parsel/blob/master/setup.py.

@Gallaecio
Copy link
Member

TEST_PYPI_TOKEN defined, restarting tests…

@Gallaecio
Copy link
Member

@jpmckinney Feel free to merge

@jpmckinney jpmckinney merged commit 3772ef5 into master Oct 1, 2021
@jpmckinney jpmckinney deleted the prepare-release branch October 1, 2021 15:10
@jpmckinney
Copy link
Contributor Author

1.2.0 is on PyPI 🚀 https://pypi.org/project/scrapyd-client/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deploy to PyPI in GitHub Actions
3 participants