Skip to content

Commit 0e55cf7

Browse files
Update 6_extra.md
1 parent 2f1de8a commit 0e55cf7

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

episodes/6_extra.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ exercises: 5
77
:::::::::::::::::::::::::::::::::::::: questions
88

99
- How can we use `pixi run start`?
10+
- How to yank or un-yank a release?
11+
- How to automatically version and store your releases from via Codespaces
1012

1113
::::::::::::::::::::::::::::::::::::::::::::::::
1214

1315
::::::::::::::::::::::::::::::::::::: objectives
1416

1517
- Learn how to use Pixi to run your project.
18+
- Learn how to make a release unavialable or undo that.
19+
- Learn how to use dynamic versioing and release from via codespaces.
1620

1721
::::::::::::::::::::::::::::::::::::::::::::::::
1822

@@ -49,6 +53,31 @@ This command will:
4953
This provides a convenient and reproducible way to launch your project without needing to manually manage dependencies or commands.
5054
You can check the example project [here](https://github.com/priya-gitTest/greet_me)
5155

56+
## Yank and Un-yank
57+
Occasionally, a release may contain an error or be uploaded by mistake. While PyPI and TestPyPI don’t allow deleting releases for security and reproducibility reasons, you can mark a specific version as yanked.
58+
Yanked releases remain accessible for reproducibility but are ignored by default when users install packages with `pip install <package-name>`
59+
60+
Steps to Yank a version of your Python Package :
61+
- Log into your PyPI or TestPyPI account
62+
- Click on the Your Projects from the top righlocation user your user name.
63+
<img width="708" height="439" alt="image" src="https://github.com/user-attachments/assets/25d8773a-1912-407c-8338-8e3d10150328" />
64+
65+
- Select the right project /package from the options shown and click on the **Manage** button.
66+
<img width="1295" height="633" alt="image" src="https://github.com/user-attachments/assets/1aa1cffa-9961-4f2b-aae3-c6b18c90f331" />
67+
68+
- Select the version you wish to yank and choose that option by clicking on the **Options** button and select **Yank**.
69+
- dd
70+
- You will be shown a pop-up. Fill the version nos and your releace will not be yanked.
71+
<img width="594" height="780" alt="image" src="https://github.com/user-attachments/assets/ee484e21-750f-4779-a928-26b5e5dc77d5" />
72+
73+
- Once your release is yanked, it be be shown like below.
74+
<img width="1295" height="266" alt="image" src="https://github.com/user-attachments/assets/72b0c557-84ae-4bad-bb22-b00ddc011e8d" />
75+
76+
- You can also un-yank it, by clicking on the **Options** and clicking on **Un-yank**.
77+
<img width="627" height="544" alt="image" src="https://github.com/user-attachments/assets/5a53e6b9-6305-4683-a7af-9b64c2cf9436" />
78+
79+
- d
80+
5281
::::::::::::::::::::::::::::::::::::: keypoints
5382
- Define tasks such as `start` in your `pixi.toml` or `pyproject.toml`.
5483
- Use `pixi run <task-name>` to execute those tasks.

0 commit comments

Comments
 (0)