-
Notifications
You must be signed in to change notification settings - Fork 12
Comparing changes
Open a pull request
base repository: pytest-dev/pytest-localserver
base: v0.7.1
head repository: pytest-dev/pytest-localserver
compare: v0.8.0
- 13 commits
- 5 files changed
- 1 contributor
Commits on May 21, 2023
-
I based this change on the official PyPI documentation: https://docs.pypi.org/trusted-publishers/ as well as a blog post walking through an example of how to implement trusted publishing for a Python project: https://pgjones.dev/blog/trusted-plublishing-2023/ The diff is fairly minimal. All it does is remove the password used to authenticate to PyPI, which we don't need anymore, and add a permission needed for trusted publishing to operate. This commit will be accompanied by some configuration in the project settings on PyPI to allow this specific workflow to act as a trusted publisher. Effectively, we're telling PyPI that when this particular workflow (`publish.yml`) contacts it with an OIDC token from Github, then PyPI should accept that as valid authentication and return an API token which can be used to actually upload a package.
Configuration menu - View commit details
-
Copy full SHA for ff5420c - Browse repository at this point
Copy the full SHA ff5420cView commit details
Commits on May 31, 2023
-
Merge pull request #62 from pytest-dev/trusted-publishing/1/dev
Convert to trusted publishing
Configuration menu - View commit details
-
Copy full SHA for 02a6df1 - Browse repository at this point
Copy the full SHA 02a6df1View commit details
Commits on Jun 12, 2023
-
Remove obsolete test code in runtests.py
The script runtests.py contains an archive of a very old version of pytest along with a custom mechanism to import it. That used to be the standard method of running tests (so I hear, anyway), but now it's no longer relevant because we use tox for dependency management in testing. So I'm removing the script. Having a large opaque blob of data is not the greatest thing :-)
Configuration menu - View commit details
-
Copy full SHA for 129711d - Browse repository at this point
Copy the full SHA 129711dView commit details -
Make pypi deployment dependent on test-pypi deployment
This commit changes the deployment to PyPI to be dependent on successful deployment to Test PyPI. Without this we would have to manually check that the deployment to Test PyPI succeeded before deploying to PyPI, and there's really no point in making that a manual process. (Or, a person could just deploy to PyPI directly without even waiting for the Test PyPI deployment to succeed and in that case there's no point in even deploying to Test PyPI first.) I was inspired to do this by looking at the release workflow for some other project, but I forget which one it was.
Configuration menu - View commit details
-
Copy full SHA for 47f9caa - Browse repository at this point
Copy the full SHA 47f9caaView commit details
Commits on Jun 15, 2023
-
Merge pull request #64 from pytest-dev/chain-deployments/1/dev
Make pypi deployment dependent on test-pypi deployment
Configuration menu - View commit details
-
Copy full SHA for 196c05b - Browse repository at this point
Copy the full SHA 196c05bView commit details
Commits on Jun 17, 2023
-
Merge pull request #63 from pytest-dev/remove-runtests/1/dev
Remove obsolete test code in runtests.py
Configuration menu - View commit details
-
Copy full SHA for 7b6de78 - Browse repository at this point
Copy the full SHA 7b6de78View commit details
Commits on Jun 26, 2023
-
Since none of these files are meant to be run directly as scripts, there's no need to have shebang lines in them, and in fact it could give someone a misleading impression to have them there, so removing them should reduce confusion. Closes #47
Configuration menu - View commit details
-
Copy full SHA for 6ee6cb1 - Browse repository at this point
Copy the full SHA 6ee6cb1View commit details -
Move SMTP driver code into a function
pytest_localserver.smtp allows running itself as a module to start up an SMTP server, which is implemented by a bit of driver code guarded by an `if __name__ == "__main__"` block. Typical best practice is to put that code in a `main()` function, which is what I'm doing in this commit.
Configuration menu - View commit details
-
Copy full SHA for 2674d56 - Browse repository at this point
Copy the full SHA 2674d56View commit details -
Remove a structure used for compatbility with Python 2.4
Python 2.4 is no longer anywhere close to supported so we can put `except` and `finally` in the same `try` block now.
Configuration menu - View commit details
-
Copy full SHA for c08ea28 - Browse repository at this point
Copy the full SHA c08ea28View commit details
Commits on Jul 2, 2023
-
Merge pull request #66 from pytest-dev/remove-env-shebangs/1/dev
Remove /usr/bin/env lines
Configuration menu - View commit details
-
Copy full SHA for f72a1a5 - Browse repository at this point
Copy the full SHA f72a1a5View commit details -
Merge pull request #67 from pytest-dev/smtp-driver-to-function/1/dev
Move SMTP driver code into a function
Configuration menu - View commit details
-
Copy full SHA for 706b160 - Browse repository at this point
Copy the full SHA 706b160View commit details
Commits on Jul 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f35e040 - Browse repository at this point
Copy the full SHA f35e040View commit details
Commits on Jul 15, 2023
-
Merge pull request #69 from pytest-dev/update-changes-for-0.8.0/1/dev
Update changelog for the upcoming 0.8 release
Configuration menu - View commit details
-
Copy full SHA for 0daabd7 - Browse repository at this point
Copy the full SHA 0daabd7View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.7.1...v0.8.0