Skip Navigation
v0.34.0: New dependency with loguru

The last release has added a new dependency to loguru in pythorhead/classes/admin.py[^1] without adding it to the pyproject.toml file.

It rises an error after trying to update my script dependencies to the pythorhead v0.34.0:

boring error log

carlesmu@solaria:~/Desenvolupament/lemmy2/apc-lemmy-bot$ /usr/local/bin/apc-lemmy-bot-test.sh Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/home/carlesmu/Desenvolupament/lemmy2/apc-lemmy-bot/apc_lemmy_bot/__main__.py", line 30, in <module> main() File "/home/carlesmu/Desenvolupament/lemmy2/apc-lemmy-bot/apc_lemmy_bot/__main__.py", line 24, in main from apc_lemmy_bot.cli.__main__ import run File "/home/carlesmu/Desenvolupament/lemmy2/apc-lemmy-bot/apc_lemmy_bot/cli/__main__.py", line 23, in <module> from . import app, db, post, show File "/home/carlesmu/Desenvolupament/lemmy2/apc-lemmy-bot/apc_lemmy_bot/cli/db.py", line 32, in <module> from apc_lemmy_bot.lemmy import LemmyException, login, create_event_post, upload_img File "/home/carlesmu/Desenvolupament/lemmy2/apc-lemmy-bot/apc_lemmy_bot/lemmy.py", line 23, in <module> from pythorhead import Lemmy File "/home/carlesmu/Desenvolupament/lemmy2/apc-lemmy-bot/.venv/lib/python3.11/site-packages/pythorhead/__init__.py", line 6, in <module> from pythorhead.lemmy import Lemmy File "/home/carlesmu/Desenvolupament/lemmy2/apc-lemmy-bot/.venv/lib/python3.11/site-packages/pythorhead/lemmy.py", line 20, in <module> from pythorhead import class_methods File "/home/carlesmu/Desenvolupament/lemmy2/apc-lemmy-bot/.venv/lib/python3.11/site-packages/pythorhead/class_methods.py", line 1, in <module> from pythorhead.classes.admin import LemmyRegistrationApplication, LemmyLocalUser File "/home/carlesmu/Desenvolupament/lemmy2/apc-lemmy-bot/.venv/lib/python3.11/site-packages/pythorhead/classes/admin.py", line 8, in <module> from loguru import logger ModuleNotFoundError: No module named 'loguru' ___

[^1]: See: https://github.com/db0/pythorhead/compare/v0.33.0...v0.34.0

