psycopg

827 posts

psycopg banner
psycopg

psycopg

@psycopg

I am the most used and most advanced PostgreSQL driver for Python! (it/its)

انضم Ekim 2010
128 يتبع1.8K المتابعون
psycopg
psycopg@psycopg·
Shall we meet in Naples? We will be at PGDay Napoli to talk about Psycopg 3 and in the upcoming 3.3, with Python 3.14 and PostgreSQL 18 support. After that, get the chance to visit a picturesque city and have the best pizza of your life! 2025.pgdaynapoli.org
English
0
0
0
115
psycopg
psycopg@psycopg·
@pauloxnet aaaaAAAAAAAAA!!!!!1 That's amazing! Thank you for the immense work!!!
English
0
0
3
43
psycopg
psycopg@psycopg·
@samuelcolvin Something easier to do is to list the minimum versions in a constraint files and include it in a CI test run using pip -c. Details at #constraints-files" target="_blank" rel="nofollow noopener">pip.pypa.io/en/stable/user…
English
0
0
2
221
Samuel Colvin
Samuel Colvin@samuelcolvin·
I want a CI tool that installs all combinations of dependencies for a package (or random combinations of dependencies if "all" is too many), then runs tests. It could run either on push or nightly and would pick up issues like github.com/pydantic/pydan… Does any such thing exist?
English
9
0
36
10.2K
psycopg
psycopg@psycopg·
@github What is a SQL injection?
English
1
2
17
1.7K
GitHub
GitHub@github·
We’ve known about SQL injection attacks for a long time. Catch vulnerable code before it’s committed to your codebase. 🔍🔒
English
9
25
183
72K
psycopg
psycopg@psycopg·
@willmcgugan @samuelcolvin @github I got one of these yesterday too, which was sort of upsetting... but then I thought that it was the first spam ever received since I'm active on @github, which has been a long while. So I guess it counts as a testament of the quality of the platform 🙂
English
0
0
2
113
Will McGugan
Will McGugan@willmcgugan·
@samuelcolvin @github Woke up to a tsunami of "issues" this morning. Relieved it was spam and not a Rich bug. In fairness, of all the platforms I use, GitHub is the least spammy.
English
3
0
16
3K
Samuel Colvin
Samuel Colvin@samuelcolvin·
Seems like @github is being hit by a wave of spam. I'm seeking multiple spam comments an hour, most are deleted straight away, but not all. Did someone crack their "I am not a robot"?
Samuel Colvin tweet media
English
8
0
48
9.3K
psycopg
psycopg@psycopg·
I hope to not be committing any crime by declaring that you can find us as @psycopg@fosstodon.org Whether we will keep on using this space or not depends on the quality of the interaction and the toxicity of the different networks. #python #postgresql #freesoftware
English
0
0
9
1.2K
Freya Holmér
Freya Holmér@FreyaHolmer·
so disqus then? I was a little worried when it said it's ad supported, as well as I would've expected something newer to take its place!
English
5
1
17
13.7K
Freya Holmér
Freya Holmér@FreyaHolmer·
what's the most standard/easy way to set up a comment section on a website/blog? I want to write some on my website, but I think it'd be nice if there was some sort of comment section
English
21
1
60
29.7K
psycopg
psycopg@psycopg·
Very annoying... psycopg 3 threads stumble on each other, but can't figure out what is hogging the GIL (above: 1 thread benchmark, below, 4 threads, circled: GIL acquisition). How to debug it? #Python #Debugging
psycopg tweet media
English
2
0
9
2.4K
psycopg
psycopg@psycopg·
@willmcgugan Are simple controls such as check boxes, radio, drop-downs implemented? Last time I checked there weren't, still needed curses, so no way to write a portable app
English
1
0
3
397
Will McGugan
Will McGugan@willmcgugan·
What should Textual add next?
English
13
0
14
8K
psycopg
psycopg@psycopg·
@sfermigier I tried, and no: you can't convert the URLs to a dict. It only works if it's on a single line.
English
1
0
0
30
Stefane Fermigier
Stefane Fermigier@sfermigier·
@psycopg I don't really agree. On the left, we have DSL where some information are conventional. On the right, things are more regular and more directly map to an internal data structure. Also, you could change `projects.urls` to a dict to solve the issue you've mentioned.
English
1
0
0
111
psycopg
psycopg@psycopg·
Tried to convert setup.cfg to pyproject.toml, and it's a pretty poor result: likely it won't be merged. I hate how useful info are forced to irrelevant places, such as the urls after the filename of the readme. I wish this format was ditched and build-system moved to setup.cfg.
psycopg tweet media
English
1
0
8
1K
psycopg
psycopg@psycopg·
Hints: - @GitHubActions services don't support passing ARGS to docker run (which would be passed to the server) - You can't override the ENTRYPOINT with a script from the repo, because the service starts before actions/checkout Checkmate, AFAICS github.com/psycopg/psycop…
English
0
0
5
350
psycopg
psycopg@psycopg·
There could be a few lessons to learn here. One is to look into other provides (checking if @MacStadium has availability for Free-Software projects). We will also refactor the metadata to allow more flexibility in Psycopg 3.2.
English
0
0
1
294
psycopg
psycopg@psycopg·
Just released psycopg 3.1.7, but we couldn't build M1 binary packages as @Scaleway has no hardware availalble. So we made it compatible with psycopg-binary 3.1.6 (we could, this time, because only changes are in Python code). #psycopg-3-1-7" target="_blank" rel="nofollow noopener">psycopg.org/psycopg3/docs/…
English
1
1
6
997
psycopg
psycopg@psycopg·
@marcelotryle Trying dis to verify the differences, Python 3.10 works out that the list is only used as a throwaway and it builds a tuple instead! I don't know about other versions.
psycopg tweet media
English
1
0
2
68
psycopg
psycopg@psycopg·
@marcelotryle Correct about 1, 2. Using an AI tools to submit MR they don't even understand is a major WTF. You'll be surprise about 3...
English
1
0
0
46
psycopg
psycopg@psycopg·
Let's take a look how it is down there. Nice default avatar, it looks a bit like me.
psycopg tweet media
English
1
2
13
2.2K
psycopg
psycopg@psycopg·
Retweeting @pauloxnet tweet to say thank you for your work bringing everyone together, and because it contains a nice list of people to thank. Great job, people! 💜
Paolo Melchiorre@pauloxnet

The Django @psycopg branch has been merged 🎉 I opened the issue 13 months ago and many developers worked on the PR started by @dvarrazzo 👏 Thanks @fapolloner @MariuszFelisiak Simon Charette, Tim Graham, @AdamChainz, @carltongibson and @David_Smith86 🙏 code.djangoproject.com/ticket/33308

English
1
0
3
526