Commit graph

24 commits

Author SHA1 Message Date
Pegasust
55f5c120dc feat(orjson): hashes for 3.9.x 2023-11-05 19:11:22 -08:00
Pegasust
42e2db1157 test(orjson): orjson integration test across seemingly supported versions 2023-11-05 19:11:22 -08:00
adisbladis
349143fce1 auto_version: Use 2023.11.239149 style scheme 2023-11-03 00:23:00 +13:00
Graham Christensen
a1033070ab auto_version: make the tags parse under semver
SemVer has two rules that the previous scheme violates:

1. major/minor/patch numbers can't start with a leading 0. Changing `%d` to `%-d` removes the leading zero. I also applied it to the year just in case :):

```
>>> print(now.strftime(f"%Y.%m.%d"))
2023.09.01
>>> print(now.strftime(f"%Y.%-m.%-d"))
2023.9.1
```

2. there can't be four dot-separated sections of the version. In this PR, I merge the year and month into one field (with a leading zero on the month!) so the seconds is the "patch" version, like this:

```
>>> print(now.strftime(f"%-Y%m.%-d.{modifier}"))
202309.1.82922
```
2023-11-03 00:23:00 +13:00
Phillip Cloud
ed3b79fd21
fix: use poetry2nix from top-level when importing ./tools 2023-10-28 06:00:45 -04:00
Samuel Cormier-Iijima
dad0bb4579
fix: rename uses of flit and add to packages that use it 2023-10-24 08:24:41 -04:00
adisbladis
52850e7d53 Auto-release using a date-based tag on master push 2023-07-07 23:49:48 +12:00
K900
cdd6e39037 overrides: regenerate, add some stuff manually 2023-03-21 16:11:22 +03:00
Victor Engmark
c57a16f773 chore: Remove Python 2 compatibility
From the build:

> Package ‘python-2.7.18.6’ in
> /nix/store/n5hj62lgkwvz3gqnp4l4nxzjnadh7y54-source/pkgs/development/interpreters/python/cpython/2.7/default.nix:330
> is marked as insecure, refusing to evaluate.

and

> Python 2.7 has reached its end of life after 2020-01-01. See
> https://www.python.org/doc/sunset-python-2/.

Necessary to bump nixpkgs
<https://github.com/nix-community/poetry2nix/pull/996>.
2023-02-27 13:16:42 +13:00
adisbladis
14db5280f3 re-lock internal tools 2022-10-07 20:12:45 +13:00
K900
33db1f30d0 feat: big messy refactoring
- normalize package names to match PEP-503
- don't assume build dependencies on setuptools{,-scm}
- automatically generate overrides for setuptools{,-scm}
- pull known build systems directly from nixpkgs
- fix a bunch of mostly unrelated warnings

Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
2022-10-06 19:54:08 +03:00
adisbladis
604adc454f Remove poetry2nix-release tool
I'm now always fully relying on Github Actions for testing pre-release.
This tool isn't helpful and makes the development shell larger.
2022-05-05 09:34:55 +12:00
adisbladis
1426612d4e Sync build systems from nixpkgs 2022-05-05 06:34:30 +12:00
Derek Kulinski
a992cb630b datadog package and also support for hatchling 2022-04-16 14:57:51 +12:00
adisbladis
6c2c497a29 Add cython to derived overrides script 2022-01-21 14:53:44 +12:00
adisbladis
044d7d70fc Add development tool to automatically derive build-systems from nixpkgs 2022-01-21 14:25:21 +12:00
adisbladis
b8d3545eba Add tooling to detect Python2 syntax errors 2022-01-12 18:48:06 +13:00
adisbladis
b4d2477b1f Add a basic python environment for tooling to nix-shell
I want to start formatting all Python code in the repository with black, let's dogfood this and use poetry2nix to provide it.
2022-01-12 18:48:06 +13:00
adisbladis
3be424ac55 Bump nixpkgs 2021-12-25 21:55:18 -08:00
adisbladis
db06bdd6e7
Format with nixpkgs-fmt 0.9 2020-05-19 21:06:02 +01:00
adisbladis
4ebbfdacd1
nixpkgs-fmt broke it's format yet again 2020-04-29 14:12:59 +01:00
adisbladis
f7e435407e
nixpkgs-fmt all the things (again...) 2020-03-14 23:13:51 +00:00
adisbladis
06d9687c0f
Prepare for release 1.6.0 2020-02-29 14:07:31 +00:00
adisbladis
8336c5f8c6
Add development tools to generate flame graphs for nix-instantiate 2020-02-27 08:44:42 +00:00