0
Sorry If This Is Antisemitic But I Think It's Wrong To Burn Children Alive (Caitlin Johnstone, 2025-05-28)
  • Sorry, could you elaborate why this is antisemitic?

    According to the official narrative, western Zionist Jews feeling emotionally upset about opposition to a modern-day holocaust is a more urgent problem than a modern-day holocaust.

    It seems an accurate description of narratives in some western countries (USA and Germany, at least).

  • Fediverse emoji
  • Thanks, I'm not sure if it's better that the suggestions of @pruwyben@discuss.tchncs.de (⭐, 🌟) or use some 'gloves' emojis (🌍, 🌎, 🌏, 🌐). But I will try it (⁂)

  • Fediverse emoji

    TL;DR: What is the best (or good enough) emoji to represent the fedivers?

    -----

    I'm updating my union section's website [^1] (wordpress) and I want to add a link to the mastodon account of a territorial grouping using an emoji. This territorial grouping has an account on mastodon and hubzilla, it abandoned corporate social accounts (x, insta…).

    [^1]: I'm from Catalonia, where most of the unions are federated/confederated industrials unions and 'Seccions Sindicals' are the organizational structures of the union in each of the companies.

    9
    [News] A film about the dirtiest operations of the KGB and its successors
  • After the collapse of the USSR, the archives of the security services were never opened.

    This is false. Western historians have had (partial) access to the archives of the GPU, the NKVD and the KGB after the collapse of the USSR.

  • Moderation europe@lemmy.dbzer0.com
  • Sorry, could you post the relevant info?

    Posting Guidelines

    All posts should follow this basic structure:

    1. Which mods/admins were being Power Tripping Bastards?

    2. What sanction did they impose (e.g. community ban, instance ban, removed comment)?

    3. Provide a screenshot of the relevant modlog entry (don’t de-obfuscate mod names).

    4. Provide a screenshot and explanation of the cause of the sanction (e.g. the post/comment that was removed, or got you banned).

    5. Explain why you think its unfair and how you would like the situation to be remedied.


    Rules

    • Post only about bans or other sanctions that you have received from a mod or admin.

    • Don’t use private communications to prove your point. We can’t verify them and they can be faked easily.

    • Don’t deobfuscate mod names from the modlog with admin powers.

    • Don’t harass mods or brigade comms. Don’t word your posts in a way that would trigger such harassment and brigades.

    • Do not downvote posts if you think they deserved it. Use the comment votes (see below) for that.

    • You can post about power trippin’ in any social media, not just lemmy. Feel free to post about reddit or a forum etc.

    • If you are the accused PTB, while you are welcome to respond, please do so within the relevant post.

  • Bits from the DPL 2025-05-11
  • No, the non-us repos were phased out in 2005.

  • NSFW
    Andor meme [spoilers for s2e9]
  • What's BDS

    Boycott, Divestment and Sanctions against the genocidal State of Israel.

  • How Biden Helped Israel Hide The Truth About Journalist’s Assassination (Video 13mins)
  • I'm sorry, my fault. I misinterpreted your comment.

  • > AI models released under open source license without original training data or program are not seen as DFSG-compliant.

    The GR is in his discussion step, and may be other vote options are presented.

    The discussion can be read in the Debian-vote mailing list, and the resolution could impact other software (scanners, text2speach...) ^[See https://lists.debian.org/debian-vote/2025/04/msg00114.html].

    0
    Earthquake in Turkey is the strongest in last decade
  • Edited: Ooops, sorry. I was not aware that it was in a Balkans community. My fault.

    original post

    2 years ago, there was a 7.8 earthquake in Türkiye with more than 50k deaths. Could you correct the post title?

  • The Warsaw Ghetto Uprising Wasn’t Always Celebrated
  • the Ghetto's destruction was done by an invading and occupying external force, not by the country's own army with the full support of the citizens.

    The destruction of Gaza and the genocide of the Palestinians are also committed by an invading and occupying external force, the colonial entity called Israel. Or are you suggesting that it is committed by Palestinians?

    There are clear parallelism between both, at least in my opinion.

  • Valeriano Orobón Fernández (1901 - 1936) Valeriano Orobón Fernández, born on this day in 1901, was a Spanish anarcho-syndicalist theoretician, trade union activist, translator, and poet who wrote...
  • If anybody is interested, this is a version f a Las Barricadas with lyrics in english and spanish. And this is a more modern version by los muertos de cristo with greek lyrics.

  • Deir Yassin Massacre (1948) On this day in 1948, far-right Zionist paramilitaries indiscriminately slaughtered 107-254 villagers of Deir Yassin

    cross-posted from: https://lemmy.world/post/27970858

    > Deir Yassin Massacre (1948) On this day in 1948, far-right Zionist paramilitaries indiscriminately slaughtered 107-254 villagers of Deir Yassin, orphaning at least 55 children (2 shown). Israel... > > ## Deir Yassin Massacre (1948) > > ### Fri Apr 09, 1948 > !Image > > Image: Orphaned children whose parents had been killed at Deir Yassin. Credit: IDF archive / Still from the film "Born in Deir Yassin" [haartetz.com] > > --- > On this day in 1948, far-right Zionist paramilitaries indiscriminately slaughtered 107-254 villagers of Deir Yassin, orphaning at least 55 children (2 shown). Israel has kept documentation of the massacre sealed, citing security concerns. > > The massacre took place during the 1947-1948 civil war in Mandatory Palestine. In the months leading up to the attack, forces led by the Palestinian Arab nationalist Mohammad Amin al-Husayni laid siege to Jerusalem, cutting off the city from military aid. > > Although war had broken out, the fighting was relatively contained. According to an Arab League general - "Despite the fact that skirmishes and battles have begun, the Jews at this stage are still trying to contain the fighting to as narrow a sphere as possible...the Jews have not so far attacked Arab villages unless the inhabitants of those villages attacked them or provoked them first." > > Deir Yassin was a Palestinian Arab village near Jerusalem, with several hundred residents (all Muslim), living in 144 houses. Multiple accounts suggest villagers lived in peace with their Jewish neighbors, particularly those in Givat Shaul, some of whom reportedly tried to help the villagers during the massacre. > > On April 9th, 1948, more than one hundred members of the underground, far-right Zionist paramilitary groups Irgun and Lehi attacked Deir Yassin. The operation took place despite knowledge that villagers had signed a non-aggression pact. > > Zionist soldiers expected residents to flee rather than fight back. When they encountered armed resistance, soldiers resorted to blowing up houses with explosives and indiscriminately slaughtering all inside. According to eye-witness accounts, the attackers systemically murdered the village population, executing children and reportedly raping women. > > Zionists paraded captured adult men in the streets of West Jerusalem before returning to the village and executing them. Money, silver, and gold were taken from the victims. In total, estimates of those killed range from 107 to 254, and at least 55 children were orphaned. > > The massacre was internationally condemned, including by Jewish intellectuals such as Albert Einstein. The attack inspired a revenge attack four days after the Deir Yassin massacre - on April 13th, Arabs attacked the Hadassah medical convoy in Jerusalem, killing seventy-eight, most of whom were medical staff. > > In 1969, the Israeli Foreign Ministry published an English pamphlet "Background Notes on Current Themes: Deir Yassin", falsely denying that there had been a massacre at Deir Yassin, claiming that the village was the home of an Iraqi garrison, and calling the massacre story "part of a package of fairy tales, for export and home consumption". > > The attack caused many Palestinians in the area to flee, and escalated tensions in the civil war. In 1951, an Israeli psychiatric hospital was built on the village itself, using some of the village's abandoned buildings. > > > "They are angry with me that I said these things. Let them first be angry at themselves...I was there, I saw the massacre with my own eyes. Why didn't [Israeli military historian Uri Milstein] ever question me about the things I experienced there?" > > > > - Meir Pa'il, an intelligence officer who provided an eyewitness account to the Deir Yassin Massacre > > --- > - Date: 1948-04-09 > - Learn More: www.haaretz.com, en.wikipedia.org. > - Tags: #Massacre. > - Source: www.apeoplescalendar.org

    0
    [News] Spanish unions call for a General Strike in solidarity with Palestine on September 27
    www.elsaltodiario.com CGT y Solidaridad Obrera convocan una huelga por Gaza el 27 de septiembre

    La iniciativa, impulsada por CGT y Solidaridad Obrera, toma fuerza en al menos 50 localidades del Estado español. A 48 horas de la cita, hay ya más de 100 convocatorias descentralizadas entre piquetes, concentraciones y marchas de 163 organizaciones y colectivos, para este viernes 27 de septiembre.

    CGT y Solidaridad Obrera convocan una huelga por Gaza el 27 de septiembre

    cross-posted from: https://lemmy.ml/post/20705782

    > Sorry, the article is in Spanish, I've not found an English article about this strike. > > From the article: > > Almost silently and like a living tide, the call for the Strike for Palestine on September 27 , called by the unions CGT and Solidaridad Obrera (SO), has been gaining strength. Having launched the official call towards the end of August, little by little other non-majority unions (COS, SAT Granada, Co.bas...), organizations, groups from various sectors of society have shown their intention to subscribe to it. Dozens of posters in various territories of the Spanish State are already circulating, referring not only to continuing the strike but also to making it a day of active struggle throughout the day. > > The General Strike has not the support of the two mayor Spanish unions (CCOO and UGT) > > The manifesto, posters, support/joining form for associations and calls for picket lines/demonstrations in Catalonia (the part in Spain) are accessible from this website: https\://defensempalestina.org/ (in Catalan)

    2
    [News] Spanish unions call for a General Strike in solidarity with Palestine on September 27
    www.elsaltodiario.com CGT y Solidaridad Obrera convocan una huelga por Gaza el 27 de septiembre

    La iniciativa, impulsada por CGT y Solidaridad Obrera, toma fuerza en al menos 50 localidades del Estado español. A 48 horas de la cita, hay ya más de 100 convocatorias descentralizadas entre piquetes, concentraciones y marchas de 163 organizaciones y colectivos, para este viernes 27 de septiembre.

    CGT y Solidaridad Obrera convocan una huelga por Gaza el 27 de septiembre

    Sorry, the article is in Spanish, I've not found an English article about this strike.

    From the article: > Almost silently and like a living tide, the call for the Strike for Palestine on September 27 , called by the unions CGT and Solidaridad Obrera (SO), has been gaining strength. Having launched the official call towards the end of August, little by little other non-majority unions (COS, SAT Granada, Co.bas...), organizations, groups from various sectors of society have shown their intention to subscribe to it. Dozens of posters in various territories of the Spanish State are already circulating, referring not only to continuing the strike but also to making it a day of active struggle throughout the day.

    The General Strike has not the support of the two mayor Spanish unions (CCOO and UGT)

    The manifesto, posters, support/joining form for associations and calls for picket lines/demonstrations in Catalonia (the part in Spain) are accessible from this website: https\://defensempalestina.org/ (in Catalan)

    0
    [Statement] of the Paleatinian Union Women's Action Committees regarding the Masawi massacre in Khan Younis and the murder of Shaima Jabir Al-Shaer

    ♦️ Palestinian Union of Women’s Action Committees:\ —\ The Union of Women's Action Committees mourn the comrade Shaima Jabir Al-Shaer and affirm that the crime of her assassination will not deter our people from continuing the struggle and resistance.\ \ The Union of Women's Action Committees mourns the martyr, comrade Shaima Jabir Al-Shaer (18 years old), who was martyred in the horrific Mawasi massacre in Khan Younis Governorate, southern Gaza Strip, which claimed the lives of more than 100 martyrs and wounded, along with a large number of missing persons.\ \ The Union of Women's Action Committees condemns this cowardly crime and affirms that this and other crimes of genocide will not deter our people and its women’s movement from continuing their struggle and resistance until the expulsion of the fascist occupation from our Palestinian land, within the borders of June 4, 1967, with Al-Quds as its capital, and ensuring the return of refugees to their homes from which they were displaced since 1948, in accordance with UN Resolution 194.\ \ It is noted that comrade Shaima Al-Shaer was displaced from Rafah Governorate due to the genocide crimes to the Mawasi area in Khan Younis, believing it to be a humanitarian safe zone, as claimed by the fascist occupation, which urged citizens to move there.\ \ The Union of Women's Action Committees \ Gaza Strip, Palestine \ 10/09/2024

    Source: Resistance News Network

    Edit: removed telegram link. Edit: fkc android keyboard: doing the title readable

    0
    Ghassan Kanafani Assassinated (1972) Ghassan Kanafani was a Palestinian author and leader of the Popular Front for the Liberation of Palestine (PFLP), assassinated on this day in 1972 by Israeli...

    cross-posted from: https://lemmy.world/post/17339715

    > ## Ghassan Kanafani Assassinated (1972) > > ### Sat Jul 08, 1972 > !Image > > --- > Ghassan Kanafani was a Palestinian author and leader of the Popular Front for the Liberation of Palestine (PFLP), assassinated on this day in 1972 by Israeli forces in retaliation for the Lod Airport Massacre, claimed by the PLFP. > > In May, when the outbreak of hostilities in the 1948 Arab–Israeli War spilled over into the city of Acre, Kanafani and his family were forced into exile while he was still a child. After fleeing ~eleven miles north to Lebanon, they settled in Damascus, Syria as Palestinian refugees. > > In 1969, after establishing himself as an author and journalist, he joined The Popular Front for the Liberation of Palestine and, resigned from his post as editor for the magazine Al-Anwar to edit the PFLP's weekly magazine, al-Hadaf ("The Goal"). He drafted a PFLP program in which the movement officially took up Marxism-Leninism, a notable departure from pan-Arab nationalist ideology. > > On July 8th, 1972, at the age of 36, Kanafani was assassinated via car bomb by the Israeli intelligence agency Mossad for his role in the PLFP, which claimed responsibility for the Lod Airport Massacre. > > The massacre, committed by three members of the Japanese Red Army recruited by the PLFP, killed 26 people, injuring 80 others. > > Ghassan Kanafani was an influential author, whose literary works have been translated into at least 17 languages and published in 20 countries. He began writing short stories when working as a teacher in refugee camps. Often written through the eyes of children, his stories were designed to help his students contextualize their surroundings. > > > "Everything in this world can be robbed and stolen, except one thing; this one thing is the love that emanates from a human being towards a solid commitment to a conviction or cause." > > > > - Ghassan Kanafani > > --- > - Date: 1972-07-08 > - Learn More: en.wikipedia.org, www.middleeastmonitor.com. > - Tags: #Marxism, #Assassinations, #Massacre. > - Source: www.apeoplescalendar.org

    0
    The Industrial Workers of the World (IWW), founded on this day in 1905 in Chicago, Illinois

    cross-posted from: https://lemmy.world/post/16976545

    > Founding of the IWW (1905) The Industrial Workers of the World (IWW), founded on this day in 1905 in Chicago, Illinois, is an anti-capitalist and internationalist labor union whose slogan says "An... > > ## Founding of the IWW (1905) > > ### Tue Jun 27, 1905 > !Image > > Image: The IWW logo > > --- > The Industrial Workers of the World (IWW), founded on this day in 1905 in Chicago, Illinois, is an anti-capitalist and internationalist labor union whose slogan says "An injury to one is an injury to all!" > > The IWW promotes the concept of "One Big Union", and contends that all workers should be united as a social class to supplant capitalism and wage labor with industrial democracy. > > The IWW was officially founded in Chicago, Illinois on June 27th, 1905. A convention was held of 200 socialists and radical trade unionists from all over the United States who opposed the policies and politics of the more moderate American Federation of Labor (AFL). In particular, the IWW opposed the American Federation of Labor's acceptance of capitalism and its refusal to include unskilled workers in craft unions. > > The IWW's founders included many historically important labor activists and socialist thinkers, including "Big Bill" Haywood, James Connolly, Daniel De Leon, Eugene V. Debs, Thomas Hagerty, Lucy Parsons, Mary Harris "Mother" Jones, Frank Bohn, William Trautmann, Vincent Saint John, Ralph Chaplin, and many others. > > --- > - Date: 1905-06-27 > - Learn More: en.wikipedia.org, iww.org. > - Tags: #Socialism, #Labor, #IWW. > - Source: www.apeoplescalendar.org

    2
    All cops are bad @lemmy.ml redrum @lemmy.ml
    George Floyd Murdered (2020)

    cross-posted from: https://lemmy.world/post/15788619

    > George Floyd Murdered (2020) On this day in 2020, a Minneapolis cop murdered George Floyd by kneeling on his neck for more than nine minutes. Floyd's death became the catalyst for protests around... > > ## George Floyd Murdered (2020) > > ### Mon May 25, 2020 > !Image > > Image: George Floyd with his six-year old, Gianna [blackpast.org] > > --- > On this day in 2020, a Minneapolis cop murdered George Floyd by kneeling on his neck for more than nine minutes. Floyd's death became the catalyst for protests around the world; by July, more than 14,000 were arrested in the U.S. alone. > > Floyd, a 46-year old black man, had been arrested on suspicion of using a counterfeit $20 bill. The cop, 44-year old white man Derek Chauvin, knelt on Floyd's neck for nine minutes and twenty-nine seconds while he was handcuffed and lying face-down in a street. Floyd was dead before Chauvin's knee left his neck. > > The following day, after videos made by witnesses and security cameras became public, all four officers involed were fired. Floyd's state murder became the catalyst for worldwide Black Lives Matter protests against police brutality, which took place on every continent except Antartica. > > The scope of civil unrest within the U.S. was nearly unprecedented. Author Malik Simba writes: "the protests have involved more than 26 million Americans in 2,000 cities and towns in every state in the U.S., making [them] the most widespread protests around one issue in the history of the nation. By the end of June alone, one month into the protests, 14,000 people had been arrested." > > Initially, the local District Attorney's Office only harged Chauvin with third-degree manslaughter, but this charge was later increased to second degree murder, following mass protests. On April 20th, 2021, Chauvin was convicted and sentenced to 22.5 years in prison. The other three officers were also later convicted of violating Floyd's civil rights. > > Floyd's murder was witnessed by several people, including children. On the incident, seventeen year old Danella Frazier stated "When I look at George Floyd, I look at my dad, I look at my brother, I look at my cousin and my uncle." Her nine year old cousin, also an eyewitness, testified in court: "I was sad and kind of mad and it felt like [Chauvin's knee] was stopping him from breathing and it was hurting him." > > --- > - Date: 2020-05-25 > - Learn More: www.blackpast.org, en.wikipedia.org. > - Tags: #Protests. > - Source: www.apeoplescalendar.org

    0
    Victory of the camped students of the Barcelona University

    The University of Barcelona will break rellations with Israel.

    Source: https://t.me/comunitatpalestinacatalunya (catalan language).

    (Auto)ranslated announcement:

    _🚨 ATTENTION! *Tomorrow everyone in front of the University of Barcelona to celebrate the historic victory of the students.

    After 17 days of camping in Palestine at the University of Barcelona:

    The university has not only approved the severance of relations with Israel, but has committed itself and activated the necessary mechanisms to make it possible. After more than two weeks of daily assemblies, actions, meetings and communiqués, the students demonstrate that the action works and push forward for a free Palestine.

    After a historic victory today they have announced that tomorrow May 24 in the afternoon they will end the camp. The end of the camp implies a step forward in the struggle, to continue mobilizing our collective struggle in different spaces. We hope that yesterday will be one more victory of the gains to come and bring us closer to a common goal for life and dignity.

    Come make noise with us and welcome the students: 🗓️ Friday 24 May at 6.30pm 📍Plaça Universitat (in front of the UB door)

    📢 Together we can shake the world for Palestine; to stop genocide, occupation and apartheid in Palestine. We know it works and we won't stop until we get it: free Palestine, from the river to the sea.🇵🇸_

    0
    redrumBot redrum @lemmy.ml
    Posts 11
    Comments 120
    Moderates