Skip to content

Commit

Permalink
Bump version to 2.1b3
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Feb 11, 2023
1 parent 91d1584 commit 956300d
Show file tree
Hide file tree
Showing 14 changed files with 1,134 additions and 1,133 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,7 @@
## 2.1 (beta)

- Added support for Python 3.11.
- Updated `Manager.get()` to be more flexible with positional arguments.

## 2.0 (2022-08-20)

Expand Down
10 changes: 5 additions & 5 deletions Makefile
Expand Up @@ -100,11 +100,11 @@ $(MKDOCS_INDEX): docs/requirements.txt mkdocs.yml docs/*.md

docs/requirements.txt: poetry.lock
@ rm -f $@
@ poetry export --dev --without-hashes | grep jinja2 >> $@
@ poetry export --dev --without-hashes | grep markdown >> $@
@ poetry export --dev --without-hashes | grep mkdocs >> $@
@ poetry export --dev --without-hashes | grep pygments >> $@
@ poetry export --dev --without-hashes | grep importlib-metadata >> $@
@ poetry export --with dev --without-hashes | grep jinja2 >> $@
@ poetry export --with dev --without-hashes | grep markdown >> $@
@ poetry export --with dev --without-hashes | grep mkdocs >> $@
@ poetry export --with dev --without-hashes | grep pygments >> $@
@ poetry export --with dev --without-hashes | grep importlib-metadata >> $@

.PHONY: mkdocs-serve
mkdocs-serve: mkdocs
Expand Down
4 changes: 2 additions & 2 deletions datafiles/manager.py
Expand Up @@ -83,10 +83,10 @@ def get(self, *args, **kwargs) -> Model:
instance.datafile.path.unlink()
instance.datafile.load()

# reconstruct the dataclass so that __init__ gets called
# Reconstruct the dataclass so that __init__ gets called
instance = dataclasses.replace(instance)

# make sure the mapper knows that it's actually been loaded
# Make sure the mapper knows that it's actually been loaded
instance.datafile.modified = False

return instance
Expand Down
20 changes: 10 additions & 10 deletions notebooks/file_inference.ipynb
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "1c9d6e2c",
"id": "8845a361",
"metadata": {
"tags": []
},
Expand All @@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "ee2eab7f",
"id": "07e88e6d",
"metadata": {
"tags": []
},
Expand All @@ -40,7 +40,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "2a5e5cea",
"id": "7c897e1a",
"metadata": {
"tags": []
},
Expand All @@ -67,7 +67,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0249fe5b",
"id": "63bb2409",
"metadata": {
"tags": []
},
Expand All @@ -79,7 +79,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8b87d706",
"id": "9429b844",
"metadata": {
"tags": []
},
Expand All @@ -106,7 +106,7 @@
},
{
"cell_type": "markdown",
"id": "df657bc6",
"id": "a6b718bd",
"metadata": {
"tags": []
},
Expand All @@ -117,7 +117,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "45732fdc",
"id": "14646062",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -176,7 +176,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "aa4806e9",
"id": "9361e912",
"metadata": {
"tags": []
},
Expand All @@ -190,7 +190,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0c6e0b77",
"id": "6c437564",
"metadata": {
"tags": []
},
Expand All @@ -202,7 +202,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6dab4e3d",
"id": "edb647e0",
"metadata": {
"tags": []
},
Expand Down
24 changes: 12 additions & 12 deletions notebooks/format_options.ipynb
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "71c1b1b9",
"id": "d62e217a",
"metadata": {
"tags": []
},
Expand All @@ -17,7 +17,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "63368942",
"id": "4c5042e4",
"metadata": {
"tags": []
},
Expand All @@ -42,7 +42,7 @@
},
{
"cell_type": "markdown",
"id": "1597dff3",
"id": "408401ea",
"metadata": {
"tags": []
},
Expand All @@ -53,7 +53,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "af8693b4",
"id": "77cb5651",
"metadata": {
"tags": []
},
Expand All @@ -71,7 +71,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "cf56e0b5",
"id": "4c2da70d",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -108,7 +108,7 @@
},
{
"cell_type": "markdown",
"id": "bcf1e70d",
"id": "a733ef95",
"metadata": {
"tags": []
},
Expand All @@ -119,7 +119,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "a12ccf3e",
"id": "1d6f65b8",
"metadata": {
"tags": []
},
Expand All @@ -137,7 +137,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8b650612",
"id": "21592a3f",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -169,7 +169,7 @@
},
{
"cell_type": "markdown",
"id": "c3100250",
"id": "24eb4573",
"metadata": {
"tags": []
},
Expand All @@ -180,7 +180,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "06e1840c",
"id": "60d08f2b",
"metadata": {
"tags": []
},
Expand All @@ -198,7 +198,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "79fe66d9",
"id": "b9f90285",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -228,7 +228,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1e21ebae",
"id": "c40015f0",
"metadata": {
"tags": []
},
Expand Down
14 changes: 7 additions & 7 deletions notebooks/generic_types.ipynb
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "d37e4e10",
"id": "121396b6",
"metadata": {
"tags": []
},
Expand All @@ -13,7 +13,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "d7873b34",
"id": "a074beae",
"metadata": {
"tags": []
},
Expand All @@ -27,7 +27,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8c1f170a",
"id": "d82f109d",
"metadata": {
"tags": []
},
Expand Down Expand Up @@ -73,7 +73,7 @@
},
{
"cell_type": "markdown",
"id": "6f8d7eaa",
"id": "c116bb1a",
"metadata": {
"tags": []
},
Expand All @@ -84,15 +84,15 @@
{
"cell_type": "code",
"execution_count": null,
"id": "fdebed17",
"id": "ba2dfc4c",
"metadata": {
"tags": []
},
"outputs": [
{
"data": {
"text/plain": [
"Dictish(contents=[<__main__.Pair object at 0x1070a5110>, <__main__.Pair object at 0x107071710>])"
"Dictish(contents=[<__main__.Pair object at 0x10d8d6910>, <__main__.Pair object at 0x10d8d7450>])"
]
},
"execution_count": null,
Expand All @@ -107,7 +107,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9ee74a0c",
"id": "8a2010a7",
"metadata": {
"tags": []
},
Expand Down

0 comments on commit 956300d

Please sign in to comment.