mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

357K
active users

konsti

You can solve sudokus in python packaging.

Not not python code, python packages:
```
[project]
name = "sudoku"
version = "1.0.0"
dependencies = [
"sudoku_3_1 == 2",
"sudoku_5_7 == 6",
"sudoku_0_7 == 5"
...
]
```
and the installed packages are the solution.

github.com/konstin/sudoku-in-p

GitHubGitHub - konstin/sudoku-in-python-packaging: Sudoku solving in python packagingSudoku solving in python packaging. Contribute to konstin/sudoku-in-python-packaging development by creating an account on GitHub.

@konstin konsti stop doing cursed python things challenge (impossible)

@konstin better at solving sudoku than package constraints — cursed

@konstin you actually found something `pip` is good at? 👏

@konstin pip can handle SAT? last time I tried, it couldn't even properly resolve two interdependent packages when you installed them in one invocation :-D

@konstin@mastodon.social I think you can even make it not depend on requirements.txt by putting the solution for that cell as a constant inside the package and the solution is printed just by importing every package and print out the constant. ​:blobcatgooglycofecup: