stefanzweifel, to random
@stefanzweifel@phpc.social avatar

Just released a new minor version of my “changelog-updater” GitHub Action.
https://github.com/stefanzweifel/changelog-updater-action

If the heading of a previous release in the changelog has a link to a compare view, the Action will use that URL and add a link to the updated compare view to the new release notes.

It's hard to explain this with words. The attached screenshot gives you a good example.

This previously only worked, if the changelog had a "Unreleased" heading with a link in it.

webology, to random
@webology@mastodon.social avatar

🐍 TIL build-and-inspect-python-package GitHub Action workflow plus some bonus Nox + Tox: https://micro.webology.dev/2024/05/10/til-buildandinspectpythonpackage-github.html

bitprophet, to random
@bitprophet@social.coop avatar

Github Actions' "reusable workflows" seems completely bass-ackwards. Is this thing useful for anybody? It certainly isn't intuitive.

bitprophet,
@bitprophet@social.coop avatar

Oh my GOD. inputs/outputs are /stringly typed/ even when declared as bools?! What the fuck is this horseshit?

That’s about an hour I'm never getting back.

With apologies for being so negative, let's review:

  • GHA internals: spaghetti mess of bubblegum (PowerShell), shoestrings (C#), and baling wire (MSSQL)
  • GHA externals: stringly typed variables, awkward/weak reusability, "cat text into a file to set env vars”, etc

So glad it's the new industry standard!

hugovk, to python
@hugovk@mastodon.social avatar

ℹ️🍏🔧 Have 3.8 and 3.9 started failing for macos-latest on ?

As the 14 migration rolls out, macos-latest points to , and @github is currently only planning on supporting 3.10+ on :

https://github.com/actions/setup-python/issues/696#issuecomment-1637587760

The fix is to use macos-13 (or macos-12) for 3.8 and 3.9, here's a couple of ways:

https://github.com/python/peps/pull/3763

Or replace macos-latest with macos-13 for all, but there's nice speedups with where available:

https://mastodon.social/@hugovk/111846949657442324

hugovk,
@hugovk@mastodon.social avatar

No need for this any more, @github has now added 3.8 and 3.9 to macos-14 aka macos-latest aka aka aka on :

https://github.com/actions/setup-python/issues/808#issuecomment-2077670184

outofcontrol, to azure
@outofcontrol@phpc.social avatar

The past 2 weeks have been spent learning how to migrate to Azure, using a well formed and functional GitHub Action yaml file. A mountain of learning, but slowly getting there. Linux builds were surprisingly simple to migrate. Hey, windows should be easy since Microsoft owns it all right? Windows builds have been anything but simple to get going on Azure.

Any folks, happy to pay for some time to learn how to build azure-pipeline.yml files for Windows builds.

hugovk, to python
@hugovk@mastodon.social avatar

🍏Ⓜ️1️⃣🐍Good news!

Now that @github Actions supports macOS M1 runners, we've added them to the CPython CI, and have finally promoted aarch64-apple-darwin to the top support tier!

This means CI failures block releases, cannot be merged to main or must be fixed or reverted immediately, and the whole core dev team is responsible rather than one or two.

https://peps.python.org/pep-0011/

arda, to github
@arda@micro.arda.pw avatar

With the inputs of GitHub actions, if you bind it the checkout action, your manual triggers could be as flexible as you want.

Example is to show how flexible this can be. In the image, I can use the workflow chore/branch, and deploy the codes in the main branch to the staging env.

image/png

krinkle, to infosec
@krinkle@fosstodon.org avatar

Cryptominer Leverages Free GitHub CI

It's kind of obvious, given:

  • overpriced cloud server renting (GCP, AWS, ..),
  • increasingly heavy software ("just run these docker containers!"),
  • promise of free crypto "money".

People will use "Free" cloud hosting via Travis/GitHub/Circle and other CIs to run the most compute possible, triggered via random empty commits and such. This is the new normal.

https://sysdig.com/blog/massive-cryptomining-operation-github-actions/

ramikrispin, to random
@ramikrispin@mstdn.social avatar

Saturday morning workout - deploying data pipelines with R and Python to GitHub Actions 🚀 using Quarto doc and, of course, Docker 🐳.

And...yes I need to clean my screen 😅 (it looks worse in the picture 😜)

hynek, to random
@hynek@mastodon.social avatar
hugovk,
@hugovk@mastodon.social avatar

@hynek Using M1 cuts about 25 minutes from the @pillow CI, some jobs are twice or thrice as fast! Especially helps PyPy 🚀

https://github.com/python-pillow/Pillow/pull/7766

ramikrispin, to datascience
@ramikrispin@mstdn.social avatar

It does not count as a presentation if you don't have at least one Will Ferrel gif 😆

My second talk from the Øredev conference about productionize an open source project with Docker 🐳, Github Actions, and other tools is now available 👇🏼

📽️ https://www.youtube.com/watch?v=-w7HFHZDwMk

Thank you to the conference organizers for the invite! 🙏🏼

technotim, to proxmox
@technotim@mastodon.social avatar

CI jobs for my ansible playbook have been broken for months due to some changes with GitHub Actions.
This took me down a rabbit hole to fix...

Long story short: Self-Hosted GitHub Actions runner, running on Proxmox with nested virtualization to run molecule tests using Vagrant against VirtualBox VMs. 🙃

ramikrispin, to opensource
@ramikrispin@mstdn.social avatar

(1/7)There is no better way for me to summarise the year than my Github account and my Git commits 😎

In 2023, I had more than 2500 commits, most related to project automation with Github Actions ❤️. Most of my personal projects during 2023 were related to tutorials and open-source projects. Here are the main highlights 🧶🧵👇🏼

ramikrispin, to datascience
@ramikrispin@mstdn.social avatar

Preparing for a talk about Github Actions and Docker with open source projects 😎

clearbluejar, to random

ghidriff v0.5.1 - usability updates, improved automated testing , and bug fixes 🪲

  • github workflows now test a matrix of devcontainers across versions of python, Ghidra, and Java 🔥

https://github.com/clearbluejar/ghidriff/releases/tag/v0.5.1

image/png
image/png

hugovk, to python
@hugovk@mastodon.social avatar

In 2019-2021, here's how long it took CI services to support the newest Python release:

2019: Python 3.8

🥇 21 hours: Travis CI
🥈 20 days: @github Actions
🥉 24 days: Azure Pipelines
4️⃣ 25 days: AppVeyor

2020: Python 3.9

🥇 17 hours: @github Actions ⬆️
🥈 20 days: Travis CI ⬇️
🥉 21 days: AppVeyor ⬆️
4️⃣ 22 days: Azure Pipelines ⬇️

2021: Python 3.10

🥇 12 hours: @github Actions ↔️
🥈 17 days: Azure Pipelines ⬆️
🥉 28 days: AppVeyor ↔️
4️⃣ 106 days: Travis CI ⬇️

hugovk,
@hugovk@mastodon.social avatar

And the last two releases saw GHA/AP improve their lead:

2022: Python 3.11

🥇 a day: @github Actions ↔️
🥈 2 days: Azure Pipelines ↔️
🥉 14 days: AppVeyor ↔️
4️⃣ 28 days: Travis CI ↔️

2023: Python 3.12

🥇 13 hours: @github Actions ↔️
🥇 13 hours: Azure Pipelines ↔️
🥉 20 days: Travis CI ⬆️
4️⃣ 28 days: AppVeyor ⬇️

And GitHub Actions already has 3.13 alpha available!

asgrim, to github
@asgrim@phpc.social avatar

Anyone know how to make this left hand jobs list in GitHub Actions wider, so I can actually distinguish which job is which please? 🤔

jeffpaul, to wordpress

I joined @docpop on the podcast to discuss using to help ensure a plugin is GPL-compatible. Click through to listen! https://jeffpaul.com/2023/10/are-your-wordpress-plugins-gpl-compatible/

miketheman, to python
@miketheman@hachyderm.io avatar

This is a great talk by @yossarian at @openssf EU
on some of the lessons learned from implementing Trusted Publishers for @pypi

https://youtu.be/Cc7hl_tyKWE?si=hrUw1GJzBHYhLZ0Q

More on Trusted Publishers here: https://docs.pypi.org/trusted-publishers/

markusstaab, to random German
@markusstaab@phpc.social avatar

opens PRs for our home-grown framework; automatically is running necessary code-migration steps in .

home-grown continous deployment is picking up the changes; creates a isolated testing instance.

static analysis and testing helps along the way

hugovk, to python
@hugovk@mastodon.social avatar

My article on how to test the Python 3.12 release candidate was on @pythonbytes!

https://www.youtube.com/live/1zf29sQVGow?t=444

"You basically have a couple of days to make sure that your library will have no hiccups when Python 3.12 ships in a week. You want to make sure that your stuff just works, so here's your chance and a few steps on how to do that."

https://dev.to/hugovk/help-test-python-312-beta-1508/

miketheman, to python
@miketheman@hachyderm.io avatar

Thanks @github for the docs update!
New page on how to enable trusted publishing to @pypi

https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-pypi

More detailed (with pictures 🖼️ ) authored by @yossarian and other contributors!
https://docs.pypi.org/trusted-publishers/

hugovk, to python
@hugovk@mastodon.social avatar

Hello again library maintainers! 🐍

Because everyone was so good at finding bugs last time (thank you!), we're getting a bonus release candidate! 🎉

🚨🚨 The third and final Python 3.12 RC is out now! Please give it a spin, it's the last chance to find critical problems.

How to test:

https://dev.to/hugovk/help-test-python-312-beta-1508

More info:

https://discuss.python.org/t/python-3-12-0rc3-released-honestly-the-final-release-candidate-i-swear/34093?u=hugovk

hugovk, to programming
@hugovk@mastodon.social avatar
hugovk,
@hugovk@mastodon.social avatar

" 3.6.x will be removed from Ubuntu 20.04 and Windows 2019 images.

"The motivation for the changes

"As per our software support policy, we are supporting only 5 most popular python versions while python 3.6.x has been since 2021/12/23.

"Possible impact

"If your projects depend on python 3.6.x they might be broken.

"Mitigation ways

"For the python 3.6.x archives will still be available through the actions/setup-python action"

https://github.com/actions/runner-images/issues/8238

Chart showing Python 3.6 was supported from 2016 to 2021. Supported versions are 3.8 to 3.11.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • normalnudes
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • osvaldo12
  • ngwrru68w68
  • ethstaker
  • JUstTest
  • everett
  • Durango
  • Leos
  • cubers
  • mdbf
  • khanakhh
  • tester
  • modclub
  • cisconetworking
  • anitta
  • tacticalgear
  • provamag3
  • lostlight
  • All magazines