Skip to content

Commit 730b703

Browse files
committed
final bells and whistles
1 parent 71ee682 commit 730b703

File tree

2 files changed

+32
-31
lines changed

2 files changed

+32
-31
lines changed

_pages/volunteer.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ header:
1010
overlay_image: images/headers/pyopensci-learn-header.png
1111
overlay_filter: 0.3
1212
volunteer-mission:
13-
- excerpt: "The vibrant and diverse pyOpenSci community is driven by volunteer Pythonistas that care deeply about the scientific Python open source software that drives open science."
13+
- excerpt: "pyOpenSci is a volunteer community that broadens participation in scientific open source. We make finding, sharing and contributing to reusable code easier for everyone, everywhere."
1414
build-skills:
1515
- title: "pyOpenSci volunteers build skills and community"
1616
excerpt: "When you volunteer with pyOpenSci, you’re both giving back and developing professional skills. As a volunteer you will:
@@ -34,43 +34,23 @@ help-us:
3434
btn_label: "> Check out our GitHub Help Wanted Board"
3535
btn_class: btn--inverse
3636
- image_path:
37-
title: "Sign up to be a scientific Python package reviewer"
37+
title: "Sign up to review a Python package"
3838
alt:
39-
excerpt: "Finding reviewers is one of the more challenging parts of running a peer review process. We are always looking for new reviewers from a broad range of scientific domains. Some reviewers have extensive packaging expertise and others have domain expertise. We think that mix is great, so sign up today! If you are new to reviewing we are happy to support you through our peer review mentorship program."
39+
excerpt: "We are always looking for new reviewers from a broad range of scientific domains. Some reviewers have extensive packaging expertise and others have domain expertise or focus on package usability. If you are new to reviewing we are happy to support you through our peer review mentorship program. [Learn more about the reviewer role](https://www.pyopensci.org/software-peer-review/how-to/reviewer-guide.html) and sign up using the link below."
4040
url: https://forms.gle/GHfxvmS47nQFDcBM6
4141
btn_label: "> Sign up now."
4242
btn_class: btn--inverse
4343
- image_path:
4444
title: "Get involved as software peer review Editor"
4545
alt:
46-
excerpt: "We also often recruit new editors to support our peer review process. Keep an eye out on our [Discourse forum](https://pyopensci.discourse.group/) for calls for new editors. In the meantime if you are interested in learning more about the editor role, check out our [peer review guidebook](https://www.pyopensci.org/software-peer-review/). "
46+
excerpt: "We also often recruit new editors to support our peer review process. "
4747
url: https://www.pyopensci.org/software-peer-review/how-to/editors-guide.html
4848
btn_label: "> Click here to learn more about the editor role."
4949
btn_class: btn--inverse
5050
---
5151

5252
{% include feature_row id="volunteer-mission" type="center" %}
5353

54-
<div class="pyos-section purple">
55-
<div class="content" markdown="1">
56-
57-
{% include feature_row id="diverse-backgrounds" type="left" %}
58-
59-
</div>
60-
</div>
61-
62-
{% include div_purple_bottom.html %}
63-
64-
65-
<div class="pyos-section" markdown="1">
66-
<div class="content" markdown="1">
67-
68-
{% include feature_row id="build-skills" type="right" %}
69-
70-
</div>
71-
</div>
72-
73-
{% include div_purple_top.html %}
7454

7555
<div class="pyos-section purple" markdown="1">
7656
<div class="content padding" markdown="1">
@@ -101,6 +81,26 @@ And last but not least, we’d also love for you to be a guest blogger on the [p
10181
</div>
10282

10383

84+
<div class="pyos-section purple">
85+
<div class="content" markdown="1">
86+
87+
{% include feature_row id="diverse-backgrounds" type="left" %}
88+
89+
</div>
90+
</div>
91+
92+
{% include div_purple_bottom.html %}
93+
94+
95+
<div class="pyos-section" markdown="1">
96+
<div class="content" markdown="1">
97+
98+
{% include feature_row id="build-skills" type="right" %}
99+
100+
</div>
101+
</div>
102+
103+
{% include div_purple_top.html %}
104104

105105
{% include div_purple_top.html %}
106106

_posts/2024-12-13-python-packaging-security.md renamed to _posts/2025-03-13-python-packaging-security-pypi.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
---
22
layout: single
3-
title: "How to Secure Your Python Packages on PyPI: Stop the Mining Madness"
3+
title: "How to Secure Your Python Packages When Publishing to PyPI"
44
excerpt: "Learn how to secure your Python package PyPI publishing workflows and protect your package from attacks. This post covers actionable steps, using PyPI Trusted Publisher, and sanitizing workflows, to ensure your projects stay safe."
55
author: "Leah Wasser"
66
permalink: /blog/python-packaging-security-publish-pypi.html
77
header:
88
overlay_image: images/headers/pyopensci-inessa.png
99
overlay_filter: rgba(20, 13, 36, 0.3)
1010
categories:
11+
- python-packaging
1112
- blog-post
1213
- community
1314
classes: wide
1415
toc: true
1516
comments: true
16-
last_modified: 2024-12-19
17+
last_modified: 2025-03-13
1718
---
1819

1920
## Is your PyPI publication workflow secure?
@@ -31,12 +32,12 @@ While unsettling, there’s a silver lining: the PyPI security team had already
3132
This means that the important thing for us, as maintainers, is that we all should know how to lock down our publishing workflows.
3233
Here, I'll cover the lessons learned that you can apply TODAY to your Python packaging workflows!
3334

34-
*Special thanks to [Sviatoslav Sydorenko](https://github.com/webknjaz) for reviewing and providing significant input on this blog post!!*
35+
*Special thanks to [Seth Larson](https://github.com/sethmlarson), [Hugo van Kemenade](https://github.com/hugovk), [Sviatoslav Sydorenko](https://github.com/webknjaz), [William Woodruff](https://github.com/woodruffw) and [Carol Willing](https://github.com/willingc) for reviewing and significantly improving blog post!!*
3536

3637
<div class="notice" markdown="1">
3738
## TL;DR Takeaways
3839

39-
The Ultralytics breach is a wake-up call for all maintainers: secure your workflows to protect your users and the Python ecosystem. The most important steps that you can take are actually the simplest:
40+
The fall 2024 Ultralytics breach was a wake-up call for all maintainers: secure your workflows to protect your users and the Python ecosystem. The most important steps that you can take are actually the simplest:
4041

4142
Below are **3 things that you can do right now** to secure your PyPI Python packaging workflow:
4243

@@ -202,13 +203,12 @@ $ zizmor .github/workflows/publish-pypi.yml
202203
error[template-injection]: code injection via template expansion
203204
--> path/here/pyosMeta/.github/workflows/publish-pypi.yml:97:7
204205
github.ref_name may expand into attacker-controllable code
206+
```
205207

206-
You can also set up `zizmor` as a pre-commit hook. pyOpenSci plans to do this in the near future, but here is an example of it [set up for core Python](https://github.com/python/cpython/pull/127749/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9R64).
208+
You can also set up `zizmor` as a pre-commit hook. pyOpenSci plans to do this in the future, but here is an example of it [set up for core Python](https://github.com/python/cpython/pull/127749/files#diff-63a9c44a44acf85fea213a857769990937107cf072831e1a26808cfde9d096b9R64).
207209

208210
Pre-commit hooks run checks every time you commit a file to Git history. [Learn more about using them here.](https://www.pyopensci.org/python-package-guide/package-structure-code/code-style-linting-format.html#use-pre-commit-hooks-to-run-code-formatters-and-linters-on-commits)
209211

210-
211-
212212
## Other security measures you can consider
213213

214214
There are other things that we can learn too from the recent breach. Many of these will be identified if you set up zizmor. These are discussed below.
@@ -307,6 +307,7 @@ pyOpenSci follows best practices for PyPI publishing using our custom GitHub Act
307307
<div class="notice" markdown="1">
308308
## Get involved with pyOpenSci
309309

310+
* Check out our [volunteer page](https://www.pyopensci.org/volunteer.html) if you are interested in getting involved.
310311
* Keep an eye on our [events page](/events.html) for upcoming training events.
311312

312313
Follow us on social platforms:

0 commit comments

Comments
 (0)