head 1.164; access; symbols pkgsrc-2026Q1:1.162.0.2 pkgsrc-2026Q1-base:1.162 pkgsrc-2025Q4:1.158.0.2 pkgsrc-2025Q4-base:1.158 pkgsrc-2025Q3:1.155.0.2 pkgsrc-2025Q3-base:1.155 pkgsrc-2025Q2:1.153.0.2 pkgsrc-2025Q2-base:1.153 pkgsrc-2025Q1:1.149.0.2 pkgsrc-2025Q1-base:1.149 pkgsrc-2024Q4:1.142.0.2 pkgsrc-2024Q4-base:1.142 pkgsrc-2024Q3:1.139.0.2 pkgsrc-2024Q3-base:1.139 pkgsrc-2024Q2:1.134.0.2 pkgsrc-2024Q2-base:1.134 pkgsrc-2024Q1:1.132.0.2 pkgsrc-2024Q1-base:1.132 pkgsrc-2023Q4:1.126.0.2 pkgsrc-2023Q4-base:1.126 pkgsrc-2023Q3:1.123.0.2 pkgsrc-2023Q3-base:1.123 pkgsrc-2023Q2:1.117.0.2 pkgsrc-2023Q2-base:1.117 pkgsrc-2023Q1:1.113.0.2 pkgsrc-2023Q1-base:1.113 pkgsrc-2022Q4:1.112.0.2 pkgsrc-2022Q4-base:1.112 pkgsrc-2022Q3:1.107.0.2 pkgsrc-2022Q3-base:1.107 pkgsrc-2022Q2:1.105.0.4 pkgsrc-2022Q2-base:1.105 pkgsrc-2022Q1:1.105.0.2 pkgsrc-2022Q1-base:1.105 pkgsrc-2021Q4:1.104.0.2 pkgsrc-2021Q4-base:1.104 pkgsrc-2021Q3:1.99.0.2 pkgsrc-2021Q3-base:1.99 pkgsrc-2021Q2:1.98.0.2 pkgsrc-2021Q2-base:1.98 pkgsrc-2021Q1:1.94.0.2 pkgsrc-2021Q1-base:1.94 pkgsrc-2020Q4:1.88.0.2 pkgsrc-2020Q4-base:1.88 pkgsrc-2020Q3:1.80.0.4 pkgsrc-2020Q3-base:1.80 pkgsrc-2020Q2:1.80.0.2 pkgsrc-2020Q2-base:1.80 pkgsrc-2020Q1:1.79.0.2 pkgsrc-2020Q1-base:1.79 pkgsrc-2019Q4:1.79.0.4 pkgsrc-2019Q4-base:1.79 pkgsrc-2019Q3:1.76.0.2 pkgsrc-2019Q3-base:1.76 pkgsrc-2019Q2:1.75.0.2 pkgsrc-2019Q2-base:1.75 pkgsrc-2019Q1:1.70.0.2 pkgsrc-2019Q1-base:1.70 pkgsrc-2018Q4:1.65.0.2 pkgsrc-2018Q4-base:1.65 pkgsrc-2018Q3:1.58.0.2 pkgsrc-2018Q3-base:1.58 pkgsrc-2018Q2:1.53.0.2 pkgsrc-2018Q2-base:1.53 pkgsrc-2018Q1:1.49.0.2 pkgsrc-2018Q1-base:1.49 pkgsrc-2017Q4:1.39.0.2 pkgsrc-2017Q4-base:1.39 pkgsrc-2017Q3:1.30.0.4 pkgsrc-2017Q3-base:1.30 pkgsrc-2017Q2:1.17.0.2 pkgsrc-2017Q2-base:1.17 pkgsrc-2017Q1:1.5.0.2 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.4.0.2 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.2.0.2 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.1.0.2 pkgsrc-2016Q2-base:1.1; locks; strict; comment @# @; 1.164 date 2026.05.11.05.38.13; author adam; state Exp; branches; next 1.163; commitid odvCbnh1bFWZdmFG; 1.163 date 2026.04.15.08.50.52; author adam; state Exp; branches; next 1.162; commitid rHPa21sprpx082CG; 1.162 date 2026.03.12.05.45.45; author adam; state Exp; branches; next 1.161; commitid w42LLo2nWGVgcExG; 1.161 date 2026.02.16.18.07.47; author adam; state Exp; branches; next 1.160; commitid WvqCcKCvZIfB4DuG; 1.160 date 2026.01.11.08.16.29; author adam; state Exp; branches; next 1.159; commitid HGYMFiWPVBcxXWpG; 1.159 date 2026.01.01.09.25.27; author adam; state Exp; branches; next 1.158; commitid S1HMLqYG9744FFoG; 1.158 date 2025.11.29.17.49.57; author adam; state Exp; branches; next 1.157; commitid HAf8NeSb7eGXvtkG; 1.157 date 2025.11.11.13.52.19; author adam; state Exp; branches; next 1.156; commitid Ofotem7QTFyjM8iG; 1.156 date 2025.10.23.09.14.29; author adam; state Exp; branches; next 1.155; commitid SRlt6bLKoADOQFfG; 1.155 date 2025.08.22.10.03.52; author adam; state Exp; branches; next 1.154; commitid A11J9sGRvyBn7I7G; 1.154 date 2025.08.05.07.18.27; author adam; state Exp; branches; next 1.153; commitid EUSVdiginmTsKv5G; 1.153 date 2025.06.13.06.49.07; author adam; state Exp; branches; next 1.152; commitid gNThI5e6qbs3iHYF; 1.152 date 2025.05.27.19.02.16; author adam; state Exp; branches; next 1.151; commitid YHo4dcdUJpVoTzWF; 1.151 date 2025.05.06.07.21.47; author adam; state Exp; branches; next 1.150; commitid MYpfc0eIXLeXGOTF; 1.150 date 2025.04.12.09.57.42; author adam; state Exp; branches; next 1.149; commitid VIHd3KWBsJ5ikKQF; 1.149 date 2025.03.13.09.03.45; author adam; state Exp; branches; next 1.148; commitid u76mJJCbyfVAZSMF; 1.148 date 2025.03.04.05.16.14; author adam; state Exp; branches; next 1.147; commitid wXYh2HOPwO4o1ILF; 1.147 date 2025.02.19.09.24.20; author adam; state Exp; branches; next 1.146; commitid W5SS65NNZIvrO3KF; 1.146 date 2025.02.07.07.51.56; author adam; state Exp; branches; next 1.145; commitid reusDTAWkNYGGvIF; 1.145 date 2025.01.26.11.42.19; author adam; state Exp; branches; next 1.144; commitid TI3rdGIWof8zlZGF; 1.144 date 2025.01.14.06.45.25; author adam; state Exp; branches; next 1.143; commitid saZoK0B7aF0B5qFF; 1.143 date 2024.12.29.09.12.05; author adam; state Exp; branches; next 1.142; commitid w0Aw0dP4Ob2NpnDF; 1.142 date 2024.12.16.05.53.02; author adam; state Exp; branches; next 1.141; commitid 0Si1YcqyLocwJGBF; 1.141 date 2024.11.27.14.50.08; author adam; state Exp; branches; next 1.140; commitid 67alG2losGQsjizF; 1.140 date 2024.10.24.05.18.41; author adam; state Exp; branches; next 1.139; commitid cZ6c54DlpRGhfSuF; 1.139 date 2024.09.16.11.11.26; author adam; state Exp; branches; next 1.138; commitid KUs9HIEcO7p6q1qF; 1.138 date 2024.08.27.10.26.19; author adam; state Exp; branches; next 1.137; commitid IqMdJcEsw57sOrnF; 1.137 date 2024.08.04.06.39.33; author adam; state Exp; branches; next 1.136; commitid ROfc7GBvaStuitkF; 1.136 date 2024.07.19.07.07.58; author adam; state Exp; branches; next 1.135; commitid Mm7yNibGmxr7YpiF; 1.135 date 2024.07.04.11.11.16; author adam; state Exp; branches; next 1.134; commitid zlDYTPspsRpmNvgF; 1.134 date 2024.06.12.09.00.05; author adam; state Exp; branches; next 1.133; commitid hkHJhBgHFXe6MFdF; 1.133 date 2024.04.19.13.10.08; author adam; state Exp; branches; next 1.132; commitid cWb83U8GMVtyTK6F; 1.132 date 2024.02.17.18.51.47; author adam; state Exp; branches; next 1.131; commitid dvt4qV1wxPtqMOYE; 1.131 date 2024.02.09.12.50.10; author adam; state Exp; branches; next 1.130; commitid aj7kw5Bs01gl2LXE; 1.130 date 2024.01.30.20.45.45; author adam; state Exp; branches; next 1.129; commitid jSHUVjFXmz5uZvWE; 1.129 date 2024.01.25.10.58.23; author adam; state Exp; branches; next 1.128; commitid 87BE2NhNE2XWTOVE; 1.128 date 2024.01.16.06.06.02; author adam; state Exp; branches; next 1.127; commitid gBwUDk5OUJsszDUE; 1.127 date 2024.01.08.19.58.31; author adam; state Exp; branches; next 1.126; commitid 7XAfQTFp07V5rGTE; 1.126 date 2023.12.11.20.46.39; author adam; state Exp; branches; next 1.125; commitid Mxq46865RwRnB5QE; 1.125 date 2023.10.26.08.02.34; author adam; state Exp; branches; next 1.124; commitid 4OILS0sZ4YyVQ6KE; 1.124 date 2023.10.04.20.40.59; author adam; state Exp; branches; next 1.123; commitid 1w5nWDOTnPN1LlHE; 1.123 date 2023.09.18.05.56.32; author adam; state Exp; branches; next 1.122; commitid 0msx1vGPI6qpndFE; 1.122 date 2023.08.25.11.08.48; author adam; state Exp; branches; next 1.121; commitid nVxroulehfspS9CE; 1.121 date 2023.08.07.05.22.59; author adam; state Exp; branches; next 1.120; commitid X5Li0YGFSCvGxOzE; 1.120 date 2023.08.06.07.17.09; author adam; state Exp; branches; next 1.119; commitid px470hZyh3xPcHzE; 1.119 date 2023.07.29.15.36.28; author adam; state Exp; branches; next 1.118; commitid 2eb4qhTGpwhceIyE; 1.118 date 2023.07.20.07.59.05; author adam; state Exp; branches; next 1.117; commitid w8o8alxqnt71ZvxE; 1.117 date 2023.06.16.08.40.28; author adam; state Exp; branches; next 1.116; commitid hDPDpiG6wQN0j9tE; 1.116 date 2023.05.07.08.35.49; author wiz; state Exp; branches; next 1.115; commitid dH8sdX7771Laz0oE; 1.115 date 2023.04.30.17.14.48; author wiz; state Exp; branches; next 1.114; commitid itMvYVzBfn93F9nE; 1.114 date 2023.04.04.11.24.42; author adam; state Exp; branches; next 1.113; commitid fGbGRhQTy2qNyMjE; 1.113 date 2023.02.08.10.31.14; author adam; state Exp; branches; next 1.112; commitid IMqFqBkhrwp72IcE; 1.112 date 2022.12.18.16.18.53; author adam; state Exp; branches; next 1.111; commitid XocoVEzS3DKWC36E; 1.111 date 2022.11.14.08.33.57; author adam; state Exp; branches; next 1.110; commitid oibAItVEgMAf9E1E; 1.110 date 2022.11.04.18.34.09; author adam; state Exp; branches; next 1.109; commitid A8D90OHfksxfNp0E; 1.109 date 2022.11.03.10.43.03; author adam; state Exp; branches; next 1.108; commitid xY2H1o5BKkMxdf0E; 1.108 date 2022.10.25.09.08.45; author adam; state Exp; branches; next 1.107; commitid 2207IVC72UI0Z4ZD; 1.107 date 2022.09.05.09.10.57; author adam; state Exp; branches; next 1.106; commitid OPV9NhXYYAa0BESD; 1.106 date 2022.07.02.09.10.39; author adam; state Exp; branches; next 1.105; commitid hX71P2HiXwDJGiKD; 1.105 date 2022.01.31.11.43.31; author wiz; state Exp; branches; next 1.104; commitid dAW1kBiBZVTjqMqD; 1.104 date 2021.12.02.11.15.26; author adam; state Exp; branches; next 1.103; commitid ADJ4Znr7WlH4c4jD; 1.103 date 2021.11.25.20.01.56; author adam; state Exp; branches; next 1.102; commitid WnvJnrQNR6bCkdiD; 1.102 date 2021.11.06.08.49.22; author adam; state Exp; branches; next 1.101; commitid 7ISomdUJnF0RdIfD; 1.101 date 2021.10.26.10.18.33; author nia; state Exp; branches; next 1.100; commitid XMBRkrafc79x2jeD; 1.100 date 2021.10.07.13.43.15; author nia; state Exp; branches; next 1.99; commitid TK9Y8OXA04EYMSbD; 1.99 date 2021.09.12.09.53.53; author adam; state Exp; branches; next 1.98; commitid dLgtgck6JMdslE8D; 1.98 date 2021.06.13.18.08.24; author adam; state Exp; branches; next 1.97; commitid hTIZeceNW04u00XC; 1.97 date 2021.05.04.08.10.53; author wiz; state Exp; branches; next 1.96; commitid msl3l2xiuW3xZNRC; 1.96 date 2021.04.20.16.43.04; author wiz; state Exp; branches; next 1.95; commitid ciFvtcnhCflPg3QC; 1.95 date 2021.04.07.06.23.52; author adam; state Exp; branches; next 1.94; commitid 8FPT6pBVwiptgkOC; 1.94 date 2021.03.17.13.13.31; author wiz; state Exp; branches; next 1.93; commitid 8yFfcrdScuWZcFLC; 1.93 date 2021.02.18.10.31.27; author wiz; state Exp; branches; next 1.92; commitid xULveoE15xMdbbIC; 1.92 date 2021.02.04.11.15.16; author wiz; state Exp; branches; next 1.91; commitid Rzn0Gk1jOjB9SnGC; 1.91 date 2021.01.25.10.08.58; author wiz; state Exp; branches; next 1.90; commitid 9psJWz971PwkP5FC; 1.90 date 2021.01.13.11.50.46; author wiz; state Exp; branches; next 1.89; commitid kLnUmhuUmINWLyDC; 1.89 date 2021.01.04.11.55.03; author wiz; state Exp; branches; next 1.88; commitid RQzcfxpij9sp5pCC; 1.88 date 2020.12.09.09.11.58; author adam; state Exp; branches; next 1.87; commitid OpPqRjRTW0kc13zC; 1.87 date 2020.12.06.10.51.44; author wiz; state Exp; branches; next 1.86; commitid 1bKgyhGHNtvEFFyC; 1.86 date 2020.11.29.18.08.38; author wiz; state Exp; branches; next 1.85; commitid Ki6vncUWUjutjOxC; 1.85 date 2020.11.27.16.08.13; author wiz; state Exp; branches; next 1.84; commitid kOyhiYtfDwv9IxxC; 1.84 date 2020.11.09.14.21.43; author wiz; state Exp; branches; next 1.83; commitid yMsCsymTkYMsHdvC; 1.83 date 2020.10.31.19.40.30; author wiz; state Exp; branches; next 1.82; commitid QwhDPmzOTedKK5uC; 1.82 date 2020.10.14.16.28.46; author wiz; state Exp; branches; next 1.81; commitid fsiznMXa1WnTeTrC; 1.81 date 2020.10.06.10.52.29; author wiz; state Exp; branches; next 1.80; commitid 9TA2pvlUOtB9DPqC; 1.80 date 2020.06.20.07.06.42; author adam; state Exp; branches; next 1.79; commitid 2YxH6qhW5rKOQVcC; 1.79 date 2019.12.15.11.28.53; author adam; state Exp; branches; next 1.78; commitid WsZdtQQJ1aBllNOB; 1.78 date 2019.11.13.21.08.30; author adam; state Exp; branches; next 1.77; commitid eAYlAY7T3VbMzJKB; 1.77 date 2019.10.22.13.20.27; author adam; state Exp; branches; next 1.76; commitid c7JUOJBPvjXZGRHB; 1.76 date 2019.08.22.11.05.27; author adam; state Exp; branches; next 1.75; commitid swGdUC4XJQ56U0AB; 1.75 date 2019.06.12.09.51.52; author adam; state Exp; branches; next 1.74; commitid zPRBCdli1Kv4NSqB; 1.74 date 2019.06.02.08.30.18; author adam; state Exp; branches; next 1.73; commitid 6DNJIeKm1KzZEApB; 1.73 date 2019.05.09.11.53.58; author adam; state Exp; branches; next 1.72; commitid WsgePqDSj1KmywmB; 1.72 date 2019.04.16.07.14.00; author adam; state Exp; branches; next 1.71; commitid IIP48hpn1NpqKxjB; 1.71 date 2019.04.02.09.40.30; author adam; state Exp; branches; next 1.70; commitid 1ODz60XR70pA0LhB; 1.70 date 2019.03.13.08.51.48; author adam; state Exp; branches; next 1.69; commitid AzRl7bcDkXQEnbfB; 1.69 date 2019.03.02.14.22.10; author adam; state Exp; branches; next 1.68; commitid kh994Q0Nb1YWyNdB; 1.68 date 2019.02.16.23.36.02; author adam; state Exp; branches; next 1.67; commitid EfT1E0mAn8lI43cB; 1.67 date 2019.02.01.11.50.30; author adam; state Exp; branches; next 1.66; commitid f2sP4dL5qIztE3aB; 1.66 date 2019.01.07.08.31.28; author adam; state Exp; branches; next 1.65; commitid 1eirtDXUAPDmmP6B; 1.65 date 2018.12.13.07.11.49; author adam; state Exp; branches; next 1.64; commitid JdGhzhkpUuVMIB3B; 1.64 date 2018.11.05.08.35.04; author adam; state Exp; branches; next 1.63; commitid 8uLzxG0aOLrdpJYA; 1.63 date 2018.10.29.08.21.57; author adam; state Exp; branches; next 1.62; commitid Fo5OQwBGg4fFyPXA; 1.62 date 2018.10.26.08.05.31; author adam; state Exp; branches; next 1.61; commitid vsFKlxik8XtLyrXA; 1.61 date 2018.10.18.10.07.18; author adam; state Exp; branches; next 1.60; commitid JqKswA3CpGLGuqWA; 1.60 date 2018.10.12.11.49.59; author adam; state Exp; branches; next 1.59; commitid Fmiguzn0YjnHfFVA; 1.59 date 2018.10.03.09.56.52; author adam; state Exp; branches; next 1.58; commitid 2Sk1hDUtjTwRUuUA; 1.58 date 2018.09.19.11.35.36; author adam; state Exp; branches; next 1.57; commitid bCYsnyxbMXHtUHSA; 1.57 date 2018.09.03.07.39.34; author adam; state Exp; branches; next 1.56; commitid gEwVH2Aj5z8r7DQA; 1.56 date 2018.08.27.06.17.33; author adam; state Exp; branches; next 1.55; commitid p7jnBcQwbpzrTIPA; 1.55 date 2018.08.17.07.15.22; author adam; state Exp; branches; next 1.54; commitid ekqRYzYCK3JbxrOA; 1.54 date 2018.07.03.07.47.45; author adam; state Exp; branches; next 1.53; commitid WmCMY0bIJf4O9FIA; 1.53 date 2018.06.16.12.09.13; author adam; state Exp; branches; next 1.52; commitid AbpySRIVpZwi9vGA; 1.52 date 2018.06.06.19.26.09; author adam; state Exp; branches; next 1.51; commitid ZGhJlzXF8o5kTfFA; 1.51 date 2018.05.06.09.06.42; author adam; state Exp; branches; next 1.50; commitid EbrjBNxF2flCsdBA; 1.50 date 2018.04.05.12.43.27; author adam; state Exp; branches; next 1.49; commitid NuBhbtHYQtEQEfxA; 1.49 date 2018.03.23.07.51.09; author adam; state Exp; branches; next 1.48; commitid ON11bg6dDvfosyvA; 1.48 date 2018.03.15.09.08.36; author adam; state Exp; branches; next 1.47; commitid XARE9l74SKwY8xuA; 1.47 date 2018.03.06.08.06.37; author adam; state Exp; branches; next 1.46; commitid 8bfJeVrS5t5N5ntA; 1.46 date 2018.03.05.13.52.38; author adam; state Exp; branches; next 1.45; commitid LjkSGHEX0mua2htA; 1.45 date 2018.03.02.14.49.36; author adam; state Exp; branches; next 1.44; commitid cI2zfMyoXu8XrTsA; 1.44 date 2018.02.26.08.40.42; author adam; state Exp; branches; next 1.43; commitid 7odKWAqKbw6oxlsA; 1.43 date 2018.02.06.08.03.22; author adam; state Exp; branches; next 1.42; commitid mbENfvRgZa0jYLpA; 1.42 date 2018.02.02.08.18.30; author adam; state Exp; branches; next 1.41; commitid MNZQ76cUB6iybgpA; 1.41 date 2018.01.19.08.58.25; author adam; state Exp; branches; next 1.40; commitid yo0BOPCck0JMQsnA; 1.40 date 2018.01.01.21.14.47; author adam; state Exp; branches; next 1.39; commitid JX7buU9r5CmwvdlA; 1.39 date 2017.12.22.05.57.50; author adam; state Exp; branches; next 1.38; commitid iiHeY9VZ7hcYKQjA; 1.38 date 2017.12.13.08.17.10; author adam; state Exp; branches; next 1.37; commitid foOiMQ13YIoLOHiA; 1.37 date 2017.11.16.07.59.55; author adam; state Exp; branches; next 1.36; commitid B5cLzgmvbXpCAefA; 1.36 date 2017.11.09.07.41.44; author adam; state Exp; branches; next 1.35; commitid XI5x9YWSAI3mIkeA; 1.35 date 2017.11.06.10.39.08; author adam; state Exp; branches; next 1.34; commitid M9PCT6dDnQpcNXdA; 1.34 date 2017.11.02.07.16.35; author adam; state Exp; branches; next 1.33; commitid lS2e3lMpJV7JNqdA; 1.33 date 2017.10.16.18.35.19; author adam; state Exp; branches; next 1.32; commitid yDAa3ssD216o6jbA; 1.32 date 2017.10.05.06.48.38; author adam; state Exp; branches; next 1.31; commitid nfOOxhtaXoBYxP9A; 1.31 date 2017.09.30.13.12.04; author adam; state Exp; branches; next 1.30; commitid T1sRMtJvatmlPd9A; 1.30 date 2017.09.13.06.26.55; author adam; state Exp; branches; next 1.29; commitid cXl86TtiYxxk807A; 1.29 date 2017.09.08.11.03.28; author adam; state Exp; branches; next 1.28; commitid gJZNMTCgvYOcPn6A; 1.28 date 2017.09.04.17.28.45; author adam; state Exp; branches; next 1.27; commitid W8y3YL0qBblk5U5A; 1.27 date 2017.08.27.12.16.07; author adam; state Exp; branches; next 1.26; commitid ZmBeIMekWC43CQ4A; 1.26 date 2017.08.19.12.16.20; author adam; state Exp; branches; next 1.25; commitid XbUJsQsnzDfXRO3A; 1.25 date 2017.08.13.09.46.55; author adam; state Exp; branches; next 1.24; commitid lL3l6lTjErNHe23A; 1.24 date 2017.08.07.18.00.41; author adam; state Exp; branches; next 1.23; commitid fBK0crRVOmI2aj2A; 1.23 date 2017.08.04.04.57.52; author adam; state Exp; branches; next 1.22; commitid vAKvQ1xxlqWyVQ1A; 1.22 date 2017.08.03.07.42.09; author adam; state Exp; branches; next 1.21; commitid 0e4QeAwJPteVRJ1A; 1.21 date 2017.07.24.10.23.57; author adam; state Exp; branches; next 1.20; commitid mKFxnWwgymim5t0A; 1.20 date 2017.07.21.08.40.46; author adam; state Exp; branches; next 1.19; commitid 7dBOwix5CYtWB40A; 1.19 date 2017.07.17.07.05.34; author adam; state Exp; branches; next 1.18; commitid ygdKuWbaczFcdyZz; 1.18 date 2017.07.07.15.41.18; author adam; state Exp; branches; next 1.17; commitid pUbhCO5yrzLXnjYz; 1.17 date 2017.06.20.07.26.10; author adam; state Exp; branches; next 1.16; commitid iWQKMJykbiL2c5Wz; 1.16 date 2017.06.19.06.36.29; author adam; state Exp; branches; next 1.15; commitid UTzMVmIZsBK2XWVz; 1.15 date 2017.06.12.10.19.44; author adam; state Exp; branches; next 1.14; commitid 0tn9yrOPXsBBp4Vz; 1.14 date 2017.06.10.19.18.35; author adam; state Exp; branches; next 1.13; commitid MBk1VvD8sLcpsRUz; 1.13 date 2017.05.29.06.52.11; author adam; state Exp; branches; next 1.12; commitid hDTYXivZuMrfIfTz; 1.12 date 2017.05.24.11.28.37; author adam; state Exp; branches; next 1.11; commitid AkQ4enI0YdE3pDSz; 1.11 date 2017.05.23.07.57.50; author adam; state Exp; branches; next 1.10; commitid t8dX4DcR7cfLguSz; 1.10 date 2017.05.20.05.36.31; author adam; state Exp; branches; next 1.9; commitid GUWn6tyloR6cA5Sz; 1.9 date 2017.05.17.13.01.58; author adam; state Exp; branches; next 1.8; commitid QOVfjfs9xGW39KRz; 1.8 date 2017.05.10.03.45.51; author adam; state Exp; branches; next 1.7; commitid eKzyFdLv5O9fiNQz; 1.7 date 2017.04.27.12.55.54; author wiz; state Exp; branches; next 1.6; commitid jGNqzWXqOjFPKaPz; 1.6 date 2017.04.19.17.27.15; author wiz; state Exp; branches; next 1.5; commitid Zx4hzlak6nRUvaOz; 1.5 date 2017.01.01.15.35.12; author wiz; state Exp; branches; next 1.4; commitid BHjcOmf8ErNGmhAz; 1.4 date 2016.11.07.11.10.24; author wiz; state Exp; branches; next 1.3; commitid lzjQeIpGezMtFbtz; 1.3 date 2016.10.19.12.42.56; author wiz; state Exp; branches; next 1.2; commitid dlOjKMHoyXm2NKqz; 1.2 date 2016.08.24.10.20.35; author wiz; state Exp; branches; next 1.1; commitid OINFOSwAalAGNxjz; 1.1 date 2016.04.24.09.44.35; author wiz; state Exp; branches; next ; commitid EFqdtzhTjunEwR3z; desc @@ 1.164 log @py-hypothesis: updated to 6.152.5 6.152.5 - 2026-05-10 This patch improves the Phase.explain phase so that simple cases like assert n1 == n2 no longer get a misleading # or any other generated value comment. Before falling back to random sampling, we now also try borrowing values from each other arg slice with matching shape. 6.152.4 - 2026-04-27 This patch fixes a rare internal error during Phase.explain introduced in version 6.149.0 for certain strategies. 6.152.3 - 2026-04-26 The hypothesis-urandom backend now reads from /dev/urandom with buffering disabled, which improves the control of those hooking /dev/urandom to change or read Hypothesis’s random decisions. @ text @$NetBSD: distinfo,v 1.163 2026/04/15 08:50:52 adam Exp $ BLAKE2s (hypothesis-6.152.5.tar.gz) = fa38d4af3573c92455007b4f448dfcb434b9cf297136ca40302575bc907d1462 SHA512 (hypothesis-6.152.5.tar.gz) = f6f4c173c997404e074d6803a72dc6fffa143e1604b6d3cc849435ebabe15b479d4bccbaa3c67b65cb48dddef2d56a19f2403f82d3649b07f7b8833b263e67a8 Size (hypothesis-6.152.5.tar.gz) = 466966 bytes @ 1.163 log @py-hypothesis: updated to 6.152.1 6.152.1 - 2026-04-14 Improve some internal type hints. 6.152.0 - 2026-04-14 Hypothesis generally recommends that the .hypothesis directory not be checked into version control. As a result, Hypothesis now automatically creates a .gitignore with * in the .hypothesis directory, which excludes it from being tracked by git. If you do want to check .hypothesis into git, you can remove the .gitignore file. Hypothesis will not re-create it unless the entire .hypothesis directory is removed. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.162 2026/03/12 05:45:45 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.152.1.tar.gz) = cfe0a5cd69867032620e169dd8c23b646116b0ea4f60bf814ec08f688d1f7f0c SHA512 (hypothesis-6.152.1.tar.gz) = 91a8efd5aa7015191a474226d877aa554cd937c991784b1eb2ca8a6a779de69deed5390ad162ade1590483437b47248f27cbbb89b427a5f700cb31860b4aaa9b Size (hypothesis-6.152.1.tar.gz) = 465029 bytes @ 1.162 log @py-hypothesis: updated to 6.151.9 6.151.9 Remove some old unused code. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.161 2026/02/16 18:07:47 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.151.9.tar.gz) = 6899efb15e91be32b03aa9d83c187603103df4d27a4d12e7456a2be524aa35ee SHA512 (hypothesis-6.151.9.tar.gz) = c7565644f2a686c98bb05b17f051728ed7f67696b80ec50594cd6b342ff60f101d43dc9498c6a0bd4f05fc38ef232b4f25200175df80becdad2aa6d6fa78da92 Size (hypothesis-6.151.9.tar.gz) = 463534 bytes @ 1.161 log @py-hypothesis: updated to 6.151.8 6.151.8 - 2026-02-16 This patch fixes a crash when sys.modules contains unhashable values, such as SimpleNamespace objects. 6.151.7 - 2026-02-16 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.151.6 - 2026-02-11 This patch fixes several duplicate word typos in comments and documentation. 6.151.5 - 2026-02-03 This patch teaches our pytest plugin to :ref:` find interesting constants ` when pytest is collecting tests, to avoid arbitrarily attributing the latency to whichever test function happened to be executed first. 6.151.4 - 2026-01-29 This patch adjusts how we compute the stopping threshold introduced in version 6.151.3, while still maintaining 99% confidence that <1% of test cases pass. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.160 2026/01/11 08:16:29 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.151.8.tar.gz) = c9a73ce315579342f24fd975ba19b7c27c96be59fe60b4d4a5616c8d2cc3d749 SHA512 (hypothesis-6.151.8.tar.gz) = 2dc1f959562535845b36ec14ad56939676b7b3b07165b159647c592309d4f539d2f4cfa4b5ac3cb263fcc75eea3f01ec149955682be6b955d1b5b195fd702413 Size (hypothesis-6.151.8.tar.gz) = 475954 bytes @ 1.160 log @py-hypothesis: updated to 6.150.0 6.150.0 - 2026-01-06 This release adds a min_leaves argument to recursive(), which ensures that generated recursive structures have at least the specified number of leaf nodes. 6.149.1 - 2026-01-05 Add type hints to an internal class. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.159 2026/01/01 09:25:27 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.150.0.tar.gz) = 398aa350bc9b270259d29d1aeea7f5bfa7d9baa75cfe79e0d82ba5361f66e87d SHA512 (hypothesis-6.150.0.tar.gz) = 95b71bd4fc5ce7a94d5baf78df183281628b61dfe994b94e0f4ea3619a5a9f4d527ae62832b642702e976804bb7f0a04f755b4b123327684f587b94c6ccf862a Size (hypothesis-6.150.0.tar.gz) = 474629 bytes @ 1.159 log @py-hypothesis: updated to 6.148.9 6.148.9 - 2026-01-01 .example() no longer emits NonInteractiveExampleWarning when running a python file directly. This means that e.g. python my_sandbox.py during exploratory work with .example() will no longer raise warnings. 6.148.8 - 2025-12-23 Add __dict__ and __proto__ to the list of constant strings Hypothesis sometimes generates. 6.148.7 - 2025-12-05 When multiple explicit @@example decorators fail with the same error, Hypothesis now shows only the simplest failing example (by shortlex order) with a note about how many other examples also failed. To see all failing examples, use Verbosity.verbose or higher. 6.148.6 - 2025-12-04 Fix a bug where we persisted symbolics from solver-based alternative backends in event(). 6.148.5 - 2025-12-01 This patch improves the error message for FlakyStrategyDefinition when the precondition for a rule is flaky. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.158 2025/11/29 17:49:57 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.148.9.tar.gz) = b35ec1cc4a0b2b1374de2494cb1e040c9cc7f1b72185e76189a976834848793a SHA512 (hypothesis-6.148.9.tar.gz) = 1f46c44583d36424704062971cb14c11a1f5d33efce0d5ef8647aec616d3aa374c75a469ddbb1d62760315a8ff9df0a4ee38161ff1eb51e4b860358348820e4d Size (hypothesis-6.148.9.tar.gz) = 471562 bytes @ 1.158 log @py-hypothesis: updated to 6.148.3 6.148.3 - 2025-11-27 Clean up some internal code. 6.148.2 - 2025-11-18 Document fuzz_one_input(). 6.148.1 - 2025-11-16 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.148.0 - 2025-11-15 Calling register_profile() from within a test decorated with @@settings is now deprecated, to avoid confusion about which settings are used as the baseline for the new profile. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.157 2025/11/11 13:52:19 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.148.3.tar.gz) = eb3ac9be49051bcac96baa99625b5678444ea239ad3df8de3ccc0716c8cdae34 SHA512 (hypothesis-6.148.3.tar.gz) = 5708ac41fb7b88690b17349ecf5861f24aa7382d51006f784c5d05effa93ec55e2913d369fa4bb8d9cc7cd43fdca3cdfd389c379195b9a14d48bbe2df951890f Size (hypothesis-6.148.3.tar.gz) = 469896 bytes @ 1.157 log @py-hypothesis: updated to 6.147.0 6.147.0 This release drops support for nose, which ceased development 9 years ago and does not support Python 3.10 or newer. Hypothesis still supports nose2. While we do not test nose2 in our CI, we will fix any bugs that get reported. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.156 2025/10/23 09:14:29 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.147.0.tar.gz) = 499d83016733f143174301ad3339f76fe50f1bab0f05e2398848c699e901bd9d SHA512 (hypothesis-6.147.0.tar.gz) = 285639feb8059a81c9919361e9a081644cae8c9f20b0efe443eba136a2af3266abebc6939e54791ef38083752fc0a41424859a7575fd21120df22cade852bf02 Size (hypothesis-6.147.0.tar.gz) = 468587 bytes @ 1.156 log @py-hypothesis: updated to 6.142.3 6.142.3 - 2025-10-22 Fix a recursion error when observability is enabled and a test generates an object with a recursive reference, like a = []; a.append(a). 6.142.2 - 2025-10-20 Remove a case where Hypothesis would interact with the global random.Random instance if Hypothesis internals were used directly. 6.142.1 - 2025-10-16 Simplify some internal typing logic after dropping Python 3.9. 6.142.0 - 2025-10-16 This release drops support for Python 3.9, which reached end of life in October 2025. 6.141.1 - 2025-10-15 Fixes an error when using the Ghostwriter with annotations that include typing.ForwardRef on Python 3.14. 6.141.0 - 2025-10-15 The from_field() and from_form() strategies from our Django extra now support FileField. Thanks to Arjoonn Sharma for this fix! 6.140.4 - 2025-10-14 Clean up internal @@overload type annotations. 6.140.3 - 2025-10-04 Fixes our bundled run_conformance_test() not respecting avoid_realization. 6.140.2 - 2025-09-23 The automatic switch to the CI settings profile now works under tox (for tox >= 4.30.0). 6.140.1 - 2025-09-22 This patch re-enables the warning for incompatible shared() strategies that was first enabled in v6.133.0 but disabled in v6.135.15. 6.140.0 - 2025-09-22 characters() now validates that the elements of the exclude_characters and include_characters arguments are single characters, which was always assumed internally. For example, exclude_characters=["a", "b"] is valid while exclude_characters=["ab"] will now raise an error up-front. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.155 2025/08/22 10:03:52 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.142.3.tar.gz) = cce33b666f1faef0c67ff97c9600a243defe2a824f22ab25ac62295374435176 SHA512 (hypothesis-6.142.3.tar.gz) = bd7ff4ce46e9e32f8c6c3890d222e94cdff7e62a8db5d18644dc7b26488bf37bab8152955788dbcce13aa30f7cce365beb5d227429d1ab795873584cd4259f78 Size (hypothesis-6.142.3.tar.gz) = 466042 bytes @ 1.155 log @py-hypothesis: updated to 6.138.2 6.138.2 - 2025-08-16 The type annotations for register_type_strategy() now indicate that it accepts registering types created with typing.TypeAliasType (aka type MyType = int). 6.138.1 - 2025-08-15 Internal refactoring and cleanup. As a result, hypothesis[black] now requires black>=20.8b0 instead of the previous black>=19.10b0. 6.138.0 - 2025-08-13 On Python 3.14, memoryview is newly generic. This release adds the ability for from_type() to resolve generic memoryview types on 3.14, like st.from_type(memoryview[CustomBufferClass]) . CustomBufferClass must implement __buffer__, as expected by memoryview. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.154 2025/08/05 07:18:27 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.138.2.tar.gz) = 70a436df1edfd83f778c70be9cb10ef473861fa0654cda16c730de2e24b824fc SHA512 (hypothesis-6.138.2.tar.gz) = 8000f08356280a6858d79406558c62056b02e9f78868851e637ff99d71efbbced49c637e87bbf5bee77d9851a7670eaba706fb9bf2a5dbd0df90d6e949bbd9b9 Size (hypothesis-6.138.2.tar.gz) = 463153 bytes @ 1.154 log @py-hypothesis: updated to 6.137.1 6.137.1 - 2025-08-05 Fixes a bug with solver-based alternative backends (like crosshair) where symbolic values passed to event() would not be realized to concrete values at the end of the test case. 6.137.0 - 2025-08-05 Add the add_observability_callback, remove_observability_callback, with_observability_callback, and observability_enabled methods to the observability interface. The previous TESTCASE_CALLBACKS is deprecated. This release also adds better threading support to observability callbacks. An observability callback will now only be called for observations generated by the same thread. 6.136.9 - 2025-08-04 Fix a threading race condition in one_of() initialization. 6.136.8 - 2025-08-04 Improve the error messages and documentation for HealthCheck. Among others, the messaging is now more clear that health checks are proactive warnings, not correctness errors. 6.136.7 - 2025-08-01 Improve detection of sys.monitoring to avoid errors on GraalPy. 6.136.6 - 2025-07-28 When a test is executed concurrently from multiple threads, HealthCheck.too_slow is now disabled, since the Python runtime may decide to switch away from a thread for arbitrarily long and Hypothesis cannot track execution time per-thread. 6.136.5 - 2025-07-28 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.136.4 - 2025-07-25 HealthCheck.differing_executors is no longer raised if a test is executed by different executors from different threads. HealthCheck.differing_executors will still be raised if a test is executed by different executors in the same thread. 6.136.3 - 2025-07-23 When a test is executed concurrently from multiple threads, DeadlineExceeded is now disabled, since the Python runtime may decide to switch away from a thread for longer than settings.deadline, and Hypothesis cannot track execution time per-thread. 6.136.2 - 2025-07-21 @@precondition now errors if used without @@rule or @@invariant. Doing so has no effect and is indicative of a user error. 6.136.1 - 2025-07-20 Fix on_observation() being called with observations it wasn’t responsible for generating if the test failed. 6.136.0 - 2025-07-19 When a failure found by an alternative backend does not reproduce under the Hypothesis backend, we now raise FlakyBackendFailure instead of an internal FlakyReplay exception. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.153 2025/06/13 06:49:07 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.137.1.tar.gz) = 24f0109d84a98ea0fc216a3b955b085cbcd5bfcf14def6bcaaf106454821ff89 SHA512 (hypothesis-6.137.1.tar.gz) = ca9daa6392cbbf1ec75fc44262f6bcca0c7026ed720bc8cfa53790027308ce78e4e42d36fe035efa29b1b9c4845c304b147e9938c78d8c18e55729d638ddc6d1 Size (hypothesis-6.137.1.tar.gz) = 460593 bytes @ 1.153 log @py-hypothesis: updated to 6.135.9 6.135.9 - 2025-06-13 Refactor some internal code related to patches to make it easier to test. 6.135.8 - 2025-06-13 Add type hints to internal code for patching. 6.135.7 - 2025-06-12 Fixes a race condition in add_listener() for DirectoryBasedExampleDatabase after version 6.135.1 where the listener might have tried to read a file that doesn’t exist. 6.135.6 - 2025-06-11 This patch corrects the f-string formatting of a few array-related error messages. 6.135.5 - 2025-06-10 Improve the error message when applying @@given to a pytest fixture with pytest 8.4.0. 6.135.4 - 2025-06-09 Further improve the performance of the constants-collection feature introduced in version 6.131.1, by ignoring large files and files with many constants. 6.135.3 - 2025-06-08 This release adds the experimental and unstable OBSERVABILITY_CHOICES option for observability. If set, the choice sequence is included in metadata.choice_nodes, and choice sequence spans are included in metadata.choice_spans. These are relatively low-level implementation detail of Hypothesis, and are exposed in observability for users building tools or research on top of Hypothesis. See PrimitiveProvider for more details about the choice sequence and choice spans. We are actively working towards a better interface for this. Feel free to use OBSERVABILITY_CHOICES to experiment, but don’t rely on it yet! 6.135.2 - 2025-06-08 This patch restores compatibility when using the legacy Python 3.9 LL(1) parser yet again, because the fix in version 6.131.33 was too brittle. Thanks to Marco Ricci for this fix! 6.135.1 - 2025-06-05 DirectoryBasedExampleDatabase now removes empty directories after delete() is called. 6.135.0 - 2025-06-03 This release adds run_conformance_test(), for use in testing implementations of alternative backends. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.152 2025/05/27 19:02:16 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.135.9.tar.gz) = 596061846401bf69550f31ae7a7da8dc5b9b6a11becc6405192b794c522bad44 SHA512 (hypothesis-6.135.9.tar.gz) = ff7a8fac58dffba0702277c904bd8646c4d26e61e9d38ff1004e0adf34b3fdc251416827a2a5a67ccaf2cb3a7f660b80fff6ff57142ac173d18b97dec1a72347 Size (hypothesis-6.135.9.tar.gz) = 452490 bytes @ 1.152 log @py-hypothesis: updated to 6.131.30 6.131.30 - 2025-05-27 This patch resolves a Pandas FutureWarning caused by indexing with an integer key. 6.131.29 - 2025-05-27 The observations passed to TESTCASE_CALLBACKS are now dataclasses, rather than dictionaries. The content written to .hypothesis/observed under HYPOTHESIS_EXPERIMENTAL_OBSERVABILITY remains the same. 6.131.28 - 2025-05-25 Add documentation to some internal APIs. 6.131.27 - 2025-05-24 Add PrimitiveProvider.replay_choices to the alternative backends interface, to support warm-starting e.g. hypothesis-crosshair from hypofuzz. 6.131.26 - 2025-05-24 Improve ExampleDatabase documentation. 6.131.25 - 2025-05-23 Add some internal type hints. 6.131.24 - 2025-05-23 Improve @@settings documentation. 6.131.23 - 2025-05-23 This patch adds GITLAB_CI to the environment variables checked when enabling the default CI settings profile. Thanks to Genevieve Mendoza for this contribution! 6.131.22 - 2025-05-22 Include note() and Phase.explain output in the “representation” field of observability reports for failing examples, to more closely match the output produced by Hypothesis. 6.131.21 - 2025-05-21 BackgroundWriteDatabase instances now defer creating and starting a thread until first use. 6.131.20 - 2025-05-20 Improve the string representation of characters() in some cases. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.151 2025/05/06 07:21:47 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.131.30.tar.gz) = f3c87640ff172ca3472a5288162973120c2c65f46e2f4bc184366bd8c181bc95 SHA512 (hypothesis-6.131.30.tar.gz) = 7d85259140dff6ab77724ff0c0b5a6e0c02b2080ea38aaa9ee7322f5d038a3ed0d01663d0f3ab05265b36f756ab65cd3867cc171f39a5e727d6c4c059fa0486f Size (hypothesis-6.131.30.tar.gz) = 442221 bytes @ 1.151 log @py-hypothesis: updated to 6.131.10 6.131.10 - 2025-05-06 Remove more false-positive locations from Phase.explain output, and add a new metadata.reproduction_decorator field in observability reports for failing examples. 6.131.9 - 2025-04-25 Fix a BytesWarning after version 6.131.1 if the source code used the same value in both a normal and binary string. 6.131.8 - 2025-04-23 DirectoryBasedExampleDatabase will now fall back to (potentially non-atomic) copies rather than renames, if the temporary directory used for atomic write-and-rename is on a different filesystem to the configured database location. 6.131.7 - 2025-04-22 Further improve the performance of the new features introduced in version 6.131.1. 6.131.6 - 2025-04-19 This patch makes the new features introduced in version 6.131.1 much faster, and fixes an internal RecursionError when working with deeply-nested code. 6.131.5 - 2025-04-18 Fix a rare case where database entries were kept after they were no longer needed when using Phase.target. 6.131.4 - 2025-04-18 Internal refactoring of the @@settings object, with no user-visible change. 6.131.3 - 2025-04-18 Fixes a rare internal error where new code from version 6.131.1 could fail if sys.modules is simultaneously modified, e.g. as a side effect of imports executed from another thread. Our Thread-Safety Policy does not promise that this is supported, but we’re happy to take reasonable fixes. Thanks to Tony Li for reporting and fixing this issue. 6.131.2 - 2025-04-17 The pub-sub change listening interface of the Hypothesis database now correctly fires events for DirectoryBasedExampleDatabase if the directory was created after the listener was added. Also disables on emscripten the constants-extraction feature introduced in 6.131.1 - 2025-04-17, where it caused substantial slowdown. 6.131.1 - 2025-04-17 Hypothesis now looks for constant values in the source code of your program, and sometimes uses them while generating examples. This lets Hypothesis generate interesting inputs that are specific to your program. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.150 2025/04/12 09:57:42 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.131.10.tar.gz) = b8347e0833dffead4e3ceea9809f1b4a1536713bd0db18be9a14ec2f1b9a2154 SHA512 (hypothesis-6.131.10.tar.gz) = 62d6e5bb72328f8825dbde76b1e930dcddffd374414eb0db125bb5b13234d4aca3f39a19f8c8bf10227ff51bcab3484ed7d0f1554aa7b1b9ffbd8b3dedaf69c2 Size (hypothesis-6.131.10.tar.gz) = 435466 bytes @ 1.150 log @py-hypothesis: updated to 6.131.0 6.131.0 - 2025-04-10 Add is_hypothesis_test(), for third-party libraries which want to determine whether a test has been defined with Hypothesis. 6.130.13 - 2025-04-09 Refactor some internals. 6.130.12 - 2025-04-09 Lays some groundwork for future work on collecting interesting literals from the code being tested, for increased bug-finding power (issue 3127). There is no user-visible change (yet!) 6.130.11 - 2025-04-08 Fix the caching behavior of sampled_from(), which in rare cases led to failing an internal assertion (issue 4339). 6.130.10 - 2025-04-07 This patch deprecates creating a database using the abstract ExampleDatabase() class. Use one of the following instead: Replace ExampleDatabase(":memory:") with InMemoryExampleDatabase. Replace ExampleDatabase("/path/to/dir") with DirectoryBasedExampleDatabase. Replace ExampleDatabase() with either InMemoryExampleDatabase or DirectoryBasedExampleDatabase, depending on your needs. Previously, Hypothesis interpreted ExampleDatabase() as a DirectoryBasedExampleDatabase in the default .hypothesis directory, with a fallback to InMemoryExampleDatabase if that location was not available. 6.130.9 - 2025-04-06 When reporting the always-failing, never-passing lines from the Phase.explain phase, we now sort the reported lines so that local code shows up first, then third-party library code, then standard library code. 6.130.8 - 2025-04-02 Improves the documentation of verbosity objects. 6.130.7 - 2025-04-02 Rename internal variables for clarity. 6.130.6 - 2025-03-31 Update the documentation link in HealthCheck error messages to their new location in the documentation. 6.130.5 - 2025-03-28 Improve our internal type hints. 6.130.4 - 2025-03-25 Improve an additional interaction between the hypothesis-crosshair backend and our observability tools. 6.130.3 - 2025-03-24 This patch improves the interaction between the hypothesis-crosshair backend and our observability tools. 6.130.2 - 2025-03-22 Fix an issue with realizing symbolic values provided by alternative backends when Hypothesis encounters an internal error in its engine. 6.130.1 - 2025-03-22 Improve the documentation for some strategies, including @@composite and data(). 6.130.0 - 2025-03-21 Nesting @@given inside of @@given is now a health check failure. Nesting @@given results in quadratic generation and shrinking behavior, and can usually be more cleanly expressed by replacing the inner function with a data() parameter on the outer given. For more details, see nested_given. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.149 2025/03/13 09:03:45 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.131.0.tar.gz) = 3e5617a91a1c02c555e4cba3e37ae3670bb185086024b31a434f736b58d59b9f SHA512 (hypothesis-6.131.0.tar.gz) = 1d67345c31542fb7f74b44192bdaac54b52f90465328d94925e3bbc40bd3ac80504131a43e07b8ad284abcf32cdb1a98c59cb9f9a3b065e3a15f0e517db9592c Size (hypothesis-6.131.0.tar.gz) = 430541 bytes @ 1.149 log @py-hypothesis: updated to 6.129.0 6.129.0 This release adds a "hypothesis-urandom" backend, which draws randomness from /dev/urandom instead of Python’s PRNG. This is useful for users of Antithesis who also have Hypothesis tests, allowing Antithesis mutation of /dev/urandom to drive Hypothesis generation. We expect it to be strictly slower than the default backend for everyone else. It can be enabled with @@settings(backend="hypothesis-urandom"). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.148 2025/03/04 05:16:14 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.129.0.tar.gz) = c10c22b52d09537678d9e7e91f8531569a5e14c78017e7a4f6fc5cda896d209d SHA512 (hypothesis-6.129.0.tar.gz) = ca6e124fb2f8f97ac7a0c53894fe23efc0bd73e0f7db02371419ed002347b5823b48dd8633d6c8d5773698fe28c9adb292f4c41e91c8de6c2ef6aeafa3881d93 Size (hypothesis-6.129.0.tar.gz) = 423888 bytes @ 1.148 log @py-hypothesis: updated to 6.127.6 6.127.6 This patch tweaks the performance of the target phase, avoiding aborting some test cases when it would be better to finish generating them. 6.127.5 This patch fixes a bug where from_type() would error on certain types involving Protocol. 6.127.4 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.127.3 Improve shrinking of non-standard NaN float values. 6.127.2 Adjust type hints for the pub-sub database implementation in version 6.126.0, and remove a remnant debug print in its implementation. 6.127.1 Improve the clarity of printing counterexamples in stateful testing, by avoiding confusing Bundle references with equivalent values drawn from a regular strategy. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.147 2025/02/19 09:24:20 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.127.6.tar.gz) = b5ecbea68bf05ff43a3121ed015a275fe881f289bcebde35f67bffcad2e97a5b SHA512 (hypothesis-6.127.6.tar.gz) = 2b15d65652ea1c858bca14163f34e0a85601389241c5a979281655872e67dcf2686ce86b4c9ba6584d727882623f57f5565f06e9c6156ece72b82f0711a36a87 Size (hypothesis-6.127.6.tar.gz) = 419736 bytes @ 1.147 log @py-hypothesis: updated to 6.126.0 6.126.0 - 2025-02-18 The Hypothesis database now supports a pub-sub interface to efficiently listen for changes in the database, via .add_listener and .remove_listener. While all databases that ship with Hypothesis support this interface, implementing it is not required for custom database subclasses. Hypothesis will warn when trying to listen on a database without support. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.146 2025/02/07 07:51:56 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.126.0.tar.gz) = 383441a3b9839feaea06a4a1d08a8a7ef235ca62d700af8110e171da5a92052d SHA512 (hypothesis-6.126.0.tar.gz) = ce5be9bbb2a74ff610847956f1ae883134bd9919e5fb3a97e70fe80991d667bb23db5bbea311c09fe6a0443ff0a58bd8e2b4f8cbe945f324baf8de4665be66e1 Size (hypothesis-6.126.0.tar.gz) = 420895 bytes @ 1.146 log @py-hypothesis: updated to 6.125.2 6.125.2 Optimize performance (improves speed by ~5%) and clarify the wording in an error message. 6.125.1 Fixes a bug since around version 6.124.4 where we might have generated -0.0 for st.floats(min_value=0.0), which is unsound. 6.125.0 Add 2024.12 to the list of recognized Array API versions in hypothesis.extra.array_api. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.145 2025/01/26 11:42:19 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.125.2.tar.gz) = f485f77e61f07b1dea7501bac23f8273cb1da9f05c28ee4e35cd56611352649e SHA512 (hypothesis-6.125.2.tar.gz) = be9ec10a3135709a775644ab9a06b59c32519d598ef627c4eea07a935c8b34028045713aec851cf1dc3747a210de097241ceed33973c23358964ad1d420dc47b Size (hypothesis-6.125.2.tar.gz) = 417961 bytes @ 1.145 log @py-hypothesis: updated to 6.124.7 6.124.7 Internal renamings. 6.124.6 More work on internal type hints. 6.124.5 Internal refactoring to make some stateful internals easier to access. 6.124.4 Refactoring of our internal input generation. This shouldn’t lead to any changes in the distribution of test inputs. If you notice any, please open an issue! 6.124.3 Some Hypothesis internals now use the number of choices as a yardstick of input size, rather than the entropy consumed by those choices. We don’t expect this to cause significant behavioral changes. 6.124.2 Improves our internal caching logic for test cases. 6.124.1 fuzz_one_input is now implemented using an alternative backend. This brings the interpretation of the fuzzer-provided bytestring closer to the fuzzer mutations, allowing the mutations to work more reliably. We hope to use this backend functionality to improve fuzzing integration (see e.g. https://github.com/google/atheris/issues/20) in the future! 6.124.0 The Hypothesis example database now uses a new internal format to store examples. This new format is not compatible with the previous format, so stored entries will not carry over. The database is best thought of as a cache that may be invalidated at times. Instead of relying on it for correctness, we recommend using @@example to specify explicit examples. When using databases across environments (such as connecting a GitHubArtifactDatabase database in CI to your local environment), we recommend using the same version of Hypothesis for each where possible, for maximum reproducibility. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.144 2025/01/14 06:45:25 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.124.7.tar.gz) = 29d1bbf17f79f425d9c692fa563b1f27c2044c82a3c2a270837d4a3feb6e01d6 SHA512 (hypothesis-6.124.7.tar.gz) = c8659e548acac2345d16d23488b47736667ad3abc4aa2f0e0fc9a0f622f71bb564528c2c02a368291a681ee8a1bf50d89e62b95a9c6e49141a838b1cc77aa475 Size (hypothesis-6.124.7.tar.gz) = 416938 bytes @ 1.144 log @py-hypothesis: updated to 6.123.17 6.123.16 Improves an edge case in one of our integer and float shrinking passes. 6.123.15 Improves one of our shrinking passes for integers which require a constant relative difference to trigger the bug. 6.123.14 Avoid realizing symbolic values from Alternative backends for Hypothesis when verbosity is verbose or higher. 6.123.13 More internal code refactoring. 6.123.12 DirectoryBasedExampleDatabase now creates files representing database entries atomically, avoiding a very brief intermediary state where a file could be created but not yet written to. 6.123.11 Internal code refactoring. 6.123.10 Fixes a bug caused by alternative backends raising hypothesis.errors.BackendCannotProceed in certain cases. 6.123.9 Add internal type hints to our pretty printer. 6.123.8 The shrinker contains a pass aimed at integers which are required to sum to a value. This patch extends that pass to floats as well. 6.123.7 Internal type hint additions and refactorings. 6.123.6 @@reproduce_failure() now uses a newer internal interface to represent failures. As a reminder, this representation is not intended to be stable across versions or with respect to changes in the test. 6.123.5 Internal code refactoring for the typed choice sequence. May have some neutral effect on shrinking. 6.123.4 This patch improves shrinking involving long strings or byte sequences whose value is not relevant to the failure. 6.123.3 This release further improves shrinking of strategies using one_of(), allowing the shrinker to more reliably move between branches of the strategy. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.143 2024/12/29 09:12:05 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.123.17.tar.gz) = cfcdf633f042c25bcff3e80e9470cb145919d71aaafc7c4cc1f4be979f14f2dd SHA512 (hypothesis-6.123.17.tar.gz) = e6464d8a881134c8d94dd076ac29082426a5f7280ceb620c364ab19c98cfcdf0c62586b4f0abb92659733063ccf12dd9261c159935e7853288ff143d8e04ae0d Size (hypothesis-6.123.17.tar.gz) = 418572 bytes @ 1.143 log @py-hypothesis: updated to 6.123.2 6.123.2 - 2024-12-27 The shrinker now uses the typed choice sequence when ordering failing examples. As a result, Hypothesis may now report a different minimal failing example for some tests. We expect most cases to remain unchanged. 6.123.1 - 2024-12-24 Our pytest plugin now emits a warning if you set Pytest’s norecursedirs config option in such a way that the .hypothesis directory would be searched for tests. This reliably indicates that you’ve made a mistake which slows down test collection, usually assuming that your configuration extends the set of ignored patterns when it actually replaces them. 6.123.0 - 2024-12-23 from_type() can now handle constructors with required positional-only arguments if they have type annotations. Previously, we only passed arguments by keyword. 6.122.7 - 2024-12-23 This patch lays some groundwork for migrating our internal representation to the typed choice sequence 6.122.6 - 2024-12-21 This patch cleans up some internal code around clamping floats. 6.122.5 - 2024-12-20 This release improves shrinking in some cases, especially for strategies using one_of(). This will typically improve shrinking speed and may in some cases improve the end result. 6.122.4 - 2024-12-19 This patch improves generation performance for the provisional domains() strategy, including its derivative strategies urls() and emails(). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.142 2024/12/16 05:53:02 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.123.2.tar.gz) = a972c7f16ce352671ca1b5b3cad60d543aa9784b97e12109f10ce4bacdd16523 SHA512 (hypothesis-6.123.2.tar.gz) = 3a37ce2d99a0da4525ab7cf0bea46be6037c571e9d68f15a5414c91dc587404502ba424bfde3d8f8f841a0df855a694b32d4858f0da5502091ad8e23194cb4f5 Size (hypothesis-6.123.2.tar.gz) = 417823 bytes @ 1.142 log @py-hypothesis: updated to 6.122.3 6.122.3 This patch improves our error and warning messages. Add a warning for st.text("ascii") - you probably meant st.text(st.characters(codec="ascii")). Similarly for "utf-8". Recommend remedies in the error message of Unsatisfiable. When @@given errors because it was given an extra keyword argument, and the keyword matches a setting name like max_examples, recommend @@settings(max_examples=...) instead. 6.122.2 This patch updates some outdated external links in our documentation. 6.122.1 Fix from_type() on collections.abc.Callable returning None. 6.122.0 This release adds .span_start() and .span_end() methods to our internal PrimitiveProvider interface, for use by Alternative backends for Hypothesis. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.141 2024/11/27 14:50:08 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.122.3.tar.gz) = 83156d1ff94e57f614beecaf21e6994223f98a612704a31b5adc3d9b68352d7e SHA512 (hypothesis-6.122.3.tar.gz) = b455ddbdc26ffd88154b44fe7de683afdee94afc158460cba3325e0c6b2916eaf06127e429293a2bcd9d9e5e242599f20633735c5b1d2da00dd3e9c9f95eb0bc Size (hypothesis-6.122.3.tar.gz) = 414395 bytes @ 1.141 log @py-hypothesis: updated to 6.119.4 6.119.4 This patch fixes a bug since 6.99.13 6.119.3 Hypothesis collects coverage information during the shrink and explain phases in order to show a more informative error message. On 3.12+, this uses sys.monitoring. This patch improves the performance of coverage collection on 3.12+ by disabling events we don’t need. 6.119.2 This patch refactors some internals to prepare for future work using our IR 6.119.1 This patch migrates some more internals (around generating novel inputs) to the IR layer 6.119.0 This release improves Hypothesis’ handling of ExceptionGroup - it’s now able to detect marker detections if they’re inside a group and attempts to resolve them. Note that this handling is still a work in progress and might not handle edge cases optimally. Please open issues if you encounter any problems or unexpected behavior with it. 6.118.9 Internal refactorings in preparation for upcoming changes. 6.118.8 Internal renamings. 6.118.7 This patch removes some # type: ignore comments following a mypy update. 6.118.6 When Hypothesis replays examples from its test database that it knows were previously fully shrunk it will no longer try to shrink them again. This should significantly speed up development workflows for slow tests, as the shrinking could contribute a significant delay when rerunning the tests. In some rare cases this may cause minor reductions in example quality. This was considered an acceptable tradeoff for the improved test runtime. 6.118.5 This patch avoids computing some string representations we won’t need, giving a small speedup. 6.118.4 This patch migrates the optimisation algorithm for targeted property-based testing to our IR layer 6.118.3 This patch adds more type hints to internal Hypothesis code. 6.118.2 This patch migrates the explain phase to our IR layer 6.118.1 This patch updates some internals around how we determine an input is too large to finish generating. 6.118.0 The urls() strategy no longer generates URLs where the port number is 0. This change is motivated by the idea that the generated URLs should, at least in theory, be possible to fetch. The port number 0 is special; if a server binds to port 0, the kernel will allocate an unused, and non-zero, port instead. That means that it’s not possible for a server to actually be listening on port 0. This motivation is briefly described in the documentation for urls(). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.140 2024/10/24 05:18:41 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.119.4.tar.gz) = 9dcc6737d26c73f497f823cc2f4dc17a20ff50438e6b621e1a264aa22c4d44db SHA512 (hypothesis-6.119.4.tar.gz) = 44651eeff693efee84b9b9160b3ad29b12500a67d222a413b3bf6efd138d6fb20c424566915424fe344679d67a632f7570467900ad00142abf61df1221e7c467 Size (hypothesis-6.119.4.tar.gz) = 412508 bytes @ 1.140 log @py-hypothesis: updated to 6.115.5 6.115.5 This patch restores diversity to the outputs of from_type(type). 6.115.4 This release improves pretty printing of nested classes to include the outer class name in their printed representation. 6.115.3 This patch fixes a regression from version 6.115.2 where generating values from integers() with certain values for min_value and max_value would error. 6.115.2 This release improves integer shrinking by folding the endpoint upweighting for integers() into the weights parameter of our IR. If you maintain an alternative backend as part of our (for now explicitly unstable) Alternative backends for Hypothesis, this release changes the type of the weights parameter to draw_integer and may be a breaking change for you. 6.115.1 This patch improves the performance of from_type() with pydantic.types.condate. 6.115.0 This improves the formatting of dataclasses and attrs classes when printing falsifying examples. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.139 2024/09/16 11:11:26 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.115.5.tar.gz) = c1850d3845b7c7dbdf04f216509ea4ad92fa2ac07ce9dcee9a85d65d211e57a4 SHA512 (hypothesis-6.115.5.tar.gz) = 4d6bc74d6ed30d786048d4aad745838ba243091bf942aca7788e83c1157cc1b4087664e82f98e6dad86c35ac4581d29ddff3c6268bdcbf269782ed05df9dd35e Size (hypothesis-6.115.5.tar.gz) = 407845 bytes @ 1.139 log @py-hypothesis: updated to 6.112.1 6.112.1 - 2024-09-13 This patch removes a now-incorrect internal assertion about numpy’s typing after recent numpy changes (currently only in numpy’s nightly release). 6.112.0 - 2024-09-05 This release adds support for variable-width bytes in our IR layer, which should mean improved performance anywhere you use binary(). If you maintain an alternative backend as part of our (for now explicitly unstable) Alternative backends for Hypothesis, this release changes the draw_* interface and may be a breaking change for you. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.138 2024/08/27 10:26:19 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.112.1.tar.gz) = b4e48f24106cfced4c537b7ed0836ada6fe0158c7f162beaa316b6e592d1e7a9 SHA512 (hypothesis-6.112.1.tar.gz) = 4ca41a002b0e11b327df5d9c9778f28f2655db1e5bf2369541650489ad1f96010d3c83cbd21a439f3a9e1bf1fd1427b30b02df7c8c7db74d3cb8e79d8f5d7c7d Size (hypothesis-6.112.1.tar.gz) = 406705 bytes @ 1.138 log @py-hypothesis: updated to 6.111.2 6.111.2 This patch contains some internal code cleanup. There is no user-visible change. 6.111.1 This patch improves shrinking in cases involving ‘slips’ from one strategy to another. Highly composite strategies are the most likely to benefit from this change. This patch also reduces the range of datetime.datetime generated by from_model() in order to avoid https://code.djangoproject.com/ticket/35683. 6.111.0 Alternative backends for Hypothesis can now implement .observe_test_case() and observe_information_message() methods, to record backend-specific metadata and messages in our observability output. 6.110.2 Support __default__ field of TypeVar and support the same from typing_extensions in from_type(). 6.110.1 Add better error message for ~python:typing.TypeIs types in from_type(). 6.110.0 Support LiteralString in from_type(). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.137 2024/08/04 06:39:33 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.111.2.tar.gz) = 199d2fbb501f29ecfad0f43290317877d4244173f77afa693515ddbc50d8bfa2 SHA512 (hypothesis-6.111.2.tar.gz) = 86d3084ab93a4c1169f9020af35de244ee0b8a518b0ca79f0bef94e0368a0913ef0dbec1eeb08f309e699351b33c17551de563fa625926d9aef95ed47839e7fa Size (hypothesis-6.111.2.tar.gz) = 406687 bytes @ 1.137 log @py-hypothesis: updated to 6.108.6 6.108.6 - 2024-08-04 This patch improves generation speed in some cases by avoiding pretty-printing overhead for non-failing examples. 6.108.5 - 2024-07-28 This patch fixes a rare internal error when using integers() with a high number of examples and certain {min, max}_value parameters. 6.108.4 - 2024-07-22 This patch addresses the issue of hypothesis potentially accessing mocked time.perf_counter during test execution. 6.108.3 - 2024-07-22 Minor internal-only cleanups to some error-handling and reporting code. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.136 2024/07/19 07:07:58 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.108.6.tar.gz) = 79504b00ce220a10c227f775a88a25a892117b9609544327ea8ed5cf78c5c62e SHA512 (hypothesis-6.108.6.tar.gz) = 2a7a92d6e7282e7ef01845dc5917c0d45f0c646c7a0d8415662e99e2303e565a1e433349004b17970ee1fdc1bb003b496d71979a18de839166cc3ea8c4ca9d91 Size (hypothesis-6.108.6.tar.gz) = 404565 bytes @ 1.136 log @py-hypothesis: updated to 6.108.2 6.108.2 This patch disables hypothesis.target() on alternative backends where it would not work. 6.108.1 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.108.0 This patch changes most Flaky errors to use an ExceptionGroup, which makes the representation of these errors easier to understand. 6.107.0 The alphabet= argument to from_regex() now accepts unions of characters() and sampled_from() strategies, in addition to accepting each individually. This patch also fixes a bug where text(...).filter(re.compile(...).match) could generate non-matching instances if the regex pattern contained | @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.135 2024/07/04 11:11:16 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.108.2.tar.gz) = 42a42390579f1625d6df713da5f660e5fb7d404d7bf35fc9186623ca6d77760a SHA512 (hypothesis-6.108.2.tar.gz) = d2945708794b0fa981663def64af2d02c41e66420f21bd438f6672d1759afb271af291e75a2ce2401715c0bea90d9a4e8fd1643d3fe8091ab242087741ae859c Size (hypothesis-6.108.2.tar.gz) = 404442 bytes @ 1.135 log @py-hypothesis: updated to 6.104.2 6.104.2 This patch fixes an issue when realizing symbolics with our experimental backend setting. 6.104.1 Improves internal test coverage. 6.104.0 This release adds strategies for Django’s ModelChoiceField and ModelMultipleChoiceField. Thanks to Joshua Munn for this contribution. 6.103.5 Fixes and reinstates full coverage of internal tests, which was accidentally disabled. 6.103.4 This release prevents a race condition inside internal cache implementation. 6.103.3 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.103.2 This patch improves our deduplication tracking across all strategies. Hypothesis is now less likely to generate the same input twice. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.134 2024/06/12 09:00:05 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.104.2.tar.gz) = 868e8a8fe04f7b76a7c10c1979106cbd2d0b6b0ddc60f7d292ef07fae2f6d7c2 SHA512 (hypothesis-6.104.2.tar.gz) = acfd51ceb0ea3431c1ac06f29642aa55192adc469973b3a14950ab141e435f01145877f14651b3758eed7255414489a008a1362c2dab52c51e828bdce06b6877 Size (hypothesis-6.104.2.tar.gz) = 401528 bytes @ 1.134 log @py-hypothesis: updated to 6.103.1 6.103.1 Account for time spent in garbage collection during tests, to avoid flaky DeadlineExceeded errors. Also fixes overcounting of stateful run times, a minor observability bug dating to version 6.98.9. 6.103.0 This release migrates the shrinker to our new internal representation, called the IR layer. This improves the shrinker’s performance in the majority of cases. For example, on the Hypothesis test suite, shrinking is a median of 1.38x faster. It is possible this release regresses performance while shrinking certain strategies. If you encounter strategies which reliably shrink more slowly than they used to (or shrink slowly at all), please open an issue! 6.102.6 This patch fixes one of our shrinking passes getting into a rare O(n) case instead of O(log(n)). 6.102.5 This patch fixes some introspection errors new in Python 3.11.9 and 3.13.0b1, for the Ghostwriter and from_type(). 6.102.4 Internal developer documentation, no user-visible changes. 6.102.3 This patch improves our shrinking of unique collections, such as dictionaries(), sets(), and lists() with unique=True. 6.102.2 This patch fixes a rare internal error when generating very large elements from strategies. 6.102.1 This patch fixes an overly strict internal type assertion. 6.102.0 This release improves our support for the annotated-types iterable GroupedMetadata protocol. In order to treat the elements “as if they had been unpacked”, if one such element is a SearchStrategy we now resolve to that strategy. Previously, we treated this as an unknown filter predicate. We expect this to be useful for libraries implementing custom metadata - instead of requiring downstream integration, they can implement the protocol and yield a lazily-created strategy. Doing so only if Hypothesis is in sys.modules gives powerful integration with no runtime overhead or extra dependencies. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.133 2024/04/19 13:10:08 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.103.1.tar.gz) = c6f056dda0f0d8d1ba323132922ffb9c29068a905df10c6a509cd6f3e3775347 SHA512 (hypothesis-6.103.1.tar.gz) = 732a422ba0b12d751a720cabe7b3c93433b3cfca5a79eb991e1cd415d94af6d4b92e1beb79329245dcf8f1f846058c1a8e752646f9d6311b199bfaf5effb2dcd Size (hypothesis-6.103.1.tar.gz) = 400500 bytes @ 1.133 log @py-hypothesis: updated to 6.100.1 6.100.1 This patch improve a rare error message for flaky tests. 6.100.0 The from_dtype() function no longer generates NaT (“not-a-time”) values for the datetime64 or timedelta64 dtypes if passed allow_nan=False. 6.99.13 This patch includes the backend setting in the how_generated field of our observability output. 6.99.12 If you were running Python 3.13 (currently in alpha) with pytest-xdist and then attempted to pretty-print a lambda functions which was created using the eval() builtin, it would have raised an AssertionError. Now you’ll get "lambda ...: ", as expected. 6.99.11 This release improves an internal invariant. 6.99.10 This patch fixes Hypothesis sometimes raising a Flaky error when generating collections of unique floats containing nan. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.132 2024/02/17 18:51:47 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.100.1.tar.gz) = 304d2cd71f5cb929a62bad659265d26a5ca9026f825da5c3e8a6f3229505e239 SHA512 (hypothesis-6.100.1.tar.gz) = 094d4713079033787582712b9e26b6a49edd8fbcd360f13a347240b7dd36cd641e85afe8bc5c232163efc5ae634f31ff8af7d9510195a38d4b2e29497be915e7 Size (hypothesis-6.100.1.tar.gz) = 397081 bytes @ 1.132 log @py-hypothesis: updated to 6.98.6 6.98.6 This patch clarifies the documentation on stateful testing. 6.98.5 This patch improves argument-to-json conversion for observability output. Checking for a .to_json() method on the object before a few other options like dataclass support allows better user control of the process. 6.98.4 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.131 2024/02/09 12:50:10 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.98.6.tar.gz) = 535ae52e4f5c9f46291daf61087420ef1bd1664879c9d2cd36c7bf5aebbfed27 SHA512 (hypothesis-6.98.6.tar.gz) = e7c1bf91361355c46131e52d27e34ea4b2355ca39cf47777b3db81bb9e021510ab6d08b0cffff00fdd3cc0f35019e8978f452eb9cc32b8d72cd5cfd4ca4aa21d Size (hypothesis-6.98.6.tar.gz) = 385385 bytes @ 1.131 log @py-hypothesis: updated to 6.98.3 6.98.3 This patch fixes an error when generating observability reports involving large (n > 1e308) integers. 6.98.2 This patch refactors some internals. There is no user-visible change. 6.98.1 This release improves our distribution of generated values for all strategies, by doing a better job of tracking which values we have generated before and avoiding generating them again. For example, st.lists(st.integers()) previously generated ~5 each of [] [0] in 100 examples. In this release, each of [] and [0] are generated ~1-2 times each. 6.98.0 This release deprecates use of the global random number generator while drawing from a strategy, because this makes test cases less diverse and prevents us from reporting minimal counterexamples. If you see this new warning, you can get a quick fix by using randoms(); or use more idiomatic strategies sampled_from(), floats(), integers(), and so on. Note that the same problem applies to e.g. numpy.random, but for performance reasons we only check the stdlib random module - ignoring even other sources passed to register_random(). 6.97.6 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.97.5 This patch adds some observability information about how many times predicates in assume() or precondition() were satisfied, so that downstream tools can warn you if some were never satisfied by any test case. 6.97.4 This patch improves formatting and adds some cross-references to our docs. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.130 2024/01/30 20:45:45 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.98.3.tar.gz) = cbe36efffd745107f5dd9c38cf3128fd1ee0e98960f3441b00109fadd5f5c8de SHA512 (hypothesis-6.98.3.tar.gz) = 5381fcdaeb09bee093605fa35bcf21679ec03a612c4696b8501cc8a14c419aa08a1fb8a239cc8b0cc817bcd08331643965d69fd4c069f7ded2634799daaef172 Size (hypothesis-6.98.3.tar.gz) = 384890 bytes @ 1.130 log @py-hypothesis: updated to 6.97.3 6.97.3 Internal test refactoring. 6.97.2 This patch slightly changes how we replay examples from the database: if the behavior of the saved example has changed, we now keep running the test case instead of aborting at the size of the saved example. While we know it’s not the same example, we might as well continue running the test! Because we now finish running a few more examples for affected tests, this might be a slight slowdown - but correspondingly more likely to find a bug. We’ve also applied similar tricks to the target phase, where they are a pure performance improvement for affected tests. 6.97.1 Improves the performance of the arrays() strategy when generating unique values. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.129 2024/01/25 10:58:23 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.97.3.tar.gz) = b9d3e4484c31ac8654bdd0b81aad1cbc838b01545d8a7f07e24a11181b3417fd SHA512 (hypothesis-6.97.3.tar.gz) = ac424767db5f4dc9e137b7000bb3d979a97c6e6adaddf14b1472aa987b044bd00659ab85ab05fa61bb670b3725d9dfd73a802ce67417b31f20c2ffc72dc8774e Size (hypothesis-6.97.3.tar.gz) = 375883 bytes @ 1.129 log @py-hypothesis: updated to 6.97.0 6.97.0 Changes the distribution of sampled_from() when sampling from a Flag. Previously, no-flags-set values would never be generated, and all-flags-set values would be unlikely for large enums. With this change, the distribution is more uniform in the number of flags set. 6.96.4 This patch slightly refactors some internals. There is no user-visible change. 6.96.3 This patch fixes a spurious warning about slow imports when HYPOTHESIS_EXPERIMENTAL_OBSERVABILITY was set. 6.96.2 This patch refactors some more internals, continuing our work on supporting alternative backends (issue 3086). There is no user-visible change. 6.96.1 Fix a spurious warning seen when running pytest’s test suite, caused by never realizing we got out of initialization due to imbalanced hook calls. 6.96.0 Warns when constructing a repr that is overly long. This can happen by accident if stringifying arbitrary strategies, and is expensive in time and memory. The associated deferring of these long strings in sampled_from() should also lead to improved performance. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.128 2024/01/16 06:06:02 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.97.0.tar.gz) = 5b9d2c9e0c56a3209c1d94bbc708a0ae11067f18e77b5a2e9ace096c0c9f683c SHA512 (hypothesis-6.97.0.tar.gz) = 2126a0a61c97bc740bd2d0225ed6b50bf4ecc98fe464e19022fc788327a2c67aa4d1072a410e40a6e8374542710453dc8f4ec5a96788b033069f9245983ecd74 Size (hypothesis-6.97.0.tar.gz) = 375452 bytes @ 1.128 log @py-hypothesis: updated to 6.93.2 6.93.2 This patch improves observability reports by moving timing information from metadata to a new timing key, and supporting conversion of additional argument types to json rather than string reprs via a .to_json() method (including e.g. Pandas dataframes). Additionally, the too_slow health check will now report which strategies were slow, e.g. for strategies a, b, c, …: count | fraction | slowest draws (seconds) a | 3 | 65% | -- -- -- 0.357, 2.000 b | 8 | 16% | 0.100, 0.100, 0.100, 0.111, 0.123 c | 3 | 8% | -- -- 0.030, 0.050, 0.200 (skipped 2 rows of fast draws) 6.93.1 This patch refactors some internals, continuing our work on supporting alternative backends. There is no user-visible change. 6.93.0 The from_lark() strategy now accepts an alphabet= argument, which is passed through to from_regex(), so that you can e.g. constrain the generated strings to a particular codec. In support of this feature, from_regex() will avoid generating optional parts which do not fit the alphabet. For example, from_regex(r"abc|def", alphabet="abcd") was previously an error, and will now generate only 'abc'. Cases where there are no valid strings remain an error. 6.92.9 This patch refactors some internals, continuing our work on supporting alternative backends. There is no user-visible change. 6.92.8 This patch adds a test statistics event when a generated example is rejected via assume. This may also help with distinguishing gave_up examples in observability. 6.92.7 This introduces the rewriting of length filters on some collection strategies. Thanks to Reagan Lee for implementing this feature! 6.92.6 If a test uses sampled_from() on a sequence of strategies, and raises a TypeError, we now add a note asking whether you meant to use one_of(). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.127 2024/01/08 19:58:31 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.93.2.tar.gz) = c80e50653df84084bc1d577d8ed83f0a31757891cd3a2ab5561bd554645b1e49 SHA512 (hypothesis-6.93.2.tar.gz) = 4bb577f0f1ae29eff1fad2fd0abbc6b01bd032817a1138828175c5db1c8bc758fefc50fbb0c5a76c86056775e36e8c2cb203f11735a8b3cdd1ba251c47dedada Size (hypothesis-6.93.2.tar.gz) = 372118 bytes @ 1.127 log @py-hypothesis: updated to 6.92.5 6.92.5 This patch registers explicit strategies for a handful of builtin types, motivated by improved introspection in PyPy 7.3.14 triggering existing internal warnings. Thanks to Carl Friedrich Bolz-Tereick for helping us work out what changed! 6.92.4 This patch fixes an error when writing observability reports without a pre-existing .hypothesis directory. 6.92.3 This patch adds a new environment variable HYPOTHESIS_EXPERIMENTAL_OBSERVABILITY_NOCOVER, which turns on observability data collection without collecting code coverage data, which may be faster on Python 3.11 and earlier. 6.92.2 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.92.1 This patch fixes a bug introduced in version 6.92.0, where using the data() strategy would fail to draw a dataclass() with a defaultdict field. This was due to a bug in the standard library which was fixed in 3.12, so we’ve vendored the fix. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.126 2023/12/11 20:46:39 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.92.5.tar.gz) = 0e1bed315e76c22275095f0721f1de3d8d087078f95e22b9aa20a04319ff9c9a SHA512 (hypothesis-6.92.5.tar.gz) = 0adb72cb4bc9fb50f44cd3a82f5bf27c62bd10fc3f89eb2064e2f6978302c71848675b1370bfc568ff0e1a91452ad0b6e49a2a884e7367a411a62b44844079b3 Size (hypothesis-6.92.5.tar.gz) = 370183 bytes @ 1.126 log @py-hypothesis: updated to 6.92.0 6.92.0 This release adds an experimental observability mode. You can read the docs about it here. 6.91.2 This patch refactors some more internals, continuing our work on supporting alternative backends. There is no user-visible change. 6.91.1 This patch fixes an issue where builds() could not be used with attrs objects that defined private attributes (i.e. attributes with a leading underscore). This patch also adds support more generally for using builds() with attrs’ alias parameter, which was previously unsupported. This patch increases the minimum required version of attrs to 22.2.0. 6.91.0 This release adds an optional payload argument to hypothesis.event(), so that you can clearly express the difference between the label and the value of an observation. Test statistics will still summarize it as a string, but future observability options can preserve the distinction. 6.90.1 This patch supports assigning settings = settings(...) as a class attribute on a subclass of a .TestCase attribute of a RuleBasedStateMachine. Previously, this did nothing at all. Thanks to Joey Tran for reporting these settings-related edge cases in stateful testing. 6.90.0 This release makes it an error to assign settings = settings(...) as a class attribute on a RuleBasedStateMachine. This has never had any effect, and it should be used as a decorator instead: @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.125 2023/10/26 08:02:34 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.92.0.tar.gz) = e0ae9fdda8a9eaebbc206e2f09d32029ae8024ab98209b615b66fcdbe2ae2d01 SHA512 (hypothesis-6.92.0.tar.gz) = 6a016f2d393403c9f70d13a63c955521fb8c50c3378196a6a845fadfec4eea016a292f19d4db976fbfdf319f9e094148083fc44beaeed4a3dfc297d301a58a37 Size (hypothesis-6.92.0.tar.gz) = 369228 bytes @ 1.125 log @py-hypothesis: updated to 6.88.1 6.88.1 This patch improves register_type_strategy() when used with tuple subclasses, by preventing them from being interpreted as generic and provided to strategies like st.from_type(Sequence[int]). 6.88.0 This release allows strategy-generating functions registered with register_type_strategy() to conditionally not return a strategy, by returning NotImplemented. 6.87.4 When randoms() was called with use_true_randoms=False, calling sample on it with an empty sequence and 0 elements would result in an error, when it should have returned an empty sequence to agree with the normal behaviour of random.Random. This fixes that discrepancy. 6.87.3 This patch ensures that the hypothesis codemod CLI will print a warning instead of stopping with an internal error if one of your files contains invalid syntax. 6.87.2 This patch makes some small changes to our NumPy integration to ensure forward compatibility. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.124 2023/10/04 20:40:59 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.88.1.tar.gz) = 9aa747252c755f459dc148480138089bc9e93a05471d52041344b817909d307d SHA512 (hypothesis-6.88.1.tar.gz) = d4f67678be32cb82da3987e0eb20b3bcb98743c3c3b8b7f5641e9665b49c1038af87af5ac324965079741f91cb7ba6335893ae6d021b682841b6b1cc813816f6 Size (hypothesis-6.88.1.tar.gz) = 359984 bytes @ 1.124 log @py-hypothesis: updated to 6.87.1 6.87.1 Fixes issue 3755, where an internal condition turns out to be reachable after all. 6.87.0 This release deprecates use of assume() and reject() outside of property-based tests, because these functions work by raising a special exception (issue 3743). It also fixes some type annotations @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.123 2023/09/18 05:56:32 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.87.1.tar.gz) = 7a01572004a44639f2f705ca0e08d72c579e9b12a51d7161043581e8c7ae6a8c SHA512 (hypothesis-6.87.1.tar.gz) = 1ae36616fcefe1c3d2c9c5e2d2d8be93ce00d55ad2dafb58c7cd881a991cb844aa428c518c9c630197490dc292796bc4156b76a7324a5b02101fa5aac035e174 Size (hypothesis-6.87.1.tar.gz) = 359514 bytes @ 1.123 log @py-hypothesis: updated to 6.86.1 6.86.1 This patch improves the documentation of @@example(...).xfail() by adding a note about PEP 614, similar to @@example(...).via(), and adds a warning when a strategy generates a test case which seems identical to one provided by an xfailed example. 6.86.0 This release enables the explain phase by default. We hope it helps you to understand why your failing tests have failed! 6.85.1 This patch switches some of our type annotations to use typing.Literal when only a few specific values are allowed, such as UUID or IP address versions. 6.85.0 This release deprecates the old whitelist/blacklist arguments to characters(), in favor of include/exclude arguments which more clearly describe their effects on the set of characters which can be generated. You can use Hypothesis’ codemods to automatically upgrade to the new argument names. In a future version, the old names will start to raise a DeprecationWarning. 6.84.3 This patch automatically disables the differing_executors health check for methods which are also pytest parametrized tests, because those were mostly false alarms. 6.84.2 Building on recent releases, characters() now accepts _any_ codec=, not just "utf-8" and "ascii". This includes standard codecs from the codecs module and their aliases, platform specific and user-registered codecs if they are available, and python-specific text encodings (but not text transforms or binary transforms). 6.84.1 This patch by Reagan Lee makes st.text(...).filter(str.isidentifier) return an efficient custom strategy. 6.84.0 The from_regex() strategy now takes an optional alphabet=characters(codec="utf-8") argument for unicode strings, like text(). This offers more and more-consistent control over the generated strings, removing previously-hard-coded limitations. With fullmatch=False and alphabet=characters(), surrogate characters are now possible in leading and trailing text as well as the body of the match. Negated character classes such as [^A-Z] or \S had a hard-coded exclusion of control characters and surrogate characters; now they permit anything in alphabet= consistent with the class, and control characters are permitted by default. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.122 2023/08/25 11:08:48 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.86.1.tar.gz) = 5da3cddb9377a0b70e6e853773475b2b60e5bfdc8dce89b280387493f538dd40 SHA512 (hypothesis-6.86.1.tar.gz) = e78cd140c7c1e678ab8f5a796e0e4b71575b8267116aa41f6724bb749c7fefcabcb7b581a6d2ef3b68dbedf92d0f91a34f1dd369453fe2b858c32290aeef5f92 Size (hypothesis-6.86.1.tar.gz) = 359742 bytes @ 1.122 log @py-hypothesis: updated to 6.82.6 6.82.6 This patch enables and fixes many more of ruff‘s lint rules. 6.82.5 Fixes the error message for missing [cli] extra. 6.82.4 This patch ensures that we always close the download connection in GitHubArtifactDatabase. 6.82.3 We can now pretty-print combinations of zero enum.Flag values, like SomeFlag(0), which has never worked before. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.121 2023/08/07 05:22:59 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.82.6.tar.gz) = 7fdb186ba4fea1731a76694460bb9f6f58ddde53d955af914e3b2b3814fda096 SHA512 (hypothesis-6.82.6.tar.gz) = 9c940b9025d3a92d65b112c2cf004ae30175660aeb0f24a17fcc5c260393831663f2ff9da1d889bc8a9a99d58af64a8cdc1266d3d5595c43daabbfbc56f41cc5 Size (hypothesis-6.82.6.tar.gz) = 353353 bytes @ 1.121 log @py-hypothesis: updated to 6.82.2 6.82.2 This patch fixes pretty-printing of combinations of enum.Flag values, which was previously an error @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.120 2023/08/06 07:17:09 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.82.2.tar.gz) = e0192a8e5b6e0931bffd2b702c0aa944b91afd6c1ad42703509f85511b7556b3 SHA512 (hypothesis-6.82.2.tar.gz) = e315fbc8deec427ab6ecbc2c047108890712857773500996df8fb7a4a4f836907b4ffa84f27b22011a21b5349e78b9026262621c441d2cd2dfe05b11f7d538d0 Size (hypothesis-6.82.2.tar.gz) = 353212 bytes @ 1.120 log @py-hypothesis: updated to 6.82.1 6.82.1 Improve shrinking of floats in narrow regions that don’t cross an integer boundary. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.119 2023/07/29 15:36:28 adam Exp $ d3 3 a5 4 BLAKE2s (hypothesis-6.82.1.tar.gz) = 12307fee11b4d393d531feb7ba525a7d97fcf59ccbda7677d8421b6d5fc6abd5 SHA512 (hypothesis-6.82.1.tar.gz) = feab58f54a776d01b23d43c86c95661a992d8d601e9d3ab7601bde314406b2fe14e00df144ab37f8cbfe929434f165dddea15f5bf537de758449f485b52f1d10 Size (hypothesis-6.82.1.tar.gz) = 353171 bytes SHA1 (patch-setup.py) = 6784b6eb802938f266c1c7c683757fb2be8a9119 @ 1.119 log @py-hypothesis: fix build with Python 3.8 @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.118 2023/07/20 07:59:05 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.82.0.tar.gz) = 224fba982069f6f3c4c7f1a575aae4f896057f38f414869a23476d5f4f4a6e26 SHA512 (hypothesis-6.82.0.tar.gz) = df488f46b5be5539fcd35109f14c5f20dc3e1e206eb8365f9cff739fe9505ed95d72d4ff5f4a8ac36aadbdb1cc46f41e84778be572513d06cef570b42a0be90e Size (hypothesis-6.82.0.tar.gz) = 352906 bytes @ 1.118 log @py-hypothesis: updated to 6.82.0 6.81.2 If the HYPOTHESIS_NO_PLUGINS environment variable is set, we’ll avoid loading plugins such as the old Pydantic integration or HypoFuzz’ CLI options. This is probably only useful for our own self-tests, but documented in case it might help narrow down any particularly weird bugs in complex environments. 6.81.1 Fixes some lingering issues with inference of recursive types in ~hypothesis.strategies.from_type. 6.81.0 This release further improves our .patch-file support from version 6.75, skipping duplicates, tests which use data() (and don’t support @@example()), and various broken edge-cases. Because libCST has released version 1.0 which uses the native parser by default, we no longer set the LIBCST_PARSER_TYPE=native environment variable. If you are using an older version, you may need to upgrade or set this envvar for yourself. 6.80.1 This patch updates some internal code for selftests. There is no user-visible change. 6.80.0 This release drops support for Python 3.7, which reached end of life on 2023-06-27. 6.79.4 Fixes occasional recursion-limit-exceeded errors when validating deeply nested strategies. 6.79.3 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.79.2 Improve the type rendered in from_type(), which improves the coverage of Ghostwriter. 6.79.1 We now test against Python 3.12 beta in CI, and this patch fixes some new deprecations. 6.79.0 This release changes register_type_strategy() for compatibility with PEP 585: we now store only a single strategy or resolver function which is used for both the builtin and the typing module version of each type. If you previously relied on registering separate strategies for e.g. list vs typing.List, you may need to use explicit strategies rather than inferring them from types. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.117 2023/06/16 08:40:28 adam Exp $ d6 1 @ 1.117 log @py-hypothesis: updated to 6.78.3 6.78.3 This release ensures that Ghostwriter does not use the deprecated aliases for the collections.abc classes in collections. 6.78.2 This patch improves Ghostwriter’s use of qualified names for re-exported functions and classes, and avoids importing useless TypeVars. 6.78.1 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.78.0 New input validation for recursive() will raise an error rather than hanging indefinitely if passed invalid max_leaves= arguments. 6.77.0 from_type() now handles numpy array types: np.typing.ArrayLike, np.typing.NDArray, and parameterized versions including np.ndarray[shape, elem_type]. 6.76.0 Warn in from_type() if the inferred strategy has no variation (always returning default instances). Also handles numpy data types by calling from_dtype() on the corresponding dtype, thus ensuring proper variation for these types. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.116 2023/05/07 08:35:49 wiz Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.78.3.tar.gz) = 0d5f7fa1a1da721e537c03948bb1565aefb61d298fa435f8dcc1a31c1e4fd059 SHA512 (hypothesis-6.78.3.tar.gz) = 275bdc828e4d566d4037cd0e0fed6c9d0678d95dd57e56a32d2ec48525b197516852222c9338f24037b3b0d2b82f38209089456b8c6e3a36a58ce9cf4aa4d869 Size (hypothesis-6.78.3.tar.gz) = 354588 bytes @ 1.116 log @py-hypothesis: update to 6.75.2. 6.75.2 - 2023-05-04 Improved the documentation regarding how to use GitHubArtifactDatabase and fixed a bug that occurred in repositories with no existing artifacts. Thanks to Agustín Covarrubias for this contribution. 6.75.1 - 2023-04-30 hypothesis.errors will now raise AttributeError when attempting to access an undefined attribute, rather than returning None. 6.75.0 - 2023-04-30 Sick of adding @@example()s by hand? Our Pytest plugin now writes .patch files to insert them for you, making this workflow easier than ever before. Note that you’ll need LibCST (via hypothesis[codemods]), and that @@example().via() requires PEP 614 (Python 3.9 or later). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.115 2023/04/30 17:14:48 wiz Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.75.2.tar.gz) = aa129b4d0adafb0bad3d0fec6ae948eb873e4c28e216834fdff416f98a191410 SHA512 (hypothesis-6.75.2.tar.gz) = 38b148ad0a317d6c753e3b453aa498a2b90c170a47e6a046d298e7363c9201149701db088e8d7a978a03798bbc98307f97f87beef03c269574b47ac53c816178 Size (hypothesis-6.75.2.tar.gz) = 351356 bytes @ 1.115 log @py-hypothesis: update to 6.74.1. 6.74.1 - 2023-04-28 This patch provides better error messages for datetime- and timedelta-related invalid dtypes in our Pandas extra (issue #3518). Thanks to Nick Muoh at the PyCon Sprints! 6.74.0 - 2023-04-26 This release adds support for nullable pandas dtypes in pandas() (issue #3604). Thanks to Cheuk Ting Ho for implementing this at the PyCon sprints! 6.73.1 - 2023-04-27 This patch updates our minimum Numpy version to 1.16, and restores compatibility with versions before 1.20, which were broken by a mistake in Hypothesis 6.72.4 (issue #3625). 6.73.0 - 2023-04-25 This release upgrades the explain phase (issue #3411). Following the first failure, Hypothesis will (usually) track which lines of code were executed by passing and failing examples, and report where they diverged - with some heuristics to drop unhelpful reports. This is an existing feature, now upgraded and newly enabled by default. After shrinking to a minimal failing example, Hypothesis will try to find parts of the example – e.g. separate args to @@given() – which can vary freely without changing the result of that minimal failing example. If the automated experiments run without finding a passing variation, we leave a comment in the final report: test_x_divided_by_y( x=0, # or any other generated value y=0, ) Just remember that the lack of an explanation sometimes just means that Hypothesis couldn’t efficiently find one, not that no explanation (or simpler failing example) exists. 6.72.4 - 2023-04-25 This patch fixes type annotations for the arrays() strategy. Thanks to Francesc Elies for pull request #3602. 6.72.3 - 2023-04-25 This patch fixes a bug with from_type() with dict[tuple[int, int], str] (issue #3527). Thanks to Nick Muoh at the PyCon Sprints! 6.72.2 - 2023-04-24 This patch refactors our internals to facilitate an upcoming feature. 6.72.1 - 2023-04-19 This patch fixes some documentation and prepares for future features. 6.72.0 - 2023-04-16 This release deprecates Healthcheck.all(), and adds a codemod to automatically replace it with list(Healthcheck) (issue #3596). 6.71.0 - 2023-04-07 This release adds GitHubArtifactDatabase, a new database backend that allows developers to access the examples found by a Github Actions CI job. This is particularly useful for workflows that involve continuous fuzzing, like HypoFuzz. Thanks to Agustín Covarrubias for this feature! 6.70.2 - 2023-04-03 This patch clarifies the reporting of time spent generating data. A simple arithmetic mean of the percentage of time spent can be misleading; reporting the actual time spent avoids misunderstandings. Thanks to Andrea Reina for reporting and fixing issue #3598! @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.114 2023/04/04 11:24:42 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.74.1.tar.gz) = 6866c531ea850051021d4103acc693b2664567eee4a3dbdcbb1a76d15c199e3d SHA512 (hypothesis-6.74.1.tar.gz) = 1659a43d9e21000e0feedd1be73d155a5540e15ede65b642b0b1b8db209ed0b91092e9f2cde4f300a45ac9c4aadbe2068cc53f21fd9ee66cc8ffafafc0b2f1cd Size (hypothesis-6.74.1.tar.gz) = 347667 bytes @ 1.114 log @py-hypothesis: updated to 6.70.2 6.70.2 - 2023-04-03¶ This patch clarifies the reporting of time spent generating data. A simple arithmetic mean of the percentage of time spent can be misleading; reporting the actual time spent avoids misunderstandings. 6.70.1 - 2023-03-27¶ This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.70.0 - 2023-03-16¶ This release adds an optional domains= parameter to the emails() strategy, and excludes the special-use .arpa domain from the default strategy. 6.69.0 - 2023-03-15¶ This release turns HealthCheck.return_value and HealthCheck.not_a_test_method into unconditional errors. Passing them to suppress_health_check= is therefore a deprecated no-op. Separately, GraalPy can now run and pass most of the hypothesis test suite. 6.68.3 - 2023-03-15¶ This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.68.2 - 2023-02-17¶ This patch fixes missing imports of the re module, when ghostwriting tests which include compiled patterns or regex flags. Thanks to Jens Heinrich for reporting and promptly fixing this bug! 6.68.1 - 2023-02-12¶ This patch adds some private hooks for use in research on Schemathesis (see our preprint here). 6.68.0 - 2023-02-09¶ This release adds support for the Array API’s 2022.12 release via the api_version argument in make_strategies_namespace(). Concretely this involves complex support in its existing strategies, plus an introduced xps.complex_dtypes() strategy. Additionally this release now treats hypothesis.extra.array_api as stable, meaning breaking changes should only happen with major releases of Hypothesis. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.113 2023/02/08 10:31:14 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.70.2.tar.gz) = cd608c844e4b4d3dd8e1a5c98fb65fa3f02daad9d458bedaadee9c8f0035d8f8 SHA512 (hypothesis-6.70.2.tar.gz) = 1804b6acb8e43f89a8b54ccd3e5b79b25eda1b93d4898d6fc757d030fa0001f128fab0fe9deeb5dc7cdb8351607015f7fc73dff2f7e25e44c651d8af3703fb37 Size (hypothesis-6.70.2.tar.gz) = 341236 bytes @ 1.113 log @py-hypothesis: updated to 6.67.1 6.67.1 - 2023-02-05 This patch updates our autoformatting tools, improving our code style without any API changes. 6.67.0 - 2023-02-05 This release allows for more precise generation of complex numbers using from_dtype(), by supporting the width, min_magnitude, and min_magnitude arguments. Thanks to Felix Divo for this feature! 6.66.2 - 2023-02-04 This patch fixes a rare RecursionError when pretty-printing a multi-line object without type-specific printer, which was passed to a function which returned the same object by .map() or builds() and thus recursed due to the new pretty reprs in Hypothesis 6.65.0 - 2023-01-24. Apologies to all those affected. 6.66.1 - 2023-02-03 This makes from_dtype() pass through the parameter allow_subnormal for complex dtypes. 6.66.0 - 2023-02-02 This release adds a width parameter to complex_numbers(), analogously to floats(). Thanks to Felix Divo for the new feature! 6.65.2 - 2023-01-27 This patch fixes invalid annotations detected for the tests generated by Ghostwritter. It will now correctly generate Optional types with just one type argument and handle union expressions inside of type arguments correctly. Additionally, it now supports code with the from __future__ import annotations marker for Python 3.10 and newer. 6.65.1 - 2023-01-26 This release improves the pretty-printing of enums in falsifying examples, so that they print as their full identifier rather than their repr. 6.65.0 - 2023-01-24 Hypothesis now reports some failing inputs by showing the call which constructed an object, rather than the repr of the object. This can be helpful when the default repr does not include all relevant details, and will unlock further improvements in a future version. For now, we capture calls made via builds(), and via SearchStrategy.map(). 6.64.0 - 2023-01-23 The Ghostwritter will now include type annotations on tests for type-annotated code. If you want to force this to happen (or not happen), pass a boolean to the new annotate= argument to the Python functions, or the --[no-]annotate CLI flag. Thanks to Nicolas Ganz for this new feature! 6.63.0 - 2023-01-20 range_indexes() now accepts a name= argument, to generate named pandas.RangeIndex objects. Thanks to Sam Watts for this new feature! 6.62.1 - 2023-01-14 This patch tweaks xps.arrays() internals to improve PyTorch compatibility. Specifically, torch.full() does not accept integers as the shape argument (n.b. technically “size” in torch), but such behaviour is expected in internal code, so we copy the torch module and patch in a working full() function. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.112 2022/12/18 16:18:53 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.67.1.tar.gz) = 4df1df9f01b70dae2b3e37ee266e3815eed9844a5a1fa380c213d256e42dda53 SHA512 (hypothesis-6.67.1.tar.gz) = febbee7855c0206f144b2a742a0f910294060042c418a6cae8485723057c454a3b809040a858a610dc5924b339b1b924e6a02b96d367ff484dde97f76e863a26 Size (hypothesis-6.67.1.tar.gz) = 340840 bytes @ 1.112 log @py-hypothesis: updated to 6.61.0 6.61.0 This release improves our treatment of database keys, which based on (among other things) the source code of your test function. We now post-process this source to ignore decorators, comments, trailing whitespace, and blank lines - so that you can add @@example()s or make some small no-op edits to your code without preventing replay of any known failing or covering examples. 6.60.1 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.60.0 This release improves Hypothesis’ ability to resolve forward references in type annotations. It fixes a bug that prevented builds() from being used with pydantic models that possess updated forward references. 6.59.0 The @@example(...) decorator now has a .via() method, which future tools will use to track automatically-added covering examples. 6.58.2 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.58.1 This patch shifts hypothesis[lark] from depending on the old lark-parser package to the new lark package. There are no code changes in Hypothesis, it’s just that Lark got a new name on PyPI for version 1.0 onwards. 6.58.0 register_random() has used weakref since 6.27.1 - 2021-11-22, allowing the Random-compatible objects to be garbage-collected when there are no other references remaining in order to avoid memory leaks. We now raise an error or emit a warning when this seems likely to happen immediately. The type annotation of register_random() was also widened so that structural subtypes of Random are accepted by static typecheckers. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.111 2022/11/14 08:33:57 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.61.0.tar.gz) = 0dfb99c6670de063bde0d48daaa4da605fd6a1285c8d1175c236fbc84f960443 SHA512 (hypothesis-6.61.0.tar.gz) = db0b71375e9af58a716d62180107066e40e772e64609baf3ab63dbb777d89e9f72444b035d0384de20a2181926bd4c8698549d2525b9c8da153f2b62018e325d Size (hypothesis-6.61.0.tar.gz) = 336664 bytes @ 1.111 log @py-hypothesis: updated to 6.57.1 6.57.1 - 2022-11-14 This patch updates some internal type annotations and fixes a formatting bug in the explain phase reporting. 6.57.0 - 2022-11-14 Hypothesis now raises an error if you passed a strategy as the alphabet= argument to text(), and it generated something which was not a length-one string. This has never been supported, we’re just adding explicit validation to catch cases like this StackOverflow question. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.110 2022/11/04 18:34:09 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.57.1.tar.gz) = 86454ceec3a0fdea0444752156b465783a05961a5864d24e63764d4a35478552 SHA512 (hypothesis-6.57.1.tar.gz) = 44b9c95d68025b6fe35405ae146a189af8c9474b4c51cdb645b23f52f3b3e9cfc3da884e48ab5440137fc858195986f6174b0205353ce8f26b86b5f8b16b49d5 Size (hypothesis-6.57.1.tar.gz) = 333817 bytes @ 1.110 log @py-hypothesis: fix build for Python 3.7; avoid self-conflict; bump revision @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.109 2022/11/03 10:43:03 adam Exp $ d3 3 a5 4 BLAKE2s (hypothesis-6.56.4.tar.gz) = 34cc00172c0a88f85ea6699233c16af1e7b7b0ab1318ce91e109e789713a737d SHA512 (hypothesis-6.56.4.tar.gz) = 7ca2a1e677444f3073e3ebf8a4c39039636f92b51f28f4b296998a6d10cde3ff9321c0d9ee7ff6d5748f3cf4b196bbf795cb5f3e5bd78585b6dc34af5587fe97 Size (hypothesis-6.56.4.tar.gz) = 333424 bytes SHA1 (patch-src_hypothesis_extra_array__api.py) = 788a333566cf2d8b800ad43e2b6583f31ff04597 @ 1.109 log @py-hypothesis: updated to 6.56.4 6.56.4 - 2022-10-28 This patch updates some docs, and depends on exceptiongroup 1.0.0 final to avoid a bug in the previous version. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.108 2022/10/25 09:08:45 adam Exp $ d6 1 @ 1.108 log @py-hypothesis: updated to 6.56.3 6.56.3 - 2022-10-17 This patch teaches text() to rewrite a few more filter predicates. You’re unlikely to notice any change. 6.56.2 - 2022-10-10 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy, and fixes some incorrect examples in the docs for mutually_broadcastable_shapes(). 6.56.1 - 2022-10-05 This patch improves the error message when Hypothesis detects “flush to zero” mode for floating-point: we now report which package(s) enabled this, which can make debugging much easier. 6.56.0 - 2022-10-02 This release defines __bool__() on SearchStrategy. It always returns True, like before, but also emits a warning to help with cases where you intended to draw a value. 6.55.0 - 2022-09-29 In preparation for future versions of the Array API standard, make_strategies_namespace() now accepts an optional api_version argument, which determines the version conformed to by the returned strategies namespace. If None, the version of the passed array module xp is inferred. This release also introduces xps.real_dtypes(). This is currently equivalent to the existing xps.numeric_dtypes() strategy, but exists because the latter is expected to include complex numbers in the next version of the standard. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.107 2022/09/05 09:10:57 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.56.3.tar.gz) = eac5aba70d8e7470b27bcb5d5f45aaef362c3d9794f3b132a7315aa7bdf7657a SHA512 (hypothesis-6.56.3.tar.gz) = c5dcc304026b225b95c823a6a0a5a6948bbbfed0105d72b411bf414597aa2bd711a00d68fb32673aded7e8a74440bab257c114e9d6f8fdada9f77e3e7fa5b1f6 Size (hypothesis-6.56.3.tar.gz) = 333325 bytes @ 1.107 log @py-hypothesis: updated to 6.54.5 6.54.5 - 2022-09-05 This patch updates our autoformatting tools, improving our code style without any API changes. 6.54.4 - 2022-08-20 This patch fixes some type annotations for Python 3.9 and earlier (issue 3397), and teaches explain mode about certain locations it should not bother reporting (issue 3439). 6.54.3 - 2022-08-12 This patch teaches the Ghostwriter an additional check for function and class locations that should make it use public APIs more often. 6.54.2 - 2022-08-10 This patch fixes our workaround for a pytest bug where the inner exceptions in an ExceptionGroup are not displayed (issue 3430). 6.54.1 - 2022-08-02 This patch makes FailedHealthCheck and DeadlineExceeded exceptions picklable, for compatibility with Django’s parallel test runner (issue 3426). 6.54.0 - 2022-08-02 Reporting of multiple failing examples now uses the PEP 654 ExceptionGroup type, which is provided by the exceptiongroup backport on Python 3.10 and earlier (issue 3175). hypothesis.errors.MultipleFailures is therefore deprecated. Failing examples and other reports are now stored as PEP 678 exception notes, which ensures that they will always appear together with the traceback and other information about their respective error. 6.53.0 - 2022-07-25 from_field() now supports UsernameField from django.contrib.auth.forms. Thanks to Afonso Silva for reporting and working on issue 3417. 6.52.4 - 2022-07-22 This patch improves the error message when you pass filenames to the hypothesis write CLI, which takes the name of a module or function (e.g. hypothesis write gzip or hypothesis write package.some_function rather than hypothesis write script.py). Thanks to Ed Rogers for implementing this as part of the SciPy 2022 sprints! 6.52.3 - 2022-07-19 This patch ensures that the warning for non-interactive .example() points to your code instead of Hypothesis internals (issue 3403). Thanks to @@jameslamb for this fix. 6.52.2 - 2022-07-19 This patch makes integers() more likely to generate boundary values for large two-sided intervals (issue 2942). 6.52.1 - 2022-07-18 This patch adds filter rewriting for math.isfinite(), math.isinf(), and math.isnan() on integers() or floats() (issue 2701). 6.52.0 - 2022-07-18 This release adds the allow_subnormal argument to complex_numbers() by applying it to each of the real and imaginary parts separately. 6.51.0 - 2022-07-17 Issue a deprecation warning if a function decorated with @@composite does not draw any values 6.50.1 - 2022-07-09 This patch improves the error messages in @@example() argument validation following the recent release of 6.49.1. 6.50.0 - 2022-07-09 This release allows from_dtype() to generate Unicode strings which cannot be encoded in UTF-8, but are valid in Numpy arrays (which use UTF-32). This logic will only be used with Numpy >= 1.19, because earlier versions have an issue which led us to revert Hypothesis 5.2 last time! @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.106 2022/07/02 09:10:39 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.54.5.tar.gz) = 5a5ad6533b94e77f7ee53bb092aaac3bf31097ebf21540c577230245faef5193 SHA512 (hypothesis-6.54.5.tar.gz) = 270cc081bddcca398aa80f1459288b121d05ec149d575237ddbf0feddc52d03efc3699d9473f40e1e343217e989278e11bc5bf4f7e12f5e5b2eb75a96c7d0870 Size (hypothesis-6.54.5.tar.gz) = 329386 bytes @ 1.106 log @py-hypothesis: updated to 6.48.2 6.48.2 This patch tidies up some internal introspection logic, which will improve support for positional-only arguments in a future release (issue 2706). 6.48.1 This release automatically rewrites some simple filters, such as floats().filter(lambda x: x >= 10) to the more efficient floats(min_value=10), based on the AST of the predicate. We continue to recommend using the efficient form directly wherever possible, but this should be useful for e.g. pandera “Checks” where you already have a simple predicate and translating manually is really annoying. 6.48.0 This release raises SkipTest for which never executed any examples, for example because the phases setting excluded the explicit, reuse, and generate phases. This helps to avoid cases where broken tests appear to pass, because they didn’t actually execute (issue 3328). 6.47.5 This patch fixes type annotations that had caused the signature of @@given to be partially-unknown to type-checkers for Python versions before 3.10. 6.47.4 This patch fixes from_type() on Python 3.11, following python/cpython-93754. 6.47.3 This patch makes the too_slow health check more consistent with long deadline tests (issue 3367) and fixes an install issue under pipenv which was introduced in Hypothesis 6.47.2 (issue 3374). 6.47.2 We now use the PEP 654 ExceptionGroup type - provided by the exceptiongroup backport on older Pythons - to ensure that if multiple errors are raised in teardown, they will all propagate. 6.47.1 Our pretty-printer no longer sorts dictionary keys, since iteration order is stable in Python 3.7+ and this can affect reproducing examples (issue 3370). This PR was kindly supported by Ordina Pythoneers. 6.47.0 The Ghostwritter can now write tests for @@classmethod or @@staticmethod methods, in addition to the existing support for functions and other callables (issue 3318). Thanks to Cheuk Ting Ho for the patch. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.105 2022/01/31 11:43:31 wiz Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.48.2.tar.gz) = dd06b9ae83976c77a522ddaa5338ca2ba8f078955f69aac958f0026d26eab2ab SHA512 (hypothesis-6.48.2.tar.gz) = a736fe4206ac24d8e16e64154656b90d4d180c9e731bdd53416efdd2cb023dff8ebb429baf63b3663bcf143ae93ef87025bbde4f6a05676086067a3a2cedef46 Size (hypothesis-6.48.2.tar.gz) = 326586 bytes @ 1.105 log @py310-hypothesis: update to 6.36.1. 6.36.1 - 2022-01-31 This patch fixes some deprecation warnings from pytest 7.0, along with some code formatting and docs updates. 6.36.0 - 2022-01-19 This release disallows using typing.Final with from_type() and register_type_strategy(). Why? Because Final can only be used during class definition. We don’t generate class attributes. It also does not make sense as a runtime type on its own. 6.35.1 - 2022-01-17 This patch fixes hypothesis write output highlighting with rich version 12.0 and later. 6.35.0 - 2022-01-08 This release disallows using typing.ClassVar with from_type() and register_type_strategy(). Why? Because ClassVar can only be used during class definition. We don’t generate class attributes. It also does not make sense as a runtime type on its own. 6.34.2 - 2022-01-05 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.34.1 - 2021-12-31 This patch fixes issue #3169, an extremely rare bug which would trigger if an internal least-recently-reused cache dropped a newly added entry immediately after it was added. 6.34.0 - 2021-12-31 This release fixes issue #3133 and issue #3144, where attempting to generate Pandas series of lists or sets would fail with confusing errors if you did not specify dtype=object. 6.33.0 - 2021-12-30 This release disallows using typing.TypeAlias with from_type() and register_type_strategy(). Why? Because TypeAlias is not really a type, it is a tag for type checkers that some expression is a type alias, not something else. It does not make sense for Hypothesis to resolve it as a strategy. References issue #2978. 6.32.1 - 2021-12-23 This patch updates our autoformatting tools, improving our code style without any API changes. 6.32.0 - 2021-12-23 This release drops support for Python 3.6, which reached end of life upstream on 2021-12-23. 6.31.6 - 2021-12-15 This patch adds a temporary hook for a downstream tool, which is not part of the public API. 6.31.5 - 2021-12-14 This release updates our copyright headers to use a general authorship statement and omit the year. 6.31.4 - 2021-12-11 This patch makes the .example() method more representative of test-time data generation, albeit often at a substantial cost to readability (issue #3182). 6.31.3 - 2021-12-10 This patch improves annotations on some of Hypothesis’ internal functions, in order to deobfuscate the signatures of some strategies. In particular, strategies shared between hypothesis.extra.numpy and the hypothesis.extra.array_api extra will benefit from this patch. 6.31.2 - 2021-12-10 This patch fix invariants display in stateful falsifying examples (issue #3185). 6.31.1 - 2021-12-10 This patch updates xps.indices() so no flat indices are generated, i.e. generated indices will now always explicitly cover each axes of an array if no ellipsis is present. This is to be consistent with a specification change that dropped support for flat indexing (#272). 6.31.0 - 2021-12-09 This release makes us compatible with Django 4.0, in particular by adding support for use of zoneinfo timezones (though we respect the new USE_DEPRECATED_PYTZ setting if you need it). 6.30.1 - 2021-12-05 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.30.0 - 2021-12-03 This release adds an allow_subnormal argument to the floats() strategy, which can explicitly toggle the generation of subnormal floats (issue #3155). Disabling such generation is useful when testing flush-to-zero builds of libraries. nps.from_dtype() and xps.from_dtype() can also accept the allow_subnormal argument, and xps.from_dtype() or xps.arrays() will disable subnormals by default if the array module xp is detected to flush-to-zero (like is typical with CuPy). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.104 2021/12/02 11:15:26 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.36.1.tar.gz) = 39d29de1a449744ad5440e4e9b6f99f91386d6819e7d2e488b97f148e36305b8 SHA512 (hypothesis-6.36.1.tar.gz) = 7df36ec9568972a493d46c839a81ec21a1cdadfa1559b6ae618e5bc6cc8f9f5ce234c5ca7051e12ce299614490ff0ab4d9e64b0e1c39925c342364be511ad4f0 Size (hypothesis-6.36.1.tar.gz) = 316531 bytes @ 1.104 log @py-hypothesis: updated to 6.29.3 6.29.3 This patch fixes a bug in mutually_broadcastable_shapes(), which restricted the patterns of singleton dimensions that could be generated for dimensions that extended beyond base_shape. 6.29.2 This patch clarifies our pretty-printing of DataFrames. 6.29.1 This patch documents timezones() Windows-only requirement for the tzdata package, and ensures that pip install hypothesis[zoneinfo] will install the latest version. 6.29.0 This release teaches builds() to use deferred() when resolving unrecognised type hints, so that you can conveniently register strategies for recursive types with constraints on some arguments: class RecursiveClass: def __init__(self, value: int, next_node: typing.Optional["SomeClass"]): assert value > 0 self.value = value self.next_node = next_node st.register_type_strategy( RecursiveClass, st.builds(RecursiveClass, value=st.integers(min_value=1)) ) 6.28.1 This release fixes some internal calculations related to collection sizes. 6.28.0 This release modifies our pytest plugin, to avoid importing Hypothesis and therefore triggering Hypothesis’ entry points for test suites where Hypothesis is installed but not actually used. 6.27.3 This release fixes issue 3080, where from_type() failed on unions containing PEP 585 builtin generic types (like list[int]) in Python 3.9 and later. 6.27.2 This patch makes the hypothesis codemod command somewhat faster. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.103 2021/11/25 20:01:56 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.29.3.tar.gz) = de84460d02400e8ea9debf179338895c9d706c6e256d548b583a5a99fe7fbc37 SHA512 (hypothesis-6.29.3.tar.gz) = 58cea5cbf00391ec34d13f3dbadbe7a6e8cd08a8d9093f343ee7cf903cd5fa05ff806df8094be96b084c23ba64bc8efb5a43f573b7adf6e3a7507001acc74df3 Size (hypothesis-6.29.3.tar.gz) = 316199 bytes @ 1.103 log @py-hypothesis: updated to 6.27.1 6.27.1 This patch changes the backing datastructures of register_random() and a few internal caches to use weakref.WeakKeyDictionary. This reduces memory usage and may improve performance when registered Random instances are only used for a subset of your tests. 6.27.0 This release teaches Hypothesis’ multiple-error reporting to format tracebacks using pytest or better-exceptions, if they are installed and enabled. 6.26.0 Did you know that of the 264 possible floating-point numbers, 253 of them are nan While nans usually have all zeros in the sign bit and mantissa, this isn’t always true, and ‘signaling’ nans might trap or error. To help distinguish such errors in e.g. CI logs, Hypothesis now prints -nan for negative nans, and adds a comment like # Saw 3 signaling NaNs if applicable. 6.25.0 This release adds special filtering logic to make a few special cases like s.map(lambda x: x) and lists().filter(len) more efficient. 6.24.6 This patch makes floats() generate “subnormal” floating point numbers more often, as these rare values can have strange interactions with unsafe compiler optimisations like -ffast-math. 6.24.5 This patch fixes a rare internal error in the datetimes() strategy, where the implementation of allow_imaginary=False crashed when checking a time during the skipped hour of a DST transition if the DST offset is negative 6.24.4 This patch gives Hypothesis it’s own internal Random instance, ensuring that test suites which reset the global random state don’t induce weird correlations between property-based tests. 6.24.3 This patch updates documentation of note() @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.102 2021/11/06 08:49:22 adam Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.27.1.tar.gz) = 528c4c7dcc1791a0b5b317ce99510f6a91dac75671cc7c829c7e96fe1960a022 SHA512 (hypothesis-6.27.1.tar.gz) = 0e8cfabb2e81d4cec65ef8757e92e91b29494c68770ebc91d08588e4d06666a069f37a06c87fdedd0f6f4541f3bf821494bb3771ac1c5a149637502c77f00456 Size (hypothesis-6.27.1.tar.gz) = 314803 bytes @ 1.102 log @py-hypothesis: updated to 6.24.2 6.24.2 This patch updates internal testing for the Array API extra to be consistent with new specification changes: sum() not accepting boolean arrays (234), unique() split into separate functions (275), and treating NaNs as distinct (310). It has no user visible impact. 6.24.1 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. 6.24.0 This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. (did you know that gTLDs can be both added and removed?) 6.23.4 This patch adds an error for when shapes in xps.arrays() is not passed as either a valid shape or strategy. 6.23.3 This patch updates our formatting with shed. 6.23.2 This patch replaces external links to NumPy API docs with sphinx.ext.intersphinx cross-references. It is purely a documentation improvement. 6.23.1 This patch cleans up internal logic for xps.arrays(). There is no user-visible change. 6.23.0 This release follows pytest in considering SystemExit and GeneratorExit exceptions to be test failures, meaning that we will shink to minimal examples and check for flakiness even though they subclass BaseException directly (issue 2223). KeyboardInterrupt continues to interrupt everything, and will be re-raised immediately. 6.22.0 This release adds LiveServerTestCase and StaticLiveServerTestCase for django test. Thanks to Ivan Tham for this feature! 6.21.6 This patch fixes some new linter warnings such as flake8-bugbear’s B904 for explicit exception chaining, so tracebacks might be a bit nicer. 6.21.5 This release fixes None being inferred as the float64 dtype in from_dtype() and arrays() from the Array API extra. 6.21.4 This release fixes the type hint for the @@given() decorator when decorating an async function (issue 3099). 6.21.3 This release improves Ghostwritten tests for builtins (issue 2977). 6.21.2 This release deprecates use of both min_dims > len(shape) and max_dims > len(shape) when allow_newaxis == False in basic_indices() (issue 3091). 6.21.1 This release improves the behaviour of builds() and from_type() in certain situations involving decorators (issue 2495 and issue 3029). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.101 2021/10/26 10:18:33 nia Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.24.2.tar.gz) = d9a5abc33d43ec40541671c082d98adcd4ef6ccf760eaae14d3b368532df46c4 SHA512 (hypothesis-6.24.2.tar.gz) = d530b761fe5f4ee088582f17a8884b7eea81d6f2f8374e3d1d25c67d57437a796ca53cf5ed96f90a5017e0a92e8674269acf5e329015940eab2b8d60cfb15c8f Size (hypothesis-6.24.2.tar.gz) = 312456 bytes @ 1.101 log @archivers: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Could not be committed due to merge conflict: devel/py-traitlets/distinfo The following distfiles were unfetchable (note: some may be only fetched conditionally): ./devel/pvs/distinfo pvs-3.2-solaris.tgz ./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.100 2021/10/07 13:43:15 nia Exp $ d3 3 a5 3 BLAKE2s (hypothesis-6.21.0.tar.gz) = 3efbc3ff17a95f96bf0a06ea39a3910f089a8de05fc43a6c5a3a9d7f3dbf7b4d SHA512 (hypothesis-6.21.0.tar.gz) = e58afc32d18c6a4d1cc7835b1d22bc5c917983db458f7f06860eed00cfe537607f4ba91d34dd18c724b572d9763326191b9d0b2712c1e41ead2d9f4c4604fdde Size (hypothesis-6.21.0.tar.gz) = 311645 bytes @ 1.100 log @devel: Remove SHA1 hashes for distfiles @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.99 2021/09/12 09:53:53 adam Exp $ d3 1 a3 1 RMD160 (hypothesis-6.21.0.tar.gz) = 1a75d76386e10e106aeb8da0f627991c95fe6c8c @ 1.99 log @py-hypothesis: updated to 6.21.0 6.21.0 - 2021-09-11 This release introduces strategies for array/tensor libraries adopting the Array API standard. They are available in the hypothesis.extra.array_api extra, and work much like the existing strategies for NumPy. 6.20.1 - 2021-09-10 This patch fixes issue 961, where calling given() inline on a bound method would fail to handle the self argument correctly. 6.20.0 - 2021-09-09 This release allows slices() to generate step=None, and fixes an off-by-one error where the start index could be equal to size. This works fine for all Python sequences and Numpy arrays, but is undefined behaviour in the Array API standard. 6.19.0 - 2021-09-08 This release makes stateful testing more likely to tell you if you do something unexpected and unsupported: The return_value health check now applies to rule() and initialize() rules, if they don’t have target bundles, as well as invariant(). Using a consumes() bundle as a target is deprecated, and will be an error in a future version. If existing code triggers these new checks, check for related bugs and misunderstandings - these patterns never had any effect. 6.18.0 - 2021-09-06 This release teaches from_type() a neat trick: when resolving an typing.Annotated type, if one of the annotations is a strategy object we use that as the inferred strategy. For example: PositiveInt = Annotated[int, st.integers(min_value=1)] If there are multiple strategies, we use the last outer-most annotation. See issue 2978 and pull request 3082 for discussion. Requires Python 3.9 or later for get_type_hints(..., include_extras=False). 6.17.4 - 2021-08-31 This patch makes unique arrays() much more efficient, especially when there are only a few valid elements - such as for eight-bit integers. 6.17.3 - 2021-08-30 This patch fixes the repr of array_shapes(). 6.17.2 - 2021-08-30 This patch wraps some internal helper code in our proxies decorator to prevent mutations of method docstrings carrying over to other instances of the respective methods. 6.17.1 - 2021-08-29 This patch moves some internal helper code in preparation for issue 3065. There is no user-visible change, unless you depended on undocumented internals. 6.17.0 - 2021-08-27 This release adds type annotations to the stateful testing API. Thanks to Ruben Opdebeeck for this contribution! 6.16.0 - 2021-08-27 This release adds the DrawFn type as a reusable type hint for the draw argument of @@composite functions. Thanks to Ruben Opdebeeck for this contribution! 6.15.0 - 2021-08-22 This release emits a more useful error message when @@given() is applied to a coroutine function, i.e. one defined using async def. This was previously only handled by the generic return_value health check, which doesn’t direct you to use either a custom executor or a library such as pytest-trio or pytest-asyncio to handle it for you. 6.14.9 - 2021-08-20 This patch fixes a regression in Hypothesis 6.14.8, where from_type() failed to resolve types which inherit from multiple parametrised generic types, affecting the returns package. 6.14.8 - 2021-08-16 This patch ensures that registering a strategy for a subclass of a a parametrised generic type such as class Lines(Sequence[str]): will not “leak” into unrelated strategies such as st.from_type(Sequence[int]). Unfortunately this fix requires PEP 560, meaning Python 3.7 or later. 6.14.7 - 2021-08-14 This patch fixes issue 3050, where attrs classes could cause an internal error in the ghostwriter. 6.14.6 - 2021-08-07 This patch improves the error message for issue 3016, where PEP 585 builtin generics with self-referential forward-reference strings cannot be resolved to a strategy by from_type(). 6.14.5 - 2021-07-27 This patch fixes hypothesis.strategies._internal.types.is_a_new_type. It was failing on Python 3.10.0b4, where NewType is a function. 6.14.4 - 2021-07-26 This patch fixes from_type() and register_type_strategy() for typing.NewType on Python 3.10, which changed the underlying implementation (see bpo-44353 for details). 6.14.3 - 2021-07-18 This patch updates our autoformatting tools, improving our code style without any API changes. 6.14.2 - 2021-07-12 This patch ensures that we shorten tracebacks for tests which fail due to inconsistent data generation between runs (i.e. raise Flaky). 6.14.1 - 2021-07-02 This patch updates some internal type annotations. There is no user-visible change. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.98 2021/06/13 18:08:24 adam Exp $ a2 1 SHA1 (hypothesis-6.21.0.tar.gz) = fbe26e8248002de483d02da3a2570d219c946abe @ 1.98 log @py-hypothesis: updated to 6.14.0 6.14.0 - 2021-06-09 The explain phase now requires shrinking to be enabled, and will be automatically skipped for deadline-exceeded errors. 6.13.14 - 2021-06-04 This patch improves the tuples() strategy type annotations, to preserve the element types for up to length-five tuples. As for one_of(), this is the best we can do before a planned extension to PEP 646 is released, hopefully in Python 3.11. 6.13.13 - 2021-06-04 This patch teaches the Ghostwriter how to find custom ufuncs from any module that defines them, and that yaml.unsafe_load() does not undo yaml.safe_load(). 6.13.12 - 2021-06-03 This patch reduces the amount of internal code excluded from our test suite’s code coverage checks. There is no user-visible change. 6.13.11 - 2021-06-02 This patch removes some old internal helper code that previously existed to make Python 2 compatibility easier. There is no user-visible change. 6.13.10 - 2021-05-30 This release adjusts some internal code to help make our test suite more reliable. There is no user-visible change. 6.13.9 - 2021-05-30 This patch cleans up some internal code related to filtering strategies. There is no user-visible change. 6.13.8 - 2021-05-28 This patch slightly improves the performance of some internal code for generating integers. 6.13.7 - 2021-05-27 This patch fixes a bug in from_regex() that caused from_regex("", fullmatch=True) to unintentionally generate non-empty strings. The only strings that completely match an empty regex pattern are empty strings. 6.13.6 - 2021-05-26 This patch fixes a bug that caused integers() to shrink towards negative values instead of positive values in some cases. 6.13.5 - 2021-05-24 This patch fixes rare cases where hypothesis write --binary-op could print reproducing instructions from the internal search for an identity element. 6.13.4 - 2021-05-24 This patch removes some unnecessary intermediate list-comprehensions, using the latest versions of pyupgrade and shed. 6.13.3 - 2021-05-23 This patch adds a .hypothesis property to invalid test functions, bringing them inline with valid tests and fixing a bug where pytest-asyncio would swallow the real error message and mistakenly raise a version incompatibility error. 6.13.2 - 2021-05-23 Some of Hypothesis’s numpy/pandas strategies use a fill argument to speed up generating large arrays, by generating a single fill value and sharing that value among many array slots instead of filling every single slot individually. When no fill argument is provided, Hypothesis tries to detect whether it is OK to automatically use the elements argument as a fill strategy, so that it can still use the faster approach. This patch fixes a bug that would cause that optimization to trigger in some cases where it isn’t 100% guaranteed to be OK. If this makes some of your numpy/pandas tests run more slowly, try adding an explicit fill argument to the relevant strategies to ensure that Hypothesis always uses the faster approach. 6.13.1 - 2021-05-20 This patch strengthens some internal import-time consistency checks for the built-in strategies. There is no user-visible change. 6.13.0 - 2021-05-18 This release adds URL fragment generation to the urls() strategy. Thanks to Pax (R. Margret) for contributing this patch at the PyCon US Mentored Sprints! 6.12.1 - 2021-05-17 This patch fixes issue 2964, where .map() and .filter() methods were omitted from the repr() of just() and sampled_from() strategies, since version 5.43.7. 6.12.0 - 2021-05-06 This release automatically rewrites some simple filters, such as integers().filter(lambda x: x > 9) to the more efficient integers(min_value=10), based on the AST of the predicate. We continue to recommend using the efficient form directly wherever possible, but this should be useful for e.g. pandera “Checks” where you already have a simple predicate and translating manually is really annoying. See issue 2701 for ideas about floats and simple text strategies. 6.11.0 - 2021-05-06 hypothesis.target() now returns the observation value, allowing it to be conveniently used inline in expressions such as assert target(abs(a - b)) < 0.1. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.97 2021/05/04 08:10:53 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-6.14.0.tar.gz) = 6e179cf9669568c9fac9132cc7cd93b155b519c8 RMD160 (hypothesis-6.14.0.tar.gz) = e244fc6d0e2a5f0d316d1752eee7ddaf14d2808b SHA512 (hypothesis-6.14.0.tar.gz) = e4ec4b8d45aea97c04857f818a5761a9dc7cb343d60475bd21ee03e3a8d9ab3e63fc38e4a2a689cacdf4a646f7036bb284cc85bddced999ca87ab08ca9d5650e Size (hypothesis-6.14.0.tar.gz) = 299367 bytes @ 1.97 log @py-hypothesis: update to 6.10.1. 6.10.1 - 2021-04-26 This patch fixes a deprecation warning if you’re using recent versions of importlib-metadata (issue #2934), which we use to load third-party plugins such as Pydantic’s integration. On older versions of importlib-metadata, there is no change and you don’t need to upgrade. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.96 2021/04/20 16:43:04 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-6.10.1.tar.gz) = 7f3dc59073f688108e07ba6237fd0a738de6dc68 RMD160 (hypothesis-6.10.1.tar.gz) = e17954b67cdc85272248e1f9e8db17c7703cba82 SHA512 (hypothesis-6.10.1.tar.gz) = 4686882e6c1f916b4297bbfc8156d715880a62e9d73fcca31b07874aa6f74eebec052c9251b089e6889ee833afb5fb2fe86d7271c10d23d91bb670f44799ffac Size (hypothesis-6.10.1.tar.gz) = 297304 bytes @ 1.96 log @py-hypothesis: update to 6.10.0. 6.10.0 - 2021-04-17 This release teaches the Ghostwriter to read parameter types from Sphinx, Google, or Numpy-style structured docstrings, and improves some related heuristics about how to test scientific and numerical programs. 6.9.2 - 2021-04-15 This release improves the Ghostwriter’s handling of exceptions, by reading :raises ...: entries in function docstrings and ensuring that we don’t suppresss the error raised by test assertions. 6.9.1 - 2021-04-12 This patch updates our autoformatting tools, improving our code style without any API changes. 6.9.0 - 2021-04-11 This release teaches from_type() how to see through typing.Annotated. Thanks to Vytautas Strimaitis for reporting and fixing issue #2919! 6.8.12 - 2021-04-11 If rich is installed, the hypothesis write command will use it to syntax-highlight the Ghostwritten code. 6.8.11 - 2021-04-11 This patch improves an error message from from_type() when builds() would be more suitable (issue #2930). 6.8.10 - 2021-04-11 This patch updates the type annotations for arrays() to reflect that shape: SearchStrategy[int] is supported. 6.8.9 - 2021-04-07 This patch fixes from_type() with abstract types which have either required but non-type-annotated arguments to __init__, or where from_type() can handle some concrete subclasses but not others. 6.8.8 - 2021-04-07 This patch teaches hypothesis write to check for possible roundtrips in several more cases, such as by looking for an inverse in the module which defines the function to test. 6.8.7 - 2021-04-07 This patch adds a more helpful error message if you try to call sampled_from() on an Enum which has no members, but does have dataclass()-style annotations (issue #2923). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.95 2021/04/07 06:23:52 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-6.10.0.tar.gz) = f9356fd9cc719dfac8d2939f9b20dcf939a8bea0 RMD160 (hypothesis-6.10.0.tar.gz) = f12865b2b6fb6daf4d5f13a8a835b1faf5913318 SHA512 (hypothesis-6.10.0.tar.gz) = 1f39cfe02505a79764aba89c63c6aea2702f9036abcd1b7ded3d8065c8cc064219dfcf00e92737f7b24408be2b5dc60274f7f442bec5cad4b0ed6eec32c6446d Size (hypothesis-6.10.0.tar.gz) = 297203 bytes @ 1.95 log @py-hypothesis: updated to 6.8.6 6.8.6 - 2021-04-06 The fixed_dictionaries() strategy now preserves dict iteration order instead of sorting the keys. This also affects the pretty-printing of keyword arguments to @@given(). 6.8.5 - 2021-04-05 This patch teaches hypothesis write to default to ghostwriting tests with --style=pytest only if pytest is installed, or --style=unittest otherwise. 6.8.4 - 2021-04-01 This patch adds type annotations for the settings decorator, to avoid an error when running mypy in strict mode. 6.8.3 - 2021-03-28 This patch improves the Ghostwriter’s handling of strategies to generate various fiddly types including frozensets, keysviews, valuesviews, regex matches and patterns, and so on. 6.8.2 - 2021-03-27 This patch fixes some internal typos. There is no user-visible change. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.94 2021/03/17 13:13:31 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-6.8.6.tar.gz) = 597b21493e24ebcfca465a97e3db7b001ac76c91 RMD160 (hypothesis-6.8.6.tar.gz) = 1442c2fcacf4d2a255ab03556fac464956d56f7f SHA512 (hypothesis-6.8.6.tar.gz) = 3c244cb25e9959267bdc6e1e30ed2de598679b73289d3659a4a35c0338fa5455779bab7e08fb15c83623759139e4ce39600c225c15a9538d0d1531c095142847 Size (hypothesis-6.8.6.tar.gz) = 294428 bytes @ 1.94 log @py-hypothesis: update to 6.8.1. 6.8.1 - 2021-03-14 This patch lays more groundwork for filter rewriting (issue #2701). There is no user-visible change… yet. 6.8.0 - 2021-03-11 This release registers the remaining builtin types, and teaches from_type() to try resolving ForwardRef and Type references to built-in types. 6.7.0 - 2021-03-10 This release teaches RuleBasedStateMachine to avoid checking invariant()s until all initialize() rules have been run. You can enable checking of specific invariants for incompletely initialized machines by using @@invariant(check_during_init=True) (issue #2868). In previous versions, it was possible if awkward to implement this behaviour using precondition() and an auxiliary variable. 6.6.1 - 2021-03-09 This patch improves the error message when from_type() fails to resolve a forward-reference inside a typing.Type such as Type["int"] (issue #2565). 6.6.0 - 2021-03-07 This release makes it an explicit error to apply invariant() to a rule() or initialize() rule in stateful testing. Such a combination had unclear semantics, especially in combination with precondition(), and was never meant to be allowed (issue #2681). 6.5.0 - 2021-03-07 This release adds the explain phase, in which Hypothesis attempts to explain why your test failed by pointing to suspicious lines of code (i.e. those which were always, and only, run on failing inputs). We plan to include “generalising” failing examples in this phase in a future release (issue #2192). 6.4.3 - 2021-03-04 This patch fixes issue #2794, where nesting deferred() strategies within recursive() strategies could trigger an internal assertion. While it was always possible to get the same results from a more sensible strategy, the convoluted form now works too. 6.4.2 - 2021-03-04 This patch fixes several problems with mypy when –no-implicit-reexport was activated in user projects. Thanks to Nikita Sobolev for fixing issue #2884! 6.4.1 - 2021-03-04 This patch fixes an exception that occurs when using type unions of the typing_extensions Literal backport on Python 3.6. Thanks to Ben Anhalt for identifying and fixing this bug. 6.4.0 - 2021-03-02 This release fixes stateful testing methods with multiple precondition() decorators. Previously, only the outer-most precondition was checked (issue #2681). 6.3.4 - 2021-02-28 This patch refactors some internals of RuleBasedStateMachine. There is no change to the public API or behaviour. 6.3.3 - 2021-02-26 This patch moves some internal code, so that future work can avoid creating import cycles. There is no user-visible change. 6.3.2 - 2021-02-25 This patch enables register_type_strategy() for subclasses of typing.TypedDict. Previously, from_type() would ignore the registered strategy (issue #2872). Thanks to Ilya Lebedev for identifying and fixing this bug! 6.3.1 - 2021-02-24 This release lays the groundwork for automatic rewriting of simple filters, for example converting integers().filter(lambda x: x > 9) to integers(min_value=10). Note that this is not supported yet, and we will continue to recommend writing the efficient form directly wherever possible - predicate rewriting is provided mainly for the benefit of downstream libraries which would otherwise have to implement it for themselves (e.g. pandera and icontract-hypothesis). See issue #2701 for details. 6.3.0 - 2021-02-20 The Hypothesis pytest plugin now requires pytest version 4.6 or later. If the plugin detects an earlier version of pytest, it will automatically deactivate itself. (4.6.x is the earliest pytest branch that still accepts community bugfixes.) Hypothesis-based tests should continue to work in earlier versions of pytest, but enhanced integrations provided by the plugin (such as --hypothesis-show-statistics and other command-line flags) will no longer be available in obsolete pytest versions. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.93 2021/02/18 10:31:27 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-6.8.1.tar.gz) = ab4bfe8aa4b4d0e1c95497cff0fd6887e619ec8c RMD160 (hypothesis-6.8.1.tar.gz) = 7fdc48fb7f0b53cfc11821b824c3afffe52a1863 SHA512 (hypothesis-6.8.1.tar.gz) = e074d404e578a6beb6c05850f082f49b56b88bcd89c2f4b996240355c80f52be751c8c4a3b8cf4c9e7077cc59662a45735db73929a9982d59441963d94863d35 Size (hypothesis-6.8.1.tar.gz) = 293847 bytes @ 1.93 log @py-hypothesis: update to 6.2.0. 6.2.0 - 2021-02-12 If you use pytest-html, Hypothesis now includes the summary statistics for each test in the HTML report, whether or not the --hypothesis-show-statistics argument was passed to show them in the command-line output. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.92 2021/02/04 11:15:16 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-6.2.0.tar.gz) = eac33cf0f3ea01f76c003248667e00436284e001 RMD160 (hypothesis-6.2.0.tar.gz) = e5aacedb954fb742cab579f50a5b76290b8d82b8 SHA512 (hypothesis-6.2.0.tar.gz) = 764621b1eefebbeccf7a20c9dd9e28f548d7b0c24173233850868ef28e1b7362b91b35235afa45ec395f9d2a300a5bc1d2b5b518376df9331cecf98e94e234e0 Size (hypothesis-6.2.0.tar.gz) = 288790 bytes @ 1.92 log @py-hypothesis: update to 6.1.1. 6.1.1 - 2021-01-31 This patch updates our automatic code formatting to use shed, which includes autoflake, black, isort, and pyupgrade (issue #2780). 6.1.0 - 2021-01-29 This release teaches Hypothesis to distinguish between errors based on the __cause__ or __context__ of otherwise identical exceptions, which is particularly useful when internal errors can be wrapped by a library-specific or semantically appropriate exception such as: try: do_the_thing(foo, timeout=10) except Exception as err: raise FooError("Failed to do the thing") from err Earlier versions of Hypothesis only see the FooError, while we can now distinguish a FooError raised because of e.g. an internal assertion from one raised because of a TimeoutExceeded exception. 6.0.4 - 2021-01-27 This release prevents a race condition inside recursive() strategies. The race condition occurs when the same recursive() strategy is shared among tests that are running in multiple threads (issue #2717). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.91 2021/01/25 10:08:58 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-6.1.1.tar.gz) = e466f1d42a1d93aed7199b381d3f34fcdd07cd05 RMD160 (hypothesis-6.1.1.tar.gz) = 50fe1ac0629c67c909da8ed17928ba58ac929fdf SHA512 (hypothesis-6.1.1.tar.gz) = 942592404340772058158c64e675291ac4077f542183346877fedbfaa6002d9f11fc7bade2cdb633685219c7ef3c8c9846bc4c043f3d5774ec30d3f3e06d7a4c Size (hypothesis-6.1.1.tar.gz) = 288560 bytes @ 1.91 log @py-hypothesis: update to 6.0.3. 6.0.3 - 2021-01-23 This patch improves the type annotations for one_of(), by adding overloads to handle up to five distinct arguments as typing.Union before falling back to typing.Any, as well as annotating the | (__or__) operator for strategies (issue #2765). 6.0.2 - 2021-01-14 This release makes some small improvements to how filtered strategies work. It should improve the performance of shrinking filtered strategies, and may under some (probably rare) circumstances improve the diversity of generated examples. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.90 2021/01/13 11:50:46 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-6.0.3.tar.gz) = 75f848364889efc7f8bb70650a04398c0af22f84 RMD160 (hypothesis-6.0.3.tar.gz) = 6555637bace75a0ec838d48d2dce1ac0483d4f78 SHA512 (hypothesis-6.0.3.tar.gz) = 5f4a065d78b17119b9eef8e81516d24e51087a9fa85307284457268bff51cc2f9c8fb33fd6b48f291159eee6eb7a474b70cf7f0e96c289f73e4f07aa24dbc8ca Size (hypothesis-6.0.3.tar.gz) = 288291 bytes @ 1.90 log @py-hypothesis: update to 6.0.1. 6.0.1 - 2021-01-13 This patch fixes an interaction where our test statistics handling made Pytest’s --junit-xml output fail to validate against the strict xunit2 schema (issue #1975). 6.0.0 - 2021-01-08 Welcome to the next major version of Hypothesis! There are no new features here, as we release those in minor versions. Instead, 6.0 is a chance for us to remove deprecated features (many already converted into no-ops), and turn a variety of warnings into errors. If you were running on the last version of Hypothesis 5.x without any Hypothesis deprecation warnings, this will be a very boring upgrade. In fact, nothing will change for you at all. Changes Many functions now use PEP 3102 keyword-only arguments where passing positional arguments was deprecated since 5.5. hypothesis.extra.django.from_model() no longer accepts model as a keyword argument, where it could conflict with fields named “model”. randoms() now defaults to use_true_random=False. complex_numbers() no longer accepts min_magnitude=None; either use min_magnitude=0 or just omit the argument. hypothesis.provisional.ip4_addr_strings and ip6_addr_strings are removed in favor of ip_addresses(v=...).map(str). register_type_strategy() no longer accepts generic types with type arguments, which were always pretty badly broken. Using function-scoped pytest fixtures is now a health-check error, instead of a warning. Tip The hypothesis codemod command can automatically refactor your code, particularly to convert positional to keyword arguments where those are now required. Hypothesis 5.x 5.49.0 - 2021-01-07 This release adds the function_scoped_fixture health check value, which can be used to suppress the existing warning that appears when @@given is applied to a test that uses pytest function-scoped fixtures. (This warning exists because function-scoped fixtures only run once per function, not once per example, which is usually unexpected and can cause subtle problems.) When this warning becomes a health check error in a future release, suppressing it via Python warning settings will no longer be possible. In the rare case that once-per-function behaviour is intended, it will still be possible to use function_scoped_fixture to opt out of the health check error for specific tests. 5.48.0 - 2021-01-06 This release adds hypothesis.currently_in_test_context(), which can be used to check whether the calling code is currently running inside an @@given or stateful test. This is most useful for third-party integrations and assertion helpers which may wish to use assume() or target(), without also requiring that the helper only be used from property-based tests (issue #2581). 5.47.0 - 2021-01-05 This release upgrades the import logic for ghostwritten tests, handling many cases where imports would previously be missing or from unexpected locations. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.89 2021/01/04 11:55:03 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-6.0.1.tar.gz) = 20d603c6466b3be1a9d95d5fb0687f1b557f58b7 RMD160 (hypothesis-6.0.1.tar.gz) = 0ddecc68c596b38e92a07ce4cf844fed6a574f3e SHA512 (hypothesis-6.0.1.tar.gz) = a760288b985ea17f6d9627848ac95be84f16304743a32e90c6774ef4798bde78c6dad780df6fa71f0c8ccac5f7db0dccef302554e197957137289de19fa44c25 Size (hypothesis-6.0.1.tar.gz) = 288140 bytes @ 1.89 log @py-hypothesis: update to 5.46.0. 5.46.0 - 2021-01-04 This release upgrades from_type(), to infer strategies for type-annotated arguments even if they have defaults when it otherwise falls back to builds() (issue #2708). 5.45.0 - 2021-01-04 This release adds the hypothesis[codemods] extra, which you can use to check for and automatically fix issues such as use of deprecated Hypothesis APIs (issue #2705). 5.44.0 - 2021-01-03 This patch fixes from_type() with the typing_extensions Literal backport on Python 3.6. 5.43.9 - 2021-01-02 This patch fixes issue #2722, where certain orderings of register_type_strategy(), ForwardRef, and from_type() could trigger an internal error. 5.43.8 - 2021-01-02 This patch makes some strategies for collections with a uniqueness constraint much more efficient, including dictionaries(keys=sampled_from(...), values=..) and lists(tuples(sampled_from(...), ...), unique_by=lambda x: x[0]). (related to issue #2036) 5.43.7 - 2021-01-02 This patch extends our faster special case for sampled_from() elements in unique lists() to account for chains of .map(...) and .filter(...) calls (issue #2036). 5.43.6 - 2021-01-02 This patch improves the type annotations on assume() and @@reproduce_failure(). 5.43.5 - 2021-01-01 This patch updates our copyright headers to include 2021. Happy new year! 5.43.4 - 2020-12-24 This change fixes a documentation error in the database setting. The previous documentation suggested that callers could specify a database path string, or the special string ":memory:", but this setting has never actually allowed string arguments. Permitted values are None, and instances of ExampleDatabase. 5.43.3 - 2020-12-11 This patch fixes issue #2696, an internal error triggered when the @@example decorator was used and the verbosity setting was quiet. 5.43.2 - 2020-12-10 This patch improves the error message from the data_frames() strategy when both the rows and columns arguments are given, but there is a missing entry in rows and the corresponding column has no fill value (issue #2678). 5.43.1 - 2020-12-10 This patch improves the error message if builds() is passed an Enum which cannot be called without arguments, to suggest using sampled_from() (issue #2693). 5.43.0 - 2020-12-09 This release adds new timezones() and timezone_keys() strategies (issue #2630) based on the new zoneinfo module in Python 3.9. pip install hypothesis[zoneinfo] will ensure that you have the appropriate backports installed if you need them. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.88 2020/12/09 09:11:58 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-5.46.0.tar.gz) = bbbe43c99edf1d65cc1a46b3bef2a91600822dae RMD160 (hypothesis-5.46.0.tar.gz) = 4f343de8165935216867bbf818100ca6f2ae04b1 SHA512 (hypothesis-5.46.0.tar.gz) = 85b9750ae7ec8ddf93412f5699177e0db6c97808fbba68d99b2cb848790292bffe0582cb41d235869e035ff5bd37922137e35d2ad07da351dd5b2a7f0c026463 Size (hypothesis-5.46.0.tar.gz) = 288118 bytes @ 1.88 log @py-hypothesis: updated to 5.42.3 5.42.2 This patch teaches hypothesis.extra.django.from_field() to infer more efficient strategies by inspecting (not just filtering by) field validators for numeric and string fields. 5.42.1 This patch refactors hypothesis.settings to use type-annotated keyword arguments instead of **kwargs, which makes tab-completion much more useful - as well as type-checkers like mypy. 5.42.0 This patch teaches the magic() ghostwriter to recognise “en/de” function roundtrips other than the common encode/decode pattern, such as encrypt/decrypt or, encipher/decipher. 5.41.5 This patch adds a performance optimisation to avoid saving redundant seeds when using the .fuzz_one_input hook. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.87 2020/12/06 10:51:44 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-5.42.3.tar.gz) = 0c096c8e34eae76c4b4be985a38c359e3836b9fa RMD160 (hypothesis-5.42.3.tar.gz) = 0d3d78ff01bccd3999e43559d255b79e29229119 SHA512 (hypothesis-5.42.3.tar.gz) = de42356f29a3f0c75255f9eb496bc700a45ee3d856906c87493d71c6201ec0be7535b9ce9269c950de5599d3b284866bdfadf3a609f6b846ee11f4db445e77fc Size (hypothesis-5.42.3.tar.gz) = 280219 bytes @ 1.87 log @py-hypothesis: update to 5.41.5. 5.41.5 - 2020-12-05 This patch adds a performance optimisation to avoid saving redundant seeds when using the .fuzz_one_input hook. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.86 2020/11/29 18:08:38 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-5.41.5.tar.gz) = eef0c4d1f936a03fd272c7e54882f3e04d5b4b13 RMD160 (hypothesis-5.41.5.tar.gz) = 1777930675a2b6f93f5f57c5ba04c42d53f26c3c SHA512 (hypothesis-5.41.5.tar.gz) = 3682c2058c95e76cd7eaae2c5f6c112d29dc80075217402d6dfaed0da830077efa7b7ab57f2d970aba6d214de9c2d6a6f53ffa232202cee90ac41228a5057929 Size (hypothesis-5.41.5.tar.gz) = 279590 bytes @ 1.86 log @py-hypothesis: update to 5.41.4. 5.41.4 - 2020-11-28 This patch fixes issue #2657, where passing unicode patterns compiled with re.IGNORECASE to from_regex() could trigger an internal error when casefolding a character creates a longer string (e.g. "\u0130".lower() -> "i\u0370"). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.85 2020/11/27 16:08:13 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-5.41.4.tar.gz) = e1d4a203b9eda390419437705561a09bf41890d1 RMD160 (hypothesis-5.41.4.tar.gz) = be8eb93564eb1d7cb679d6b27ec619529c6f40b9 SHA512 (hypothesis-5.41.4.tar.gz) = d2e332c45403c23eaa7849219f3db14f1cebe026f56c3e10ceee84d153dde2bf08c88a4a2f035473cad712b60b5368f71f44222577d2a6c8368194f5f3388ac9 Size (hypothesis-5.41.4.tar.gz) = 279313 bytes @ 1.85 log @py-hypothesis: update to 5.41.3. This patch adds a final fallback clause to our plugin logic to fail with a warning rather than error on Python < 3.8 when neither the importlib_metadata (preferred) or setuptools (fallback) packages are available. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.84 2020/11/09 14:21:43 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-5.41.3.tar.gz) = 7fbb5d5fbd324f5bfaf66ea97f56fed7c827f697 RMD160 (hypothesis-5.41.3.tar.gz) = bdfd85348a4181c62fe50b49f8d75428dc3fa295 SHA512 (hypothesis-5.41.3.tar.gz) = 463e8927d57db62a9d980a0b5bf878659fe298fd264e0a1765f954b0b7413e55f0bd52ff29e6fa5eeb0c852a80a27d945e48c3cbc803028a4127aa273b7a0fcc Size (hypothesis-5.41.3.tar.gz) = 278772 bytes @ 1.84 log @py-hypothesis: update to 5.41.2. 5.41.2 - 2020-11-08 This patch fixes urls() strategy ensuring that ~ (tilde) is treated as one of the url-safe characters (issue #2658). 5.41.1 - 2020-11-03 This patch improves our CLI help and documentation. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.83 2020/10/31 19:40:30 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-5.41.2.tar.gz) = eefb0a4bef0c99d0047b8098e2dfe76c928e4e18 RMD160 (hypothesis-5.41.2.tar.gz) = 61527f7e6922043e15e8a6027ae296eac30dd66e SHA512 (hypothesis-5.41.2.tar.gz) = f93bb3c228d6a38dde458cac07e7850e10968ec0e898531601a1eb2c265c82895f8151bb8e29a28803c768d63df12dc41a2f952a8adbf5f3aedde3f4c09954ad Size (hypothesis-5.41.2.tar.gz) = 278595 bytes @ 1.83 log @py-hypothesis: update to 5.41.0. 5.41.0 - 2020-10-30 Hypothesis now shrinks examples where the error is raised while drawing from a strategy. This makes complicated custom strategies much easier to debug, at the cost of a slowdown for use-cases where you catch and ignore such errors. 5.40.0 - 2020-10-30 This release teaches from_type() how to handle ChainMap, Counter, Deque, Generator, Match, OrderedDict, Pattern, and collections.abc.Set (issue #2654). 5.39.0 - 2020-10-30 from_type() now knows how to resolve PEP 585 parameterized standard collection types, which are new in Python 3.9 (issue #2629). 5.38.1 - 2020-10-26 This patch fixes builds(), so that when passed infer for an argument with a non-typing.Optional type annotation and a default value of None to build a class which defines an explicit __signature__ attribute, either None or that type may be generated. This is unlikely to happen unless you are using pydantic (issue #2648). 5.38.0 - 2020-10-24 This release improves our support for @@st.composite on a classmethod or staticmethod (issue #2578). 5.37.5 - 2020-10-24 This patch fixes from_type() with Iterable[T] (issue #2645). 5.37.4 - 2020-10-20 This patch teaches the magic() ghostwriter to recognise that pairs of functions like rgb_to_hsv() and hsv_to_rgb() should roundtrip(). 5.37.3 - 2020-10-15 This patch improves builds() and from_type() support for explicitly defined __signature__ attributes, from version 5.8.3, to support generic types from the typing module. Thanks to Rónán Carrigan for identifying and fixing this problem! 5.37.2 - 2020-10-14 This patch fixes from_lark() with version 0.10.1+ of the lark-parser package. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.82 2020/10/14 16:28:46 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-5.41.0.tar.gz) = 2ec948e8c9016019c9ffd4ccb152a3865db43e7e RMD160 (hypothesis-5.41.0.tar.gz) = ff9aa0c43168f5c6aaae52c14b3bb056846a2e0c SHA512 (hypothesis-5.41.0.tar.gz) = b872d6fdd60a7712291490e90536eb6e6ba6d3cb9f030cf4dd30872c8fb561972f59d217ad57140c5e5276a4ed76b18df2a1bc135d9ae74124556a691865dc68 Size (hypothesis-5.41.0.tar.gz) = 277880 bytes @ 1.82 log @py-hypothesis: update to 5.37.1. This patch fixes some broken links in the "lark" extra documentation. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.81 2020/10/06 10:52:29 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-5.37.1.tar.gz) = 12bc4763f1ed7d4308eedea65ea75f3ae63b3495 RMD160 (hypothesis-5.37.1.tar.gz) = b1e999715cf14c9a21a858c4434583dadb486cb0 SHA512 (hypothesis-5.37.1.tar.gz) = aaf45a7a2af76ccf8f730007b817d6673a04d5190ad830ab7c40dbb1e132672c372d62325184fccafc1b2b0772bc0e9678336d166828218da576ffe6238a15e7 Size (hypothesis-5.37.1.tar.gz) = 276812 bytes @ 1.81 log @py-hypothesis: update to 5.37.0. About a year of changes that are only available on a very detailed level. Biggest change: stop supporting Python 2.x Detailed changes here: https://hypothesis.readthedocs.io/en/latest/changes.html @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.80 2020/06/20 07:06:42 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-5.37.0.tar.gz) = 91d42cff1c870436463deba2bc06f153e896fd56 RMD160 (hypothesis-5.37.0.tar.gz) = 59aa568531d4f5e198b309fa8d1581eba5167755 SHA512 (hypothesis-5.37.0.tar.gz) = eb8100ad01c184f1caa0604b751cf701085a6852fe9d555b47e25990221d0470e03937e8adc7812baeff0fe96471aa298e3ae6874ec1c8346f63886f2dff999e Size (hypothesis-5.37.0.tar.gz) = 276833 bytes @ 1.80 log @py-hypothesis: updated to 4.57.1 4.57.1: This patch improves the type hints and documentation for the django extra. There is no runtime change. 4.57.0: This release improves support for the SupportsOp protocols from the typing module when using on from_type() as outlined in issue 2292. The following types now generate much more varied strategies when called with from_type(): typing.SupportsAbs typing.SupportsBytes typing.SupportsComplex typing.SupportsInt typing.SupportsFloat typing.SupportsRound Note that using from_type() with one of the above strategies will not ensure that the the specified function will execute successfully (ie : the strategy returned for from_type(typing.SupportsAbs) may include NaNs or things which cause the abs() function to error. ) 4.56.3: This release fixes a small internal bug in shrinking which could have caused it to perform slightly more tests than were necessary. Fixing this shouldn’t have much effect but it will make shrinking slightly faster. 4.56.2: This release removes an internal heuristic that was no longer providing much benefit. It is unlikely that there will be any user visible effect. 4.56.1: This release further improves the optimisation algorithm for targeted property-based testing. 4.56.0: This release enables deprecation warnings even when the verbosity setting is quiet, in preparation for Hypothesis 5.0. Warnings can still be filtered by the standard mechanisms provided in the standard-library warnings module. 4.55.4: This release improves Hypothesis’s management of the set of test cases it tracks between runs. It will only do anything if you have Phase.target enabled and an example database set. In those circumstances it should result in a more thorough and faster set of examples that are tried on each run. 4.55.3: This release makes Hypothesis better at generating test cases where generated values are duplicated in different parts of the test case. This will be especially noticeable with reasonably complex values, as it was already able to do this for simpler ones such as integers or floats. 4.55.2: This release expands the set of test cases that Hypothesis saves in its database for future runs to include a representative set of “structurally different” test cases - e.g. it might try to save test cases where a given list is empty or not. Currently this is unlikely to have much user visible impact except to produce slightly more consistent behaviour between consecutive runs of a test suite. It is mostly groundwork for future improvements which will exploit this functionality more effectively. 4.55.1: This patch fixes issue 2257, where from_type() could incorrectly generate bytestrings when passed a generic typing.Sequence such as Sequence[set]. 4.55.0: This release adds database support for targeted property-based testing, so the best examples based on the targeting will be saved and reused between runs. This is mostly laying groundwork for future features in this area, but will also make targeted property-based tests more useful during development, where the same tests tend to get run over and over again. If max_examples is large, this may increase memory usage significantly under some circumstances, but these should be relatively rare. This release also adds a dependency on the sortedcontainers package. 4.54.2: This release improves the optimisation algorithm for targeted property-based testing, so that it will find higher quality results more reliably. Specifically, in cases where it would previously have got near a local optimum, it will now tend to achieve the locally optimal value. 4.54.1: This release is mostly internal changes in support of better testing of the core engine. You are unlikely to see much effect, although some internal heuristics have changed slightly. 4.54.0: This release adds a dedicated phase for targeted property-based testing, and (somewhat) improves the targeting algorithm so that it will find higher quality results more reliably. This comes at a cost of making it more likely to get stuck in a local optimum. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.79 2019/12/15 11:28:53 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.57.1.tar.gz) = c5d9af2d819ee3e062d108488077942383e6d71b RMD160 (hypothesis-4.57.1.tar.gz) = a7d04bf21c941fd427b0c1af5e9ab5bd87fc6610 SHA512 (hypothesis-4.57.1.tar.gz) = fa2521699dcbef41594d6556240f7b6106c6da1767e99cbb87caf20ec57b4864b6f8a83b34f67a9fe8b20f814e5287cad35d49c49d322b4ccad8b1769f40c485 Size (hypothesis-4.57.1.tar.gz) = 233528 bytes @ 1.79 log @py-hypothesis: updated to 4.53.3 4.53.3: This patch fixes :func:`~hypothesis.strategies.from_type` with :class:`python:typing.Hashable` and :class:`python:typing.Sized`, which previously failed with an internal error on Python 3.7 or later. 4.53.2: This release reorganises a number of the Hypothesis internal modules into a package structure. If you are only depending on the public API it should have no effect. If you are depending on the internal API (which you shouldn't be, and which we don't guarantee compatibility on) you may have to rename some imports. 4.53.1: This release changes the size distribution of the number of steps run in stateful testing: It will now almost always run the maximum number of steps permitted. 4.53.0: :ref:`statistics` now include the best score seen for each label, which can help avoid the threshold problem when the minimal example shrinks right down to the threshold of failure (:issue:`2180`). 4.52.0: This release changes the stateful_step_count setting to raise an error if set to 0. This is a backwards compatible change because a value of 0 would never have worked and attempting to run it would have resulted in an internal assertion error. 4.51.1: This release makes a small internal change to the distribution of test cases. It is unlikely to have much user visible impact. 4.51.0: This release deprecates use of :func:`@@example `, :func:`@@seed `, or :func:`@@reproduce_failure ` without :func:`@@given `. 4.50.8: This patch makes certain uses of Bundles more efficient in stateful testing (:issue:`2078`). 4.50.7: This release refactors some of Hypothesis's internal interfaces for representing data generation. It should have no user visible effect. 4.50.6: This patch removes some old debugging helpers in our Numpy extra which have not been needed since :issue:`1963` and :issue:`2245`. 4.50.5: This patch fixes :issue:`2229`, where Numpy arrays of unsized strings would only ever have strings of size one due to an interaction between our generation logic and Numpy's allocation strategy. 4.50.4: This patch fixes a rare internal error in strategies for a list of unique items sampled from a short non-unique sequence (:issue:`2247`). The bug was discovered via :pypi:`hypothesis-jsonschema`. 4.50.3: This release improves the error message when :func:`@@settings ` tries to inherit settings from a parent argument that isn't a settings instance. 4.50.2: This release improves Hypothesis's "Falsifying example" output, by breaking output across multiple lines where necessary, and by removing irrelevant information from the stateful testing output. 4.50.1: This patch adds :pypi:`flake8-comprehensions` to our linter suite. There is no user-visible change - expect perhaps via some strange microbenchmarks - but certain parts of the code now have a clear and more consistent style. 4.50.0: This release fixes some cases where we might previously have failed to run the validation logic for some strategies. As a result tests which would previously have been silently testing significantly less than they should may now start to raise InvalidArgument now that these errors are caught. 4.49.0: This release significantly improves the data distribution in :doc:`rule based stateful testing `, by using a technique called Swarm Testing (Groce, Alex, et al. "Swarm testing." Proceedings of the 2012 International Symposium on Software Testing and Analysis. ACM, 2012.) to select which rules are run in any given test case. This should allow it to find many issues that it would previously have missed. This change is likely to be especially beneficial for stateful tests with large numbers of rules. 4.48.1: This release adds some heuristics to test case generation that try to ensure that test cases generated early on will be relatively small. This fixes a bug introduced in :ref:`Hypothesis 4.42.0 ` which would cause occasional :obj:`~hypothesis.HealthCheck.too_slow` failures on some tests. 4.48.0: This release revokes the deprecation of find, as we've now rebuilt it on top of @@given, which means it has minimal maintenance burden and we're happy to support it. 4.47.5: This release rebuilds find() on top of @@given in order to have more code in common. It should have minimal user visible effect. 4.47.4: This patch removes an internal compatibility shim that we no longer need. 4.47.3: This patch fixes several typos in our docstrings and comments, with no change in behaviour. 4.47.2: This release fixes an internal issue where Hypothesis would sometimes generate test cases that were above its intended maximum size. This would only have happened rarely and probably would not have caused major problems when it did. Users of the new :ref:`targeted property-based testing ` might see minor impact (possibly slightly faster tests and slightly worse target scores), but only in the unlikely event that they were hitting this problem. Other users should not see any effect at all. 4.47.1: This release removes some unused code from the core engine. There is no user-visible change. 4.47.0: This release commonizes some code between running explicit examples and normal test execution. The main user visible impact of this is that deadlines are now enforced when running explicit examples. 4.46.1: This patch ensures that a KeyboardInterrupt received during example generation is not treated as a mystery test failure but instead propagates to the top level, not recording the interrupted generation in the conjecture data tree. 4.46.0: This release changes the behaviour of :func:`~hypothesis.strategies.floats` when excluding signed zeros - floats(max_value=0.0, exclude_max=True) can no longer generate -0.0 nor the much rarer floats(min_value=-0.0, exclude_min=True) generate +0.0. The correct interaction between signed zeros and exclusive endpoints was unclear; we now enforce the invariant that :func:`~hypothesis.strategies.floats` will never generate a value equal to an excluded endpoint (:issue:`2201`). If you prefer the old behaviour, you can pass floats(max_value=-0.0) or floats(min_value=0.0) which is exactly equivalent and has not changed. If you had two endpoints equal to zero, we recommend clarifying your tests by using :func:`~hypothesis.strategies.just` or :func:`~hypothesis.strategies.sampled_from` instead of :func:`~hypothesis.strategies.floats`. 4.45.1: This patch improves the error message when invalid arguments are passed to :func:`~hypothesis.stateful.rule` or :func:`~hypothesis.stateful.invariant` (:issue:`2149`). 4.45.0: This release supports :obj:`python:typing.Final` and :obj:`python:typing.TypedDict` in :func:`~hypothesis.strategies.from_type`. 4.44.5: This patch disables our :pypi:`pytest` plugin when running on versions of :pypi:`pytest` before 4.3, the oldest our plugin supports. Note that at time of writing the Pytest developers only support 4.6 and later! Hypothesis tests using :func:`@@given() ` work on any test runner, but our integrations to e.g. avoid example database collisions when combined with @@pytest.mark.parametrize eventually drop support for obsolete versions. 4.44.4: This patch adds some internal comments and clarifications to the Hypothesis implementation. There is no user-visible change. 4.44.3: This patch avoids importing test runners such as :pypi:`pytest`, :pypi:`unittest2`, or :pypi:`nose` solely to access their special "skip test" exception types - if the module is not in :obj:`sys.modules`, the exception can't be raised anyway. This fixes a problem where importing an otherwise unused module could cause spurious errors due to import-time side effects (and possibly -Werror). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.78 2019/11/13 21:08:30 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.53.3.tar.gz) = f622e3eb92cab969c995898b53da3bf58629803c RMD160 (hypothesis-4.53.3.tar.gz) = 4ea3ba46b7a2a02bb8e0c7d7b0e507ea18219b6f SHA512 (hypothesis-4.53.3.tar.gz) = 1102a64d3cd12a5f77fa3af7c062f74b8a04cede32d3c082946127981f88c27ed84f987706640a64bae8aec0562724a3f6d080518231ac82831b20fcc70a661f Size (hypothesis-4.53.3.tar.gz) = 228049 bytes @ 1.78 log @py-hypothesis: updated to 4.44.2 4.44.2: This release fixes :func:`@@given ` to only complain about missing keyword-only arguments if the associated test function is actually called. This matches the behaviour of other InvalidArgument errors produced by @@given. 4.44.1: This patch allows Hypothesis to run in environments that do not specify a __file__, such as a :mod:`python:zipapp` (:issue:`2196`). 4.44.0: This release adds a gufunc argument to :func:`~hypothesis.extra.numpy.mutually_broadcastable_shapes` (:issue:`2174`), which allows us to generate shapes which are valid for functions like :obj:`numpy:numpy.matmul` that require shapes which are not simply broadcastable. 4.43.9: This patch fixes :issue:`2108`, where the first test using :func:`~hypothesis.strategies.data` to draw from :func:`~hypothesis.strategies.characters` or :func:`~hypothesis.strategies.text` would be flaky due to unreliable test timings. Time taken by lazy instantiation of strategies is now counted towards drawing from the strategy, rather than towards the deadline for the test function. 4.43.8: This release ensures that the strategies passed to :func:`@@given ` are properly validated when applied to a test method inside a test class. This should result in clearer error messages when some of those strategies are invalid. 4.43.7: This release changes how Hypothesis manages its search space in cases where it generates redundant data. This should cause it to generate significantly fewer duplicated examples (especially with short integer ranges), and may cause it to produce more useful examples in some cases (especially ones where there is a significant amount of filtering). 4.43.6: This patch refactors width handling in :func:`~hypothesis.strategies.floats`; you may notice small performance improvements but the main purpose is to enable work on :issue:`1704` (improving shrinking of bounded floats). 4.43.5: This patch removes an unused internal flag. There is no user-visible change. 4.43.4: This patch corrects the exception type and error message you get if you attempt to use :func:`~hypothesis.strategies.data` to draw from something which is not a strategy. This never worked, but the error is more helpful now. 4.43.3: We've adopted :pypi:`flake8-bugbear` to check for a few more style issues, and this patch implements the minor internal cleanups it suggested. There is no user-visible change. 4.43.2: This patch fixes the formatting of some documentation, but there is no change to any executed code. 4.43.1: Python 3.8's new :obj:`python:typing.Literal` type - see PEP 586 for details - is now supported in :func:`~hypothesis.strategies.from_type`. 4.43.0: This release adds the strategy :func:`~hypothesis.extra.numpy.mutually_broadcastable_shapes`, which generates multiple array shapes that are mutually broadcast-compatible with an optional user-specified base-shape. This is a generalisation of :func:`~hypothesis.extra.numpy.broadcastable_shapes`. It relies heavily on non-public internals for performance when generating and shrinking examples. We intend to support generating shapes matching a ufunc signature in a future version (:issue:`2174`). 4.42.10: This release fixes :func:`~hypothesis.strategies.from_type` when used with bounded or constrained :obj:`python:typing.TypeVar` objects (:issue:`2094`). Previously, distinct typevars with the same constraints would be treated as all single typevar, and in cases where a typevar bound was resolved to a union of subclasses this could result in mixed types being generated for that typevar. 4.42.9: This patch ensures that the default value :func:`~hypothesis.extra.numpy.broadcastable_shapes` chooses for max_dims is always valid (at most 32), even if you pass min_dims=32. 4.42.8: This patch ensures that we only add profile information to the pytest header if running either pytest or Hypothesis in verbose mode, matching the builtin cache plugin (:issue:`2155`). 4.42.7: This patch makes stateful step printing expand the result of a step into multiple variables when you return :func:`~hypothesis.stateful.multiple` (:issue:`2139`). 4.42.6: This release fixes a bug (:issue:`2166`) where a Unicode character info cache file was generated but never used on subsequent test runs, causing tests to run more slowly than they should have. 4.42.5: This patch corrects some internal documentation. There is no user-visible change. 4.42.4: This release fixes a bug (:issue:`2160`) where decorators applied after :func:`@@settings ` and before :func:`@@given ` were ignored. 4.42.3: This release updates Hypothesis's formatting to the new version of :pypi:`black`, and has absolutely no user visible effect. 4.42.2: This release fixes a bug in :func:`~hypothesis.strategies.recursive` which would have meant that in practice max_leaves was treated as if it was lower than it actually is - specifically it would be capped at the largest power of two smaller than it. It is now handled correctly. 4.42.1: Python 3.8's new :class:`python:typing.SupportsIndex` type - see PEP 357 for details - is now supported in :func:`~hypothesis.strategies.from_type`. 4.42.0: This release significantly simplifies Hypothesis's internal logic for data generation, by removing a number of heuristics of questionable or unproven value. The results of this change will vary significantly from test to test. Most test suites will see significantly faster data generation and lower memory usage. The "quality" of the generated data may go up or down depending on your particular test suites. If you see any significant regressions in Hypothesis's ability to find bugs in your code as a result of this release, please file an issue to let us know. Users of the new :ref:`targeted property-based testing ` functionality are reasonably likely to see improvements in data generation, as this release changes the search algorithm for targeted property based testing to one that is more likely to be productive than the existing approach. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.77 2019/10/22 13:20:27 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.44.2.tar.gz) = 91d4344fe2274298396186705d6bd8432535e203 RMD160 (hypothesis-4.44.2.tar.gz) = 1f79de1c4ba25c9bc24d1a8d66296d268f98b04c SHA512 (hypothesis-4.44.2.tar.gz) = 69986ba9f36be0e22ca9528e80b841a99ce4d2a0113cf5061b99d0cc25d7db6d8abf493f78fb14e385df8150b2188966ee1c26028ed6d82694676e33014a349c Size (hypothesis-4.44.2.tar.gz) = 220872 bytes @ 1.77 log @py-hypothesis: updated to 4.41.3 4.41.3: This patch is to ensure that our internals remain comprehensible to :pypi:`mypy` 0.740 - there is no user-visible change. 4.41.2: This patch changes some internal hashes to SHA384, to better support users subject to FIPS-140. There is no user-visible API change. 4.41.1: This release makes --hypothesis-show-statistics much more useful for tests using a :class:`~hypothesis.stateful.RuleBasedStateMachine`, by simplifying the reprs so that events are aggregated correctly. 4.41.0: This release upgrades the :func:`~hypothesis.strategies.fixed_dictionaries` strategy to support optional keys (:issue:`1913`). 4.40.2: This release makes some minor internal changes in support of improving the Hypothesis test suite. It should not have any user visible impact. 4.40.1: This release changes how Hypothesis checks if a parameter to a test function is a mock object. It is unlikely to have any noticeable effect, but may result in a small performance improvement, especially for test functions where a mock object is being passed as the first argument. 4.40.0: This release fixes a bug where our example database logic did not distinguish between failing examples based on arguments from a @@pytest.mark.parametrize(...). This could in theory cause data loss if a common failure overwrote a rare one, and in practice caused occasional file-access collisions in highly concurrent workloads (e.g. during a 300-way parametrize on 16 cores). For internal reasons this also involves bumping the minimum supported version of :pypi:`pytest` to 4.3 4.39.3: This patch improves our type hints on the :func:`~hypothesis.strategies.emails`, :func:`~hypothesis.strategies.functions`, :func:`~hypothesis.strategies.integers`, :func:`~hypothesis.strategies.iterables`, and :func:`~hypothesis.strategies.slices` strategies, as well as the .filter() method. There is no runtime change, but if you use :pypi:`mypy` or a similar type-checker on your tests the results will be a bit more precise. 4.39.2: This patch improves the performance of unique collections such as :func:`~hypothesis.strategies.sets` of :func:`~hypothesis.strategies.just` or :func:`~hypothesis.strategies.booleans` strategies. They were already pretty good though, so you're unlikely to notice much! 4.39.1: If a value in a dict passed to :func:`~hypothesis.strategies.fixed_dictionaries` is not a strategy, Hypothesis now tells you which one. 4.39.0: This release adds the :func:`~hypothesis.extra.numpy.basic_indices` strategy, to generate basic indexes for arrays of the specified shape (:issue:`1930`). It generates tuples containing some mix of integers, :obj:`python:slice` objects, ... (Ellipsis), and :obj:`numpy:numpy.newaxis`; which when used to index an array of the specified shape produce either a scalar or a shared-memory view of the array. Note that the index tuple may be longer or shorter than the array shape, and may produce a view with another dimensionality again! 4.38.3: This patch defers creation of the .hypothesis directory until we have something to store in it, meaning that it will appear when Hypothesis is used rather than simply installed. 4.38.2: This patch bumps our dependency on :pypi:`attrs` to >=19.2.0; but there are no user-visible changes to Hypothesis. 4.38.1: This is a comment-only patch which tells :pypi:`mypy` 0.730 to ignore some internal compatibility shims we use to support older Pythons. 4.38.0: This release adds the :func:`hypothesis.target` function, which implements experimental support for :ref:`targeted property-based testing ` (:issue:`1779`). By calling :func:`~hypothesis.target` in your test function, Hypothesis can do a hill-climbing search for bugs. If you can calculate a suitable metric such as the load factor or length of a queue, this can help you find bugs with inputs that are highly improbably from unguided generation - however good our heuristics, example diversity, and deduplication logic might be. After all, those features are at work in targeted PBT too! 4.37.0: This release emits a warning if you use the .example() method of a strategy in a non-interactive context. :func:`~hypothesis.given` is a much better choice for writing tests, whether you care about performance, minimal examples, reproducing failures, or even just the variety of inputs that will be tested! 4.36.2: This patch disables part of the :mod:`typing`-based inference for the :pypi:`attrs` package under Python 3.5.0, which has some incompatible internal details (:issue:`2095`). 4.36.1: This patch fixes a bug in strategy inference for :pypi:`attrs` classes where Hypothesis would fail to infer a strategy for attributes of a generic type such as Union[int, str] or List[bool] (:issue:`2091`). 4.36.0: This patch deprecates min_len or max_len of 0 in :func:`~hypothesis.extra.numpy.byte_string_dtypes` and :func:`~hypothesis.extra.numpy.unicode_string_dtypes`. The lower limit is now 1. Numpy uses a length of 0 in these dtypes to indicate an undetermined size, chosen from the data at array creation. However, as the :func:`~hypothesis.extra.numpy.arrays` strategy creates arrays before filling them, strings were truncated to 1 byte. 4.35.1: This patch improves the messaging that comes from invalid size arguments to collection strategies such as :func:`~hypothesis.strategies.lists`. 4.35.0: This release improves the :func:`~hypothesis.extra.lark.from_lark` strategy, tightening argument validation and adding the explicit argument to allow use with terminals that use @@declare instead of a string or regular expression. This feature is required to handle features such as indent and dedent tokens in Python code, which can be generated with the :pypi:`hypothesmith` package. 4.34.0: The :func:`~hypothesis.strategies.from_type` strategy now knows to look up the subclasses of abstract types, which cannot be instantiated directly. This is very useful for :pypi:`hypothesmith` to support :pypi:`libCST`. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.76 2019/08/22 11:05:27 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.41.3.tar.gz) = 54a535d9cc9d84e9f675dbb22a54254cd3e7b604 RMD160 (hypothesis-4.41.3.tar.gz) = 03c8be341bfcb751ca2d3d070cb7e119d88a473d SHA512 (hypothesis-4.41.3.tar.gz) = 8b7541f24f270dbb755238bc40314aa76e9d57a7d7d7c340182f15b66823fc0fc1f54d9ad67e33bc5e6ebe06fb44bfefaa0a4521823cefb9fc3ce3b7fcce909c Size (hypothesis-4.41.3.tar.gz) = 214921 bytes @ 1.76 log @py-hypothesis: updated to 4.33.1 4.33.1: This patch works around a crash when an incompatible version of Numpy is installed under PyPy 5.10 (Python 2.7). If you are still using Python 2, please upgrade to Python 3 as soon as possible - it will be unsupported at the end of this year. 4.33.0: This release improves the :func:~hypothesis.provisional.domains strategy, as well as the :func:~hypothesis.provisional.urls and the :func:~hypothesis.strategies.emails strategies which use it. These strategies now use the full IANA list of Top Level Domains and are correct as per :rfc:1035. Passing tests using these strategies may now fail. 4.32.3: This patch tidies up the repr of several settings-related objects, at runtime and in the documentation, and deprecates the undocumented edge case that phases=None was treated like phases=tuple(Phase). It *also* fixes :func:~hypothesis.extra.lark.from_lark with :pypi:lark 0.7.2 and later. 4.32.2: This patch updates some internal comments for :pypi:mypy 0.720. There is no user-visible impact. 4.32.1: This release changes how the shrinker represents its progress internally. For large generated test cases this should result in significantly less memory usage and possibly faster shrinking. Small generated test cases may be slightly slower to shrink but this shouldn't be very noticeable. 4.32.0: This release makes :func:~hypothesis.extra.numpy.arrays more pedantic about elements strategies that cannot be exactly represented as array elements. In practice, you will see new warnings if you were using a float16 or float32 dtype without passing :func:~hypothesis.strategies.floats the width=16 or width=32 arguments respectively. The previous behaviour could lead to silent truncation, and thus some elements being equal to an explicitly excluded bound (:issue:1899). 4.31.1: This patch changes an internal use of MD5 to SHA hashes, to better support users subject to FIPS-140. There is no user-visible or API change. 4.31.0: This release simplifies the logic of the :attr:~hypothesis.settings.print_blob setting by removing the option to set it to PrintSettings.INFER. As a result the print_blob setting now takes a single boolean value, and the use of PrintSettings is deprecated. 4.28.2: This patch improves the docstrings of several Hypothesis strategies, by clarifying markup and adding cross-references. There is no runtime change. 4.28.1: This patch improves the behaviour of the :func:~hypothesis.strategies.text strategy when passed an alphabet which is not a strategy. The value is now interpreted as whitelist_characters to :func:~hypothesis.strategies.characters instead of a sequence for :func:~hypothesis.strategies.sampled_from, which standardises the distribution of examples and the shrinking behaviour. You can get the previous behaviour by using lists(sampled_from(alphabet)).map("".map) instead. 4.28.0: This release deprecates find(). The .example() method is a better replacement if you want *an* example, and for the rare occasions where you want the *minimal* example you can get it from :func:@@given . :func:@@given has steadily outstripped find() in both features and performance over recent years, and as we do not have the resources to maintain and test both we think it is better to focus on just one. 4.27.0: This release refactors the implementation of the .example() method, to more accurately represent the data which will be generated by :func:@@given . As a result, calling s.example() on an empty strategy s (such as :func:~hypothesis.strategies.nothing) now raises Unsatisfiable instead of the old NoExamples exception. 4.26.4: This patch ensures that the Pandas extra will keep working when Python 3.8 removes abstract base classes from the top-level :obj:python:collections namespace. This also fixes the relevant warning in Python 3.7, but there is no other difference in behaviour and you do not need to do anything. 4.26.3: This release fixes :issue:2027, by changing the way Hypothesis tries to generate distinct examples to be more efficient. This may result in slightly different data distribution, and should improve generation performance in general, but should otherwise have minimal user impact. 4.26.2: This release fixes :issue:1864, where some simple tests would perform very slowly, because they would run many times with each subsequent run being progressively slower. They will now stop after a more reasonable number of runs without hitting this problem. Unless you are hitting exactly this issue, it is unlikely that this release will have any effect, but certain classes of custom generators that are currently very slow may become a bit faster, or start to trigger health check failures. 4.26.1: This release adds the strategy :func:~hypothesis.extra.numpy.integer_array_indices, which generates tuples of Numpy arrays that can be used for advanced indexing _ to select an array of a specified shape. 4.26.0: This release significantly improves the performance of drawing unique collections whose elements are drawn from :func:~hypothesis.strategies.sampled_from strategies. As a side effect, this detects an error condition that would previously have passed silently: When the min_size argument on a collection with distinct elements is greater than the number of elements being sampled, this will now raise an error. 4.25.1: This release removes some defunct internal functionality that was only being used for testing. It should have no user visible impact. 4.25.0: This release deprecates and disables the buffer_size setting, which should have been treated as a private implementation detail all along. We recommend simply deleting this settings argument. 4.24.6: This patch makes :func:~hypothesis.strategies.datetimes more efficient, as it now handles short months correctly by construction instead of filtering. 4.24.5: This patch improves the development experience by simplifying the tracebacks you will see when e.g. you have used the .map(...) method of a strategy and the mapped function raises an exception. No new exceptions can be raised, nor existing exceptions change anything but their traceback. We're simply using if-statements rather than exceptions for control flow in a certain part of the internals! 4.24.4: This patch fixes :issue:2014, where our compatibility layer broke with version 3.7.4 of the :pypi:typing module backport on PyPI. This issue only affects Python 2. We remind users that Hypothesis, like many other packages, will drop Python 2 support on 2020-01-01 __ and already has several features that are only available on Python 3. 4.24.3: This patch improves the implementation of an internal wrapper on Python 3.8 beta1 (and will break on the alphas; but they're not meant to be stable). On other versions, there is no change at all. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.75 2019/06/12 09:51:52 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.33.1.tar.gz) = 81f91edf5c56c3b83b724dbe171be33414adcc1c RMD160 (hypothesis-4.33.1.tar.gz) = 3a8aa39f23171d67b0f6ff2a156725f5d74b218e SHA512 (hypothesis-4.33.1.tar.gz) = ff0ce215719f1c24824e9de39b33dd7a5e43abd388456f0d1728a430a54d93f207b4be89aad84a77d41b3feb7cc0d053614c9cd35b1c23b7eb3969ed31a7aede Size (hypothesis-4.33.1.tar.gz) = 208929 bytes @ 1.75 log @py-hypothesis: updated to 4.24.3 4.24.3: This patch improves the implementation of an internal wrapper on Python 3.8 beta1 (and will break on the alphas; but they're not meant to be stable). On other versions, there is no change at all. 4.24.2: Deprecation messages for functions in hypothesis.extra.django.models now explicitly name the deprecated function to make it easier to track down usages. Thanks to Kristian Glass for this contribution! 4.24.1: This patch fixes :issue:`1999`, a spurious bug raised when a :func:`@@st.composite ` function was passed a keyword-only argument. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.74 2019/06/02 08:30:18 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.24.3.tar.gz) = 966f16a57a4a0744cd0b39b1d8ba5476f530a423 RMD160 (hypothesis-4.24.3.tar.gz) = f722cfdd5c893194423b2fd945351c041722b7ba SHA512 (hypothesis-4.24.3.tar.gz) = 9132c75c5bb90782b382c6a47ce34996ad5954494e735bec538556cdca1b36a7f14810961b6f31412831495b9e599577d4b01a535626d5bd5102773351ac8d08 Size (hypothesis-4.24.3.tar.gz) = 201295 bytes @ 1.74 log @py-hypothesis: updated to 4.24.0 4.24.0: This release deprecates GenericStateMachine, in favor of :class:~hypothesis.stateful.RuleBasedStateMachine. Rule-based stateful testing is significantly faster, especially during shrinking. If your use-case truly does not fit rule-based stateful testing, we recommend writing a custom test function which drives your specific control-flow using :func:~hypothesis.strategies.data. 4.23.9: This patch fixes a very rare example database issue with file permissions. When running a test that uses both :func:@@given and pytest.mark.parametrize, using :pypi:pytest-xdist on Windows, with failing examples in the database, two attempts to read a file could overlap and we caught FileNotFound but not other OSErrors. 4.23.8: This patch has a minor cleanup of the internal engine. There is no user-visible impact. 4.23.7: This patch clarifies some error messages when the test function signature is incompatible with the arguments to :func:@@given , especially when the :obj:@@settings() decorator is also used (:issue:1978). 4.23.6: This release adds the :pypi:pyupgrade fixer to our code style, for consistent use of dict and set literals and comprehensions. 4.23.5: This release slightly simplifies a small part of the core engine. There is no user-visible change. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.73 2019/05/09 11:53:58 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.24.0.tar.gz) = 10e01c42a3ec2488aa93f9a27c65c05a2261fb59 RMD160 (hypothesis-4.24.0.tar.gz) = 4bd2277a05b4ff81ca1fb9eaae5b5857ffcbcb52 SHA512 (hypothesis-4.24.0.tar.gz) = 56cb0b167072fb81f44ebf3507c44f4cc79b545b90b49788e0101e2bd3a8809f0d6779ac0f5d8ddba88812b37dc1cfe83cd00f6fa4c287147cbf34ef0b6400dd Size (hypothesis-4.24.0.tar.gz) = 201010 bytes @ 1.73 log @py-hypothesis: updated to 4.23.4 4.23.4: Fixes a minor formatting issue the docstring of from_type() 4.23.3: Adds a recipe to the docstring of from_type() that describes a means for drawing values for “everything except” a specified type. This recipe is especially useful for writing tests that perform input-type validation. 4.23.2: This patch uses autoflake to remove some pointless pass statements, which improves our workflow but has no user-visible impact. 4.23.1: This patch fixes an OverflowError in from_type(xrange) on Python 2. It turns out that not only do the start and stop values have to fit in a C long, but so does stop - start. We now handle this even on 32bit platforms, but remind users that Python2 will not be supported after 2019 without specific funding. 4.23.0: This release implements the slices() strategy, to generate slices of a length-size sequence. 4.22.3: This patch exposes DataObject, solely to support more precise type hints. Objects of this type are provided by data(), and can be used to draw examples from strategies intermixed with your test code. 4.22.2: This patch fixes the very rare issue 1798 in array_dtypes(), which caused an internal error in our tests. 4.22.1: This patch fixes a rare bug in from_type(range). 4.22.0: The unique_by argument to lists now accepts a tuple of callables such that every element of the generated list will be unique with respect to each callable in the tuple. 4.21.1: This patch cleans up the internals of one_of(). You may see a slight change to the distribution of examples from this strategy but there is no change to the public API. 4.21.0: The from_type() strategy now supports slice objects. 4.20.0: This release improves the array_shapes() strategy, to choose an appropriate default for max_side based on the min_side, and max_dims based on the min_dims. An explicit error is raised for dimensions greater than 32, which are not supported by Numpy, as for other invalid combinations of arguments. 4.19.0: The from_type() strategy now supports range objects (or xrange on Python 2). 4.18.3: This release fixes a very rare edge case in the test-case mutator, which could cause an internal error with certain unusual tests. 4.18.2: This patch makes Hypothesis compatible with the Python 3.8 alpha, which changed the representation of code objects to support positional-only arguments. Note however that Hypothesis does not (yet) support such functions as e.g. arguments to builds() or inputs to @@given. 4.18.1: This patch improves the performance of unique collections such as sets() when the elements are drawn from a sampled_from() strategy. 4.18.0: This release adds the functions() strategy, which can be used to imitate your ‘real’ function for callbacks. 4.17.2: This release refactors stateful rule selection to share the new machinery with sampled_from() instead of using the original independent implementation. 4.17.1: This patch allows Hypothesis to try a few more examples after finding the first bug, in hopes of reporting multiple distinct bugs. The heuristics described in issue 847 ensure that we avoid wasting time on fruitless searches, while still surfacing each bug as soon as possible. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.72 2019/04/16 07:14:00 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.23.4.tar.gz) = dd1d15cc36d8428ef054559c0cc0a6dca7af9b72 RMD160 (hypothesis-4.23.4.tar.gz) = 12fb6ff94c98ccc399f7dc92d8ff7d05599cd1d5 SHA512 (hypothesis-4.23.4.tar.gz) = 210f4bcbd73c42c683000f62e00fca6f7b626de4966d0513ac879fa4b87d25558c9da905aa5a14f497f9eb55b8d3a5ecc44922f5259b85ac7fcd534b5c31adec Size (hypothesis-4.23.4.tar.gz) = 201267 bytes @ 1.72 log @py-hypothesis: updated to 4.17.0 4.17.0 This release adds the strategy :func:~hypothesis.extra.numpy.broadcastable_shapes, which generates array shapes that are broadcast-compatible with a provided shape. 4.16.0 This release allows :func:~hypothesis.strategies.register_type_strategy to be used with :obj:python:typing.NewType instances. This may be useful to e.g. provide only positive integers for :func:from_type(UserId) with a UserId = NewType('UserId', int) type. 4.15.0 This release supports passing a :class:~python:datetime.timedelta as the :obj:~hypothesis.settings.deadline setting, so you no longer have to remember that the number is in milliseconds (:issue:1900). Thanks to Damon Francisco for this change! 4.14.7 This patch makes the type annotations on hypothesis.extra.dateutil compatible with :pypi:mypy 0.700. 4.14.6 This release fixes a bug introduced in :ref:Hypothesis 4.14.3 that would sometimes cause :func:sampled_from(...).filter(...) to encounter an internal assertion failure when there are three or fewer elements, and every element is rejected by the filter. 4.14.5 This patch takes the previous efficiency improvements to :func:sampled_from(...).filter(...) strategies that reject most elements, and generalises them to also apply to sampled_from(...).filter(...).filter(...) and longer chains of filters. 4.14.4 This release fixes a bug that prevented :func:~hypothesis.strategies.random_module from correctly restoring the previous state of the random module. The random state was instead being restored to a temporary deterministic state, which accidentally caused subsequent tests to see the same random values across multiple test runs. 4.14.3 This patch adds an internal special case to make :func:sampled_from(...).filter(...) much more efficient when the filter rejects most elements @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.71 2019/04/02 09:40:30 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.17.0.tar.gz) = 979d86f3a31b386e42eabf73cb5bb35a2cd1e0ba RMD160 (hypothesis-4.17.0.tar.gz) = 3e9a0ee7f7333423cebef1129571ff8082e8dd3d SHA512 (hypothesis-4.17.0.tar.gz) = 156a96537797d26d7f8438b0809f5379cbd0dd4c23d2bf26937b1a5bf5c55e72f0c9dcbb68ef34f83f9eb6a06085a588146db18dcff9a03dc2d22902f9b793db Size (hypothesis-4.17.0.tar.gz) = 198591 bytes @ 1.71 log @py-hypothesis: updated to 4.14.2 4.14.2 This patch improves the error message if the function f in :ref:s.flatmap(f) does not return a strategy. 4.14.1 This release modifies how Hypothesis selects operations to run during shrinking, by causing it to deprioritise previously useless classes of shrink until others have reached a fixed point. This avoids certain pathological cases where the shrinker gets very close to finishing and then takes a very long time to finish the last small changes because it tries many useless shrinks for each useful one towards the end. It also should cause a more modest improvement (probably no more than about 30%) in shrinking performance for most tests. 4.14.0 This release blocks installation of Hypothesis on Python 3.4, which :PEP:reached its end of life date on 2019-03-18 <429>. This should not be of interest to anyone but downstream maintainers - if you are affected, migrate to a secure version of Python as soon as possible or at least seek commercial support. 4.13.0 This release makes it an explicit error to call :func:floats(min_value=inf, exclude_min=True) or :func:floats(max_value=-inf, exclude_max=True) , as there are no possible values that can be generated (:issue:1859). :func:floats(min_value=0.0, max_value=-0.0) is now deprecated. While 0. == -0. and we could thus generate either if comparing by value, violating the sequence ordering of floats is a special case we don't want or need. 4.12.1 This release should significantly reduce the amount of memory that Hypothesis uses for representing large test cases, by storing information in a more compact representation and only unpacking it lazily when it is first needed. 4.12.0 This update adds the :obj:~hypothesis.settings.report_multiple_bugs setting, which you can use to disable multi-bug reporting and only raise whichever bug had the smallest minimal example. This is occasionally useful when using a debugger or tools that annotate tracebacks via introspection. 4.11.7 This change makes a tiny improvement to the core engine's bookkeeping. There is no user-visible change. 4.11.6 This release changes some of Hypothesis's internal shrinking behaviour in order to reduce memory usage and hopefully improve performance. 4.11.5 This release adds a micro-optimisation to how Hypothesis handles debug reporting internally. Hard to shrink test may see a slight performance improvement, but in most common scenarios it is unlikely to be noticeable. 4.11.4 This release removes some redundant code that was no longer needed but was still running a significant amount of computation and allocation on the hot path. This should result in a modest speed improvement for most tests, especially those with large test cases. 4.11.3 This release adds a micro-optimisation to how Hypothesis caches test cases. This will cause a small improvement in speed and memory usage for large test cases, but in most common scenarios it is unlikely to be noticeable. 4.11.2 This release removes some internal code that populates a field that is no longer used anywhere. This should result in some modest performance and speed improvements and no other user visible effects. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.70 2019/03/13 08:51:48 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.14.2.tar.gz) = dad8e20b668b68be9bf9b4d0884e6674275d9c8c RMD160 (hypothesis-4.14.2.tar.gz) = 360932a5751ad19eae200686351aa7f1886ab9e9 SHA512 (hypothesis-4.14.2.tar.gz) = 08174c678f4707dba2f5d1b07369239636f9f564738df71eac13f1a7f85f56f489cf4c0753e84d688519db9b99fbd37147b87823c74938ef4e5ec7f8203f7433 Size (hypothesis-4.14.2.tar.gz) = 195165 bytes @ 1.70 log @py-hypothesis: updated to 4.11.1 4.11.1: This is a formatting-only patch, enabled by a new version of :pypi:isort. 4.11.0: This release deprecates :func:~hypothesis.strategies.sampled_from with empty sequences. This returns :func:~hypothesis.strategies.nothing, which gives a clear error if used directly... but simply vanishes if combined with another strategy. Tests that silently generate less than expected are a serious problem for anyone relying on them to find bugs, and we think reliability more important than convenience in this case. 4.10.0: This release improves Hypothesis's to detect flaky tests, by noticing when the behaviour of the test changes between runs. In particular this will notice many new cases where data generation depends on external state (e.g. external sources of randomness) and flag those as flaky sooner and more reliably. The basis of this feature is a considerable reengineering of how Hypothesis stores its history of test cases, so on top of this its memory usage should be considerably reduced. 4.9.0: This release adds the strategy :func:~hypothesis.extra.numpy.valid_tuple_axes, which generates tuples of axis-indices that can be passed to the axis argument in NumPy's sequential functions (e.g. :func:numpy:numpy.sum). 4.8.0: This release significantly tightens validation in :class:hypothesis.settings. :obj:~hypothesis.settings.max_examples, :obj:~hypothesis.settings.buffer_size, and :obj:~hypothesis.settings.stateful_step_count must be positive integers; :obj:~hypothesis.settings.deadline must be a positive number or None; and :obj:~hypothesis.settings.derandomize must be either True or False. As usual, this replaces existing errors with a more helpful error and starts new validation checks as deprecation warnings. 4.7.19: This release makes some micro-optimisations to certain calculations performed in the shrinker. These should particularly speed up large test cases where the shrinker makes many small changes. It will also reduce the amount allocated, but most of this is garbage that would have been immediately thrown away, so you probably won't see much effect specifically from that. 4.7.18: This patch removes some overhead from :func:~hypothesis.extra.numpy.arrays with a constant shape and dtype. The resulting performance improvement is modest, but worthwile for small arrays. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.69 2019/03/02 14:22:10 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.11.1.tar.gz) = f71c17aee3499e70dfbc0e4eee2f4c5e400e7d1a RMD160 (hypothesis-4.11.1.tar.gz) = eeb3b8896af8bf25d36c20ca1606cf68012b58f1 SHA512 (hypothesis-4.11.1.tar.gz) = 6f8db484f6e2607b9e0e4e1307e823d69699ac5aff95acc4f140445f365e6004c72f47cece6b0b4759333c10bafa6cac66ec5c5196fce91dfbd64ac660215dce Size (hypothesis-4.11.1.tar.gz) = 192116 bytes @ 1.69 log @py-hypothesis: updated to 4.7.17 4.7.17: This release makes some micro-optimisations within Hypothesis's internal representation of test cases. This should cause heavily nested test cases to allocate less during generation and shrinking, which should speed things up slightly. 4.7.16: This changes the order in which Hypothesis runs certain operations during shrinking. This should significantly decrease memory usage and speed up shrinking of large examples. 4.7.15: This release allows Hypothesis to calculate a number of attributes of generated test cases lazily. This should significantly reduce memory usage and modestly improve performance, especially for large test cases. 4.7.14: This release reduces the number of operations the shrinker will try when reordering parts of a test case. This should in some circumstances significantly speed up shrinking. It may result in different final test cases, and if so usually slightly worse ones, but it should not generally have much impact on the end result as the operations removed were typically useless. 4.7.13: This release changes how Hypothesis reorders examples within a test case during shrinking. This should make shrinking considerably faster. 4.7.12: This release slightly improves the shrinker's ability to replace parts of a test case with their minimal version, by allowing it to do so in bulk rather than one at a time. Where this is effective, shrinker performance should be modestly improved. 4.7.11: This release makes some micro-optimisations to common operations performed during shrinking. Shrinking should now be slightly faster, especially for large examples with relatively fast test functions. 4.7.10: This release is a purely internal refactoring of Hypothesis's API for representing test cases. There should be no user visible effect. 4.7.9: This release changes certain shrink passes to make them more efficient when they aren't making progress. 4.7.8: This patch removes some unused code, which makes the internals a bit easier to understand. There is no user-visible impact. 4.7.7: This release reduces the number of operations the shrinker will try when reordering parts of a test case. This should in some circumstances significantly speed up shrinking. It may result in different final test cases, and if so usually slightly worse ones, but it should not generally have much impact on the end result as the operations removed were typically useless. 4.7.6: This patch removes some unused code from the shrinker. There is no user-visible change. 4.7.5: This release changes certain shrink passes to make them adaptive - that is, in cases where they are successfully making progress they may now do so significantly faster. 4.7.4: This is a docs-only patch, noting that because the :pypi:lark-parser is under active development at version 0.x, hypothesis[lark] APIs may break in minor releases if necessary to keep up with the upstream package. 4.7.3: This changes Hypothesis to no longer import various test frameworks by default (if they are installed). which will speed up the initial import hypothesis call. 4.7.2: This release changes Hypothesis's internal representation of a test case to calculate some expensive structural information on demand rather than eagerly. This should reduce memory usage a fair bit, and may make generation somewhat faster. 4.7.1: This release refactors the internal representation of previously run test cases. The main thing you should see as a result is that Hypothesis becomes somewhat less memory hungry. 4.7.0: This patch allows :func:~hypothesis.extra.numpy.array_shapes to generate shapes with side-length or even dimension zero, though the minimum still defaults to one. These shapes are rare and have some odd behavior, but are particularly important to test for just that reason! In a related bigfix, :func:~hypothesis.extra.numpy.arrays now supports generating zero-dimensional arrays with dtype=object and a strategy for iterable elements. Previously, the array element would incorrectly be set to the first item in the generated iterable. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.68 2019/02/16 23:36:02 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.7.17.tar.gz) = 8769e768ee0402ff25af21723974e5ca626439b1 RMD160 (hypothesis-4.7.17.tar.gz) = 1e4a9bcd8314d8e1d315ff5b96737bed29ce6cae SHA512 (hypothesis-4.7.17.tar.gz) = 41cab0226e106c9120aa33ac86304099c4e95ecbbb7e1e5a0c8aefa9d69eacdda14593dbc8ed552e40580d45c0952bae4d6b843ecc1b41923fa10efe3fb6fc11 Size (hypothesis-4.7.17.tar.gz) = 189292 bytes @ 1.68 log @py-hypothesis: updated to 4.5.11 4.5.11: This release fixes :issue:1813, a bug introduced in :ref:3.59.1 , which caused :py:meth:~hypothesis.strategies.random_module to no longer affect the body of the test: Although Hypothesis would claim to be seeding the random module in fact tests would always run with a seed of zero. 4.5.10: This patch fixes an off-by-one error in the maximum length of :func:~hypothesis.strategies.emails. Thanks to Krzysztof Jurewicz for :pull:1812. 4.5.9: This patch removes some unused code from the shrinker. There is no user-visible change. 4.5.8: This release fixes an internal IndexError in Hypothesis that could sometimes be triggered during shrinking. 4.5.7: This release modifies the shrinker to interleave different types of reduction operations, e.g. switching between deleting data and lowering scalar values rather than trying entirely deletions then entirely lowering. This may slow things down somewhat in the typical case, but has the major advantage that many previously difficult to shrink examples should become much faster, because the shrinker will no longer tend to stall when trying some ineffective changes to the shrink target but will instead interleave it with other more effective operations. 4.5.6: This release makes a number of internal changes to the implementation of :func:hypothesis.extra.lark.from_lark. These are primarily intended as a refactoring, but you may see some minor improvements to performance when generating large strings, and possibly to shrink quality. 4.5.5: This patch prints an explanatory note when :issue:1798 is triggered, because the error message from Numpy is too terse to locate the problem. 4.5.4: In Python 2, long integers are not allowed in the shape argument to :func:~hypothesis.extra.numpy.arrays. Thanks to Ryan Turner for fixing this. 4.5.3: This release makes a small internal refactoring to clarify how Hypothesis instructs tests to stop running when appropriate. There is no user-visible change. 4.5.2: This release standardises all of the shrinker's internal operations on running in a random order. The main effect you will see from this that it should now be much less common for the shrinker to stall for a long time before making further progress. In some cases this will correspond to shrinking more slowly, but on average it should result in faster shrinking. 4.5.1: This patch updates some docstrings, but has no runtime changes. 4.5.0: This release adds exclude_min and exclude_max arguments to :func:~hypothesis.strategies.floats, so that you can easily generate values from open or half-open intervals @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.67 2019/02/01 11:50:30 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.5.11.tar.gz) = aa75db13ad111b8a51745b29b446682d341de463 RMD160 (hypothesis-4.5.11.tar.gz) = fd64dc40f590270e3b0df9c43e5cfd6fc274ad5e SHA512 (hypothesis-4.5.11.tar.gz) = be324fa7952575b15f3b78336fd6acc4982225d0daa85c86f419ac7663eb37be5bb20b5c47d30e165a74e1baecdc93ee877a0aa435aa44a81670453c35169dd2 Size (hypothesis-4.5.11.tar.gz) = 183116 bytes @ 1.67 log @py-hypothesis: updated to 4.4.3 4.4.3: This release fixes an open file leak that used to cause ResourceWarnings. 4.4.2: This release changes Hypothesis's internal approach to caching the results of executing test cases. The result should be that it is now significantly less memory hungry, especially when shrinking large test cases. Some tests may get slower or faster depending on whether the new or old caching strategy was well suited to them, but any change in speed in either direction should be minor. 4.4.1: This patch tightens up some of our internal heuristics to deal with shrinking floating point numbers, which will now run in fewer circumstances. You are fairly unlikely to see much difference from this, but if you do you are likely to see shrinking become slightly faster and/or producing slightly worse results. 4.4.0: This release adds the :func:~hypothesis.extra.django.from_form function, which allows automatic testing against Django forms. (:issue:35) 4.3.0: This release deprecates HealthCheck.hung_test and disables the associated runtime check for tests that ran for more than five minutes. Such a check is redundant now that we enforce the deadline and max_examples setting, which can be adjusted independently. 4.2.0: This release adds a new module, hypothesis.extra.lark, which you can use to generate strings matching a context-free grammar. In this initial version, only :pypi:lark-parser EBNF grammars are supported, by the new :func:hypothesis.extra.lark.from_lark function. 4.1.2: This patch fixes a very rare overflow bug (:issue:1748) which could raise an InvalidArgument error in :func:~hypothesis.strategies.complex_numbers even though the arguments were valid. 4.1.1: This release makes some improvements to internal code organisation and documentation and has no impact on behaviour. 4.1.0: This release adds :func:~hypothesis.register_random, which registers random.Random instances or compatible objects to be seeded and reset by Hypothesis to ensure that test cases are deterministic. We still recommend explicitly passing a random.Random instance from :func:~hypothesis.strategies.randoms if possible, but registering a framework-global state for Hypothesis to manage is better than flaky tests! 4.0.2: This patch fixes :issue:1387, where bounded :func:~hypothesis.strategies.integers with a very large range would almost always generate very large numbers. Now, we usually use the same tuned distribution as unbounded :func:~hypothesis.strategies.integers. 4.0.1: This release randomizes the order in which the shrinker tries some of its initial normalization operations. You are unlikely to see much difference as a result unless your generated examples are very large. In this case you may see some performance improvements in shrinking. 4.0.0: Welcome to the next major version of Hypothesis! There are no new features here, as we release those in minor versions. Instead, 4.0 is a chance for us to remove deprecated features (many already converted into no-ops), and turn a variety of warnings into errors. If you were running on the last version of Hypothesis 3.x without any Hypothesis deprecation warnings (or using private APIs), this will be a very boring upgrade. In fact, nothing will change for you at all. Per :ref:our deprecation policy , warnings added in the last six months (after 2018-07-05) have not been converted to errors. Removals hypothesis.extra.datetime has been removed, replaced by the core date and time strategies. hypothesis.extra.fakefactory has been removed, replaced by general expansion of Hypothesis' strategies and the third-party ecosystem. The SQLite example database backend has been removed. Settings The :obj:~hypothesis.settings.deadline is now enforced by default, rather than just emitting a warning when the default (200 milliseconds per test case) deadline is exceeded. The database_file setting has been removed; use :obj:~hypothesis.settings.database. The perform_health_check setting has been removed; use :obj:~hypothesis.settings.suppress_health_check. The max_shrinks setting has been removed; use :obj:~hypothesis.settings.phases to disable shrinking. The min_satisfying_examples, max_iterations, strict, timeout, and use_coverage settings have been removed without user-configurable replacements. Strategies The elements argument is now required for collection strategies. The average_size argument was a no-op and has been removed. Date and time strategies now only accept min_value and max_value for bounds. :func:~hypothesis.strategies.builds now requires that the thing to build is passed as the first positional argument. Alphabet validation for :func:~hypothesis.strategies.text raises errors, not warnings, as does category validation for :func:~hypothesis.strategies.characters. The choices() strategy has been removed. Instead, you can use :func:~hypothesis.strategies.data with :func:~hypothesis.strategies.sampled_from, so choice(elements) becomes data.draw(sampled_from(elements)). The streaming() strategy has been removed. Instead, you can use :func:~hypothesis.strategies.data and replace iterating over the stream with data.draw() calls. :func:~hypothesis.strategies.sampled_from and :func:~hypothesis.strategies.permutations raise errors instead of warnings if passed a collection that is not a sequence. Miscellaneous Applying :func:@@given to a test function multiple times was really inefficient, and now it's also an error. Using the .example() method of a strategy (intended for interactive exploration) within another strategy or a test function always weakened data generation and broke shrinking, and now it's an error too. The HYPOTHESIS_DATABASE_FILE environment variable is no longer supported, as the database_file setting has been removed. The HYPOTHESIS_VERBOSITY_LEVEL environment variable is no longer supported. You can use the --hypothesis-verbosity pytest argument instead, or write your own setup code using the settings profile system to replace it. Using :func:@@seed or :obj:derandomize=True now forces :obj:database=None to ensure results are in fact reproducible. If :obj:~hypothesis.settings.database is not None, doing so also emits a HypothesisWarning. Unused exception types have been removed from hypothesis.errors; namely AbnormalExit, BadData, BadTemplateDraw, DefinitelyNoSuchExample, Timeout, and WrongFormat. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.66 2019/01/07 08:31:28 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-4.4.3.tar.gz) = 238155df3aef71ee67afce1ef3f003bc2e186908 RMD160 (hypothesis-4.4.3.tar.gz) = 8a3d01dddaaaae5efe4469a6018790e3942df782 SHA512 (hypothesis-4.4.3.tar.gz) = 692c2674b63189a2aab0986bc420cabc89d0a57164749dafb9c13687284c04f1e0fc1ee2e45ab9bad6075e26a236b7ec7e30b7be28aee4815f06b888f9f1bcfc Size (hypothesis-4.4.3.tar.gz) = 186397 bytes @ 1.66 log @py-hypothesis: updated to 3.86.5 3.86.5: This is a docs-only patch, which fixes some typos and removes a few hyperlinks for deprecated features. 3.86.4: This release changes the order in which the shrinker tries to delete data. For large and slow tests this may significantly improve the performance of shrinking. 3.86.3: This release fixes a bug where certain places Hypothesis internal errors could be raised during shrinking when a user exception occurred that suppressed an exception Hypothesis uses internally in its generation. The two known ways to trigger this problem were: Errors raised in stateful tests’ teardown function. Errors raised in finally blocks that wrapped a call to data.draw. These cases will now be handled correctly. 3.86.2: This patch is a docs-only change to fix a broken hyperlink. 3.86.1: This patch fixes issue 1732, where integers() would always return long values on Python 2. 3.86.0: This release ensures that infinite numbers are never generated by floats() with allow_infinity=False, which could previously happen in some cases where one bound was also provided. The trivially inconsistent min_value=inf, allow_infinity=False now raises an InvalidArgumentError, as does the inverse with max_value. You can still use just(inf) to generate inf without violating other constraints. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.65 2018/12/13 07:11:49 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.86.5.tar.gz) = 1fefde5cfb04e190dd13c2fff3c7a6f8702d7ef1 RMD160 (hypothesis-3.86.5.tar.gz) = 55c71ef364065419de8339b695a22cc1600e6fdc SHA512 (hypothesis-3.86.5.tar.gz) = b22fb1da689bb23c74eb976dc51683676f01f40d9256559933a89b96c7584711faf68139cff1c5051960d16ec67ebdacb5c27e6a5bb836728c7d10a1929cc76a Size (hypothesis-3.86.5.tar.gz) = 186438 bytes @ 1.65 log @py-hypothesis: updated to 3.83.1 3.83.1: This patch increases the variety of examples generated by st.from_type(type). 3.83.0: Our pytest plugin now warns you when strategy functions have been collected as tests, which may happen when e.g. using the :func:@@composite decorator when you should be using @@given(st.data()) for inline draws. Such functions always pass when treated as tests, because the lazy creation of strategies mean that the function body is never actually executed! 3.82.6: Hypothesis can now :ref:show statistics when running under :pypi:pytest-xdist. Previously, statistics were only reported when all tests were run in a single process (:issue:700). 3.82.5: This patch fixes :issue:1667, where passing bounds of Numpy dtype int64 to :func:~hypothesis.strategies.integers could cause errors on Python 3 due to internal rounding. 3.82.4: Hypothesis now seeds and resets the global state of :class:np.random for each test case, to ensure that tests are reproducible. This matches and complements the existing handling of the :mod:python:random module - Numpy simply maintains an independent PRNG for performance reasons. 3.82.3: This is a no-op release to add the new Framework :: Hypothesis trove classifier to :pypi:hypothesis on PyPI. You can use it as a filter to find Hypothesis-related packages such as extensions as they add the tag over the coming weeks, or simply visit :doc:our curated list . 3.82.2: The :ref:Hypothesis for Pandas extension is now listed in setup.py, so you can pip install hypothesis[pandas]. Thanks to jmshi for this contribution. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.64 2018/11/05 08:35:04 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.83.1.tar.gz) = 368bfcf896799c694d1190ff57988882967964e7 RMD160 (hypothesis-3.83.1.tar.gz) = d901dcfe3d3b4f8ebe597a5a3e4ea3fdd140cbee SHA512 (hypothesis-3.83.1.tar.gz) = 0b7a22c85c69ab459694b149efa2e33b6fd252063a1068191a3405dd90fbc159d4042f5639d3eaf5dd994f4da2685c96dd5d0d1732e3bd4814c59375b2e052b6 Size (hypothesis-3.83.1.tar.gz) = 182591 bytes @ 1.64 log @py-hypothesis: updated to 3.82.1 3.82.1: This patch fixes :func:~hypothesis.strategies.from_type on Python 2 for classes where cls.__init__ is object.__init__. 3.82.0: The alphabet argument for :func:~hypothesis.strategies.text now uses its default value of characters(blacklist_categories=('Cs',)) directly, instead of hiding that behind alphabet=None and replacing it within the function. Passing None is therefore deprecated. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.63 2018/10/29 08:21:57 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.82.1.tar.gz) = 5818dc7a7ebe28584d24ae1a506033a20b345f69 RMD160 (hypothesis-3.82.1.tar.gz) = 62db65ac670f0dcdf70f0e09b94b2be9b485cc01 SHA512 (hypothesis-3.82.1.tar.gz) = ae65279730c5d541072733fa5f3df0b18d362ed9e50d353d7f6cca8f9846817c899b530c5ba10632a32a4b95165393c2d8d476e6f4f537b265249233685b5580 Size (hypothesis-3.82.1.tar.gz) = 181435 bytes @ 1.63 log @py-hypothesis: updated to 3.81.0 3.81.0: :class:~hypothesis.stateful.GenericStateMachine and :class:~hypothesis.stateful.RuleBasedStateMachine now raise an explicit error when instances of :obj:~hypothesis.settings are assigned to the classes' settings attribute, which is a no-op (:issue:1643). Instead assign to SomeStateMachine.TestCase.settings, or use @@settings(...) as a class decorator to handle this automatically. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.62 2018/10/26 08:05:31 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.81.0.tar.gz) = 4068b86254366ebe0f3e7bd8a7d8c320625e0495 RMD160 (hypothesis-3.81.0.tar.gz) = 6d013c30119600838711591cdfbbd43cab8ec893 SHA512 (hypothesis-3.81.0.tar.gz) = e575b615c02be7f63203b5577d7d36f03140c2c348a907e68fae9458a5958a88a740a3ab51d6b1201da69213126b2932bcabc4abdcc96b5a2a6a52f1bfbc36b9 Size (hypothesis-3.81.0.tar.gz) = 181254 bytes @ 1.62 log @py-hypothesis: updated to 3.80.0 3.80.0: Since :ref:version 3.68.0 , :func:~hypothesis.extra.numpy.arrays checks that values drawn from the elements and fill strategies can be safely cast to the dtype of the array, and emits a warning otherwise. This release expands the checks to cover overflow for finite complex64 elements and string truncation caused by too-long elements or trailing null characters (:issue:1591). 3.79.4: Tests using :func:@@given now shrink errors raised from :pypi:pytest helper functions, instead of reporting the first example found. This was previously fixed in :ref:version 3.56.0 , but only for stateful testing. 3.79.3: Traceback elision is now disabled on Python 2, to avoid an import-time :class:python:SyntaxError under Python < 2.7.9 (Python: :bpo:21591, :ref:Hypothesis 3.79.2 : :issue:1648). We encourage all users to upgrade to Python 3 before the end of 2019. 3.79.2: This patch shortens tracebacks from Hypothesis, so you can see exactly happened in your code without having to skip over irrelevant details about our internals (:issue:848). In the example test (see :pull:1582), this reduces tracebacks from nine frames to just three - and for a test with multiple errors, from seven frames per error to just one! If you do want to see the internal details, you can disable frame elision by setting :obj:~hypothesis.settings.verbosity to debug. 3.79.1: The abstract number classes :class:~python:numbers.Number, :class:~python:numbers.Complex, :class:~python:numbers.Real, :class:~python:numbers.Rational, and :class:~python:numbers.Integral are now supported by the :func:~hypothesis.strategies.from_type strategy. Previously, you would have to use :func:~hypothesis.strategies.register_type_strategy before they could be resolved (:issue:1636) 3.79.0: This release adds a CLI flag for verbosity --hypothesis-verbosity to the Hypothesis pytest plugin, applied after loading the profile specified by --hypothesis-profile. Valid options are the names of verbosity settings, quiet, normal, verbose or debug. The pytest header now correctly reports the current profile if --hypothesis-profile has been used. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.61 2018/10/18 10:07:18 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.80.0.tar.gz) = 4684cc374acaa7e22f68e3a2a45549ed36adadd4 RMD160 (hypothesis-3.80.0.tar.gz) = f60cb2ce3a2ad3bf691787c827df80478fd40838 SHA512 (hypothesis-3.80.0.tar.gz) = 44facffeef36f841be213e59053726e478eb95a6f19d6e02f9e35c727ed6d9898f2ad053ce69f7e5457810ccc94b61566654ab10fb291ad98f4cc84bb97da563 Size (hypothesis-3.80.0.tar.gz) = 181093 bytes @ 1.61 log @py-hypothesis: updated to 3.78.0 3.78.0: This release has deprecated the generation of integers, floats and fractions when the conversion of the upper and/ or lower bound is not 100% exact, e.g. when an integer gets passed a bound that is not a whole number. (:issue:1625) 3.77.0: This minor release adds functionality to :obj:~hypothesis.settings allowing it to be used as a decorator on :obj:~hypothesis.stateful.RuleBasedStateMachine and :obj:~hypothesis.stateful.GenericStateMachine. 3.76.1: This patch fixes some warnings added by recent releases of :pypi:pydocstyle and :pypi:mypy. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.60 2018/10/12 11:49:59 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.78.0.tar.gz) = be6315fd9d28c0b099ec10cfa9ef1ee58f3fbf37 RMD160 (hypothesis-3.78.0.tar.gz) = eed7d83cae6dca64bc1de2f60d08f7f0aea45706 SHA512 (hypothesis-3.78.0.tar.gz) = c0d968f8a8625eb10158cbc79e2c6ab4a40c2ba05b248fa986c7607cd1839e63514123a130560e4549d460eee069db4a6104f100fd185e123fdacf0e2e0acd12 Size (hypothesis-3.78.0.tar.gz) = 179874 bytes @ 1.60 log @py-hypothesis: updated to 3.76.0 3.76.0: This release deprecates using floats for min_size and max_size. The type hint for average_size arguments has been changed from Optional[int] to None, because non-None values are always ignored and deprecated. 3.75.4: This patch adds more internal comments to the core engine's sequence-length shrinker. There should be no user-visible change. 3.75.3: This patch adds additional comments to some of the core engine's internal data structures. There is no user-visible change. 3.75.2: This patch avoids caching a trivial case, fixing :issue:493. 3.75.1: This patch fixes a broken link in a docstring. 3.75.0: This release deprecates the use of min_size=None, setting the default min_size to 0 (:issue: 1618). 3.74.3: This patch makes some small internal changes to comply with a new lint setting in the build. There should be no user-visible change. 3.74.2: This patch fixes :issue:1153, where time spent reifying a strategy was also counted in the time spent generating the first example. Strategies are now fully constructed and validated before the timer is started. 3.74.1: This patch fixes some broken formatting and links in the documentation. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.59 2018/10/03 09:56:52 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.76.0.tar.gz) = 035f41ec33aea9e314b53275f9f2d1c545439537 RMD160 (hypothesis-3.76.0.tar.gz) = 8021b7f508aa04677ff2c822752e94eea6b0f237 SHA512 (hypothesis-3.76.0.tar.gz) = 4c74181a956602649cd5580eca87ccb29a1635518dfa540d85810b0125850badbe655221596f6aa5524293a55ece2baa9cfd339ae136dbd706dbcad4770d054e Size (hypothesis-3.76.0.tar.gz) = 179497 bytes @ 1.59 log @py-hypothesis: updated to 3.74.0 3.74.0: This release checks that the value of the :attr:~hypothesis.settings.print_blob setting is a :class:~hypothesis.PrintSettings instance. Being able to specify a boolean value was not intended, and is now deprecated. In addition, specifying True will now cause the blob to always be printed, instead of causing it to be suppressed. Specifying any value that is not a :class:~hypothesis.PrintSettings or a boolean is now an error. 3.73.5: Changes the documentation for hypothesis.strategies.datetimes, hypothesis.strategies.dates, hypothesis.strategies.times to use the new parameter names min_value and max_value instead of the deprecated names 3.73.4: This patch ensures that Hypothesis deprecation warnings display the code that emitted them when you're not running in -Werror mode (:issue:652). 3.73.3: Tracebacks involving :func:@@composite are now slightly shorter due to some internal refactoring. 3.73.2: This patch fixes errors in the internal comments for one of the shrinker passes. There is no user-visible change. 3.73.1: This patch substantially improves the distribution of data generated with :func:~hypothesis.strategies.recursive, and fixes a rare internal error (:issue:1502). 3.73.0: This release adds the :func:~hypothesis.extra.dpcontracts.fulfill function, which is designed for testing code that uses :pypi:dpcontracts 0.4 or later for input validation. This provides some syntactic sugar around use of :func:~hypothesis.assume, to automatically filter out and retry calls that cause a precondition check to fail (:issue:1474). 3.72.0: This release makes setting attributes of the :class:hypothesis.settings class an explicit error. This has never had any effect, but could mislead users who confused it with the current settings instance hypothesis.settings.default (which is also immutable). You can change the global settings with :ref:settings profiles . 3.71.11: This patch factors out some common code in the shrinker for iterating over pairs of data blocks. There should be no user-visible change. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.58 2018/09/19 11:35:36 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.74.0.tar.gz) = fccbe454e3d95c4a671d9159cbca53188f17a309 RMD160 (hypothesis-3.74.0.tar.gz) = 0d71a0ea26c90eaef6d8fa5173457975751a3769 SHA512 (hypothesis-3.74.0.tar.gz) = 46fc4f1150956edcad25980ccb184111bf237aa14bafd33b6c9023005949581fddafe1cea30bc954f54cf965deb3fe48b5f258e8c69ed244cce41f749ef7144c Size (hypothesis-3.74.0.tar.gz) = 177984 bytes @ 1.58 log @py-hypothesis: updated to 3.71.10 3.71.10: This patch allows :func:~hypothesis.strategies.from_type to handle the empty tuple type, :obj:typing.Tuple[()] . 3.71.9: This patch updates some internal comments for :pypi:mypy. There is no user-visible effect, even for Mypy users. 3.71.8: This patch fixes a rare bug that would cause a particular shrinker pass to raise an IndexError, if a shrink improvement changed the underlying data in an unexpected way. 3.71.7: This release fixes the broken cross-references in our docs, and adds a CI check so we don't add new ones. 3.71.6: This patch fixes two bugs (:issue:944 and :issue:1521), where messages about :func:@@seed did not check the current verbosity setting, and the wrong settings were active while executing :ref:explicit examples . 3.71.5: This patch fixes a DeprecationWarning added in Python 3.8 (:issue:1576). 3.71.4: This is a no-op release, which implements automatic DOI minting and code archival of Hypothesis via Zenodo. Thanks to CERN and the EU Horizon 2020 programme for providing this service! Check our :gh-file:CITATION file for details, or head right on over to doi.org/10.5281/zenodo.1412597 3.71.3: This release adds the test name to some deprecation warnings, for easier debugging. 3.71.2: This release makes Hypothesis's memory usage substantially smaller for tests with many examples, by bounding the number of past examples it keeps around. You will not see much difference unless you are running tests with :obj:~hypothesis.settings.max_examples set to well over 1000, but if you do have such tests then you should see memory usage mostly plateau where previously it would have grown linearly with time. 3.71.1: This patch adds internal comments to some tree traversals in the core engine. There is no user-visible change. 3.71.0: This release deprecates the coverage-guided testing functionality, as it has proven brittle and does not really pull its weight. We intend to replace it with something more useful in the future, but the feature in its current form does not seem to be worth the cost of using, and whatever replaces it will likely look very different. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.57 2018/09/03 07:39:34 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.71.10.tar.gz) = fde0dff1f9101c3d8e879d45639961491132e39e RMD160 (hypothesis-3.71.10.tar.gz) = e055e02cba941b25700c99ab83cf5a5d142c1ed1 SHA512 (hypothesis-3.71.10.tar.gz) = e65c7191694ecf61802908bbc9920ce4d850cbe9b459231f4fdcccb42cd5fb5a810994ec6cf3e28a02b1584188d1e6d57954757f362385dfac17523de19d775e Size (hypothesis-3.71.10.tar.gz) = 175999 bytes @ 1.57 log @py-hypothesis: updated to 3.70.0 3.70.0: This release adds a fullmatch argument to :func:~hypothesis.strategies.from_regex. When fullmatch=True, the whole example will match the regex pattern as for :func:python:re.fullmatch. 3.69.12: This release reverts the changes to logging handling in 3.69.11, which broke test that use the :pypi:pytest caplog fixture internally because all logging was disabled (:issue:1546). 3.69.11: This patch will hide all logging messages produced by test cases before the final, minimal, failing test case (:issue:356). 3.69.10: This patch fixes a bug that prevents coverage from reporting unexecuted Python files (:issue:1085). 3.69.9: This patch improves the packaging of the Python package by adding LICENSE.txt to the sdist (:issue:1311), clarifying the minimum supported versions of :pypi:pytz and :pypi:dateutil (:issue:1383), and adds keywords to the metadata (:issue:1520). 3.69.8: This is an internal change which replaces pickle with json to prevent possible security issues. 3.69.7: This patch ensures that :func:~hypothesis.note prints the note for every test case when the :obj:~hypothesis.settings.verbosity setting is Verbosity.verbose. At normal verbosity it only prints from the final test case. 3.69.6: This patch improves the testing of some internal caching. It should have no user-visible effect. 3.69.5: This change performs a small rename and refactoring in the core engine. There is no user-visible change. 3.69.4: This change improves the core engine's ability to avoid unnecessary work, by consulting its cache of previously-tried inputs in more cases. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.56 2018/08/27 06:17:33 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.70.0.tar.gz) = 4b78c695df9cee2d7e37c32d5d85db2610511870 RMD160 (hypothesis-3.70.0.tar.gz) = 128b507a35b19d2a952bbb324d0b59b1f65360e2 SHA512 (hypothesis-3.70.0.tar.gz) = da675b2edb2e68a472b62dbbcbd65ad0b97cabfc9372ca777f274cc289b1e5809a66443ef7e45c13a5acc3b2ed668d6372330fbeb7fa5b1f360d7966a6e3d981 Size (hypothesis-3.70.0.tar.gz) = 176628 bytes @ 1.56 log @py-hypothesis: updated to 3.69.3 3.69.3: This patch handles passing an empty :class:python:enum.Enum to :func:~hypothesis.strategies.from_type returns :func:~hypothesis.strategies.nothing, instead of raising an internal :class:python:AssertionError. 3.69.2: This patch fixes a small mistake in an internal comment. There is no user-visible change. 3.69.1: This change fixes a small bug in how the core engine consults its cache of previously-tried inputs. There is unlikely to be any user-visible change. 3.69.0: This release improves argument validation for stateful testing. If the target or targets of a :func:~hypothesis.stateful.rule are invalid, we now raise a useful validation error rather than an internal exception. Passing both the target and targets arguments is deprecated - append the target bundle to the targets tuple of bundles instead. Passing the name of a Bundle rather than the Bundle itself is also deprecated. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.55 2018/08/17 07:15:22 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.69.3.tar.gz) = 0f9b70223171e1b07e95a61700b5b20034e8f513 RMD160 (hypothesis-3.69.3.tar.gz) = b66b452c71b3c0dc4fd84596965e009adaf28b28 SHA512 (hypothesis-3.69.3.tar.gz) = e7c2bda2464e4d090b0ae844a4e23919065da35e475af5ac9e1d17e2c3e09aacaeaea8a13b36ec5d325fe0ad89c661b3c5de003fcbe52fb73dba20d5b01d7653 Size (hypothesis-3.69.3.tar.gz) = 170026 bytes @ 1.55 log @py-hypothesis: updated to 3.68.0 3.68.0: :func:~hypothesis.extra.numpy.arrays now checks that integer and float values drawn from elements and fill strategies can be safely cast to the dtype of the array, and emits a warning otherwise. Elements in the resulting array could previously violate constraints on the elements strategy due to floating-point overflow or truncation of integers to fit smaller types. 3.67.1: This release contains a tiny refactoring of the internals. There is no user-visible change. 3.67.0: This release adds a width argument to :func:~hypothesis.strategies.floats, to generate lower-precision floating point numbers for e.g. Numpy arrays. The generated examples are always instances of Python's native float type, which is 64bit, but passing width=32 will ensure that all values can be exactly represented as 32bit floats. This can be useful to avoid overflow (to +/- infinity), and for efficiency of generation and shrinking. Half-precision floats (width=16) are also supported, but require Numpy if you are running Python 3.5 or earlier. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.54 2018/07/03 07:47:45 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.68.0.tar.gz) = 47e40b233f4d8a2c671834e34c814b392329d072 RMD160 (hypothesis-3.68.0.tar.gz) = 89d1ad3542586e3b9c4a9656a38a5428b6c33717 SHA512 (hypothesis-3.68.0.tar.gz) = 593d1f602cd12e838bbc2724c813271a455d9d1947786a5df10b5a6b88baf991dbbf384ad425b125d0444f25737a51139dcfc31bfca6336cde542490f2ebc82e Size (hypothesis-3.68.0.tar.gz) = 169489 bytes @ 1.54 log @py-hypothesis: updated to 3.65.0 3.65.0: This release deprecates the :obj:~hypothesis.settings.max_shrinks setting in favor of an internal heuristic. If you need to avoid shrinking examples, use the :obj:~hypothesis.settings.phases setting instead. (:issue:1235) 3.64.2: This release fixes a bug where an internal assertion error could sometimes be triggered while shrinking a failing test. 3.64.1: This patch fixes type-checking errors in our vendored pretty-printer, which were ignored by our mypy config but visible for anyone else (whoops). Thanks to Pi Delport for reporting :issue:1359 so promptly. 3.64.0: This release adds :ref:an interface which can be used to insert a wrapper between the original test function and :func:@@given (:issue:1257). This will be particularly useful for test runner extensions such as :pypi:pytest-trio, but is not recommended for direct use by other users of Hypothesis. 3.63.0: This release adds a new mechanism to infer strategies for classes defined using :pypi:attrs, based on the the type, converter, or validator of each attribute. This inference is now built in to :func:~hypothesis.strategies.builds and :func:~hypothesis.strategies.from_type. On Python 2, :func:~hypothesis.strategies.from_type no longer generates instances of int when passed long, or vice-versa. 3.62.0: This release adds PEP 484 type hints to Hypothesis on a provisional basis, using the comment-based syntax for Python 2 compatibility. You can :ref:read more about our type hints here . It also adds the py.typed marker specified in PEP 561. After you pip install hypothesis, :pypi:mypy 0.590 or later will therefore type-check your use of our public interface! 3.61.0: This release deprecates the use of :class:~hypothesis.settings as a context manager, the use of which is somewhat ambiguous. Users should define settings with global state or with the :func:@@settings(...) decorator. 3.60.1: Fixed a bug in generating an instance of a Django model from a strategy where the primary key is generated as part of the strategy. See :ref:details here . 3.60.0: This release add initialize decorator for stateful testing (originally discussed in :issue:1216). initialize act as a special rule that is only called once, and all initialize rules are guaranteed to be called before any normal rule is called. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.53 2018/06/16 12:09:13 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.65.0.tar.gz) = 6ed552b1343960abf45b8b4d3ac38128ad9bdf99 RMD160 (hypothesis-3.65.0.tar.gz) = 434d5a85ec0f3482e28167e126a254495531d2ef SHA512 (hypothesis-3.65.0.tar.gz) = 471f863248f637e28bef9558d03d98accd5b7816cd7d494edaf00e6f7b5c41d46cdfa803ff64915dc2b5511dfbe81fb1bdc556dad2f4f4d0c335ecdbdd994e63 Size (hypothesis-3.65.0.tar.gz) = 161868 bytes @ 1.53 log @py-hypothesis: updated to 3.59.0 3.59.0: This release adds the :func:~hypothesis.strategies.emails strategy, which generates unicode strings representing an email address. 3.58.1: This improves the shrinker. It can now reorder examples: 3 1 2 becomes 1 2 3. 3.58.0: This adds a new extra :py:func:~hypothesis.extra.dateutil.timezones strategy that generates dateutil timezones. Depends on :pypi:python-dateutil. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.52 2018/06/06 19:26:09 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.59.0.tar.gz) = 50c9423a673f52c5f4efcd57ddc2f08ad02fa910 RMD160 (hypothesis-3.59.0.tar.gz) = 9c213adb669f75924d5a8b31dfac93bd7cc1d9b7 SHA512 (hypothesis-3.59.0.tar.gz) = e5982ee01c58f6b6bed4e970a2015aa919c22e58ad15abb7d15ad13087db7b51aaa4f8bf7d38ea67acf62d69ead7b948d454d89846df50dff2810965812e9559 Size (hypothesis-3.59.0.tar.gz) = 157321 bytes @ 1.52 log @py-hypothesis: updated to 3.57.0 3.57.0: Using an unordered collection with the :func:~hypothesis.strategies.permutations strategy has been deprecated because the order in which e.g. a set shrinks is arbitrary. This may cause different results between runs. 3.56.10: This release makes :obj:~hypothesis.settings.define_setting a private method, which has the effect of hiding it from the documentation. 3.56.9: This is another release with no functionality changes as part of changes to Hypothesis's new release tagging scheme. 3.56.8: This is a release with no functionality changes that moves Hypothesis over to a new release tagging scheme. 3.56.7: This release provides a performance improvement for most tests, but in particular users of sampled_from who don't have numpy installed should see a significant performance improvement. 3.56.6: This patch contains further internal work to support Mypy. There are no user-visible changes... yet. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.51 2018/05/06 09:06:42 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.57.0.tar.gz) = 7cbfba65913c63c9de6e01a22a8be8bff86dcb49 RMD160 (hypothesis-3.57.0.tar.gz) = 0585bf2cb4c7d9d91a26d3574f38c06c522a75d4 SHA512 (hypothesis-3.57.0.tar.gz) = dc2ef77df335133d1896da08940a8d670259b905f0a6fc48ae1bb2aa5b5daa7cef59d8bfc63752caad78d4352c4ce0b75ac8de8613f997e87f55fe8c7156225b Size (hypothesis-3.57.0.tar.gz) = 156633 bytes @ 1.51 log @py-hypothesis: updated to 3.56.5 3.56.5: This patch contains some internal refactoring to run :pypi:mypy in CI. There are no user-visible changes. 3.56.4: This release involves some very minor internal clean up and should have no user visible effect at all. 3.56.3: This release fixes a problem introduced in :ref:3.56.0 where setting the hypothesis home directory (through currently undocumented means) would no longer result in the default database location living in the new home directory. 3.56.2: This release fixes a problem introduced in :ref:3.56.0 where setting :obj:~hypothesis.settings.max_examples to 1 would result in tests failing with Unsatisfiable. This problem could also occur in other harder to trigger circumstances (e.g. by setting it to a low value, having a hard to satisfy assumption, and disabling health checks). 3.56.1: This release fixes a problem that was introduced in :ref:3.56.0 : Use of the :envvar:HYPOTHESIS_VERBOSITY_LEVEL environment variable was, rather than deprecated, actually broken due to being read before various setup the deprecation path needed was done. It now works correctly (and emits a deprecation warning). 3.56.0: This release deprecates several redundant or internally oriented :class:~hypothesis.settings, working towards an orthogonal set of configuration options that are widely useful without requiring any knowledge of our internals @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.50 2018/04/05 12:43:27 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.56.5.tar.gz) = f74058ce279a79e8858368aded9f750933111280 RMD160 (hypothesis-3.56.5.tar.gz) = ebb8286ba1d64d0932461afb31ea4b2c8b4c139e SHA512 (hypothesis-3.56.5.tar.gz) = f52dddf6f32bb33c5b852e6fa754fe1d07205c3e61e020488cf795f97a3c18d7fc3a803fae831b61eddc50df70b371ddaee38602506f5f2a75f8cdbb83d5a857 Size (hypothesis-3.56.5.tar.gz) = 154659 bytes @ 1.50 log @py-hypothesis: updated to 3.55.0 3.55.0: This release includes several improvements to the handling of the :obj:~hypothesis.settings.database setting. The :obj:~hypothesis.settings.database_file setting was a historical artefact, and you should just use :obj:~hypothesis.settings.database directly. The :envvar:HYPOTHESIS_DATABASE_FILE environment variable is deprecated, in favor of :meth:~hypothesis.settings.load_profile and the :obj:~hypothesis.settings.database setting. If you have not configured the example database at all and the default location is not usable (due to e.g. permissions issues), Hypothesis will fall back to an in-memory database. This is not persisted between sessions, but means that the defaults work on read-only filesystems. 3.54.0: This release improves the :func:~hypotheses.strategies.complex_numbers strategy, which now supports min_magnitude and max_magnitude arguments, along with allow_nan and allow_infinity like for :func:~hypotheses.strategies.floats. 3.53.0: This release removes support for Django 1.8, which reached end of life on 2018-04-01. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.49 2018/03/23 07:51:09 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.55.0.tar.gz) = a1d9b1fd451e1f69d221c3c094d3606c527792f1 RMD160 (hypothesis-3.55.0.tar.gz) = afa71e3622389c96a65429de905b8ebc30b0233b SHA512 (hypothesis-3.55.0.tar.gz) = 920a313758c0d227669e94449d0e077ee8c892538cf6154c26199ece30bc0a04f3816e3d271d4ee85db3802703f8f88d9dfce5ba3b218f05b5d2e9d9fa6c323e Size (hypothesis-3.55.0.tar.gz) = 153337 bytes @ 1.49 log @py-hypothesis: updated to 3.50.2 3.50.2: This has no user-visible changes except one slight formatting change to one docstring, to avoid a deprecation warning. 3.50.1: This patch fixes an internal error introduced in 3.48.0, where a check for the Django test runner would expose import-time errors in Django configuration. 3.50.0: This release improves validation of numeric bounds for some strategies. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.48 2018/03/15 09:08:36 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.50.2.tar.gz) = 0741527a0f6b209aa343e215728fa305412069a0 RMD160 (hypothesis-3.50.2.tar.gz) = 81f96d0d121321ebdabe1ecb5117ec34429a69a7 SHA512 (hypothesis-3.50.2.tar.gz) = eea560d6e17c67ee17369339c000828445793b971ab2bd8e0b4d2e1660ec30887650b304070139a7f818242e4d261353a28653ee2864ede55c326872461fe79b Size (hypothesis-3.50.2.tar.gz) = 150780 bytes @ 1.48 log @py-hypothesis: updated to 3.49.1 3.49.1: This patch fixes our tests for Numpy dtype strategies on big-endian platforms, where the strategy behaved correctly but the test assumed that the native byte order was little-endian. There is no user impact unless you are running our test suite on big-endian platforms. Thanks to Graham Inggs for reporting :issue:1164. 3.49.0: This release deprecates passing elements=None to collection strategies, such as :func:~hypothesis.strategies.lists. Requiring lists(nothing()) or builds(list) instead of lists() means slightly more typing, but also improves the consistency and discoverability of our API - as well as showing how to compose or construct strategies in ways that still work in more complex situations. Passing a nonzero max_size to a collection strategy where the elements strategy contains no values is now deprecated, and will be an error in a future version. The equivalent with elements=None is already an error. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.47 2018/03/06 08:06:37 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.49.1.tar.gz) = ece4a0bf84bf77a662307d3ab1401c826de39a06 RMD160 (hypothesis-3.49.1.tar.gz) = 4922c69b25b96563e579b7c4bcbeb652ca56ec09 SHA512 (hypothesis-3.49.1.tar.gz) = 7d9d8abf8c572cf48f111df6ad29123cbc79343b4ac92d65429d0803b5100c6e083dab1fc1410e03ba70ef710c0034e82bd21706fb1c55e1d14984178120e08d Size (hypothesis-3.49.1.tar.gz) = 150289 bytes @ 1.47 log @py-hypothesis: updated to 3.48.1 3.48.1: This patch will minimize examples that would come out non-minimal in previous versions. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.46 2018/03/05 13:52:38 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.48.1.tar.gz) = ba73b49f30d19355dcddd4e98ad7fb6dc456d7ca RMD160 (hypothesis-3.48.1.tar.gz) = 8a598bb9d2bc25de7ae929c73db7f33b0c7ff059 SHA512 (hypothesis-3.48.1.tar.gz) = a3e421821222d26f49009e4b545208552e4654ae0197a4c8a0ee8d2458d2881de22945c89b97764771185a8e4f135de053260050c29edad5c888f30d178310ca Size (hypothesis-3.48.1.tar.gz) = 150199 bytes @ 1.46 log @py-hypothesis: updated 3.48.0 3.48.0: This release improves some "unhappy paths" when using Hypothesis with the standard library :mod:python:unittest module: * Applying :func:@@given to a non-test method which is overridden from :class:python:unittest.TestCase, such as setUp, raises :attr:a new health check . (:issue:991) * Using :meth:~python:unittest.TestCase.subTest within a test decorated with :func:@@given would leak intermediate results when tests were run under the :mod:python:unittest test runner. Individual reporting of failing subtests is now disabled during a test using :func:@@given . (:issue:1071) * :func:@@given is still not a class decorator, but the error message if you try using it on a class has been improved. As a related improvement, using :class:django:django.test.TestCase with :func:@@given instead of :class:hypothesis.extra.django.TestCase raises an explicit error instead of running all examples in a single database transaction. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.45 2018/03/02 14:49:36 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.48.0.tar.gz) = ece4a754691344a3792bd5aa2ce1ce71732340d3 RMD160 (hypothesis-3.48.0.tar.gz) = 6af034ff8d4e52b2b8ae04a719a4c75b0e12b88c SHA512 (hypothesis-3.48.0.tar.gz) = 76eee49a10940ffcc15022240d8c7f6a8737b762ba2e2df8fd8995956184d6750fd3f95e3b43694a4035ef70c6ed362a72ffbc3b4159b1dfdd97875b3d56636f Size (hypothesis-3.48.0.tar.gz) = 149577 bytes @ 1.45 log @py-hypothesis: updated to 3.47.0 3.47.0: :obj:~hypothesis.settings.register_profile now accepts keyword arguments for specific settings, and the parent settings object is now optional. Using a name for a registered profile which is not a string was never suggested, but it is now also deprecated and will eventually be an error. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.44 2018/02/26 08:40:42 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.47.0.tar.gz) = df8a1e87a6441bdab8a67df620b01d89dd618d19 RMD160 (hypothesis-3.47.0.tar.gz) = fb565d25196cf68b87017fcb924f74b3c76c9c80 SHA512 (hypothesis-3.47.0.tar.gz) = 14dd983fd7142df94cdb0564d439d0227f402c96c30509b0d755fbfd8142c0135fcbb379cd68e93bb4c8b622056c5e8881a17c2c5093b543974476a3bbf1ceb3 Size (hypothesis-3.47.0.tar.gz) = 148696 bytes @ 1.44 log @py-hypothesis: updated to 3.46.0 3.46.0: :func:~hypothesis.strategies.characters has improved docs about what arguments are valid, and additional validation logic to raise a clear error early (instead of e.g. silently ignoring a bad argument). Categories may be specified as the Unicode 'general category' (eg u'Nd'), or as the 'major category' (eg [u'N', u'Lu'] is equivalent to [u'Nd', u'Nl', u'No', u'Lu']. In previous versions, general categories were supported and all other input was silently ignored. Now, major categories are supported in addition to general categories (which may change the behaviour of some existing code), and all other input is deprecated. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.43 2018/02/06 08:03:22 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.46.0.tar.gz) = def834b46b079bbf2514d455a36715d27f7ca243 RMD160 (hypothesis-3.46.0.tar.gz) = 7b09789f0c936195f43ae5b34f94a97cdc5c0c4f SHA512 (hypothesis-3.46.0.tar.gz) = 393bb66183e5c8804c0ea30268b810c9aa441bc6a6f00642dc2afe4d07c9fd917c3089ae57d2e4323c90ba8a6d5658df94bbeb8826fd00b0cfe2a403c08ad369 Size (hypothesis-3.46.0.tar.gz) = 148497 bytes @ 1.43 log @py-hypothesis: updated to 3.44.26 3.44.26: This release fixes some formatting issues in the Hypothesis source code. It should have no externally visible effects. 3.44.25: This release changes the way in which Hypothesis tries to shrink the size of examples. It probably won't have much impact, but might make shrinking faster in some cases. It is unlikely but not impossible that it will change the resulting examples. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.42 2018/02/02 08:18:30 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.44.26.tar.gz) = 20cf7191d6a8c47786ab1a16717de78a44e706fe RMD160 (hypothesis-3.44.26.tar.gz) = 45f58427ebb64b23a87bad787f664b1e2e979537 SHA512 (hypothesis-3.44.26.tar.gz) = 104582defb1869c7520c8080ad6e02ad679d17e688404e6dbb22133120772c8987a71828b487c2cb990c6992d9619d8a649dc3008c2e30d9107b29d7ee5f5683 Size (hypothesis-3.44.26.tar.gz) = 145595 bytes @ 1.42 log @py-hypothesis: updated to 3.44.24 3.44.24: This release fixes dependency information when installing Hypothesis from a binary "wheel" distribution. The install_requires for enum34 is resolved at install time, rather than at build time (with potentially different results). Django has fixed their python_requires for versions 2.0.0 onward, simplifying Python2-compatible constraints for downstream projects. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.41 2018/01/19 08:58:25 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.44.24.tar.gz) = bf90fb27a586f900d31abd928676405857a201c3 RMD160 (hypothesis-3.44.24.tar.gz) = 148d9d35b55d538d2f3865d614bee2022e101702 SHA512 (hypothesis-3.44.24.tar.gz) = e743cce8cea8b09735810655d1eda5f4197f53dde48522f10fa3eff39fce205734f1407d595813d24113a591fb62fd2980e60befe2772c9d74a8957ad4323a37 Size (hypothesis-3.44.24.tar.gz) = 145240 bytes @ 1.41 log @py-hypothesis: updated to 3.44.16 3.44.16: This release improves test case reduction for recursive data structures. Hypothesis now guarantees that whenever a strategy calls itself recursively (usually this will happen because you are using ~hypothesis.strategies.deferred), any recursive call may replace the top level value. e.g. given a tree structure, Hypothesis will always try replacing it with a subtree. Additionally this introduces a new heuristic that may in some circumstances significantly speed up test case reduction - Hypothesis should be better at immediately replacing elements drawn inside another strategy with their minimal possible value. 3.44.15: ~hypothesis.strategies.from_type can now resolve recursive types such as binary trees. Detection of non-type arguments has also improved, leading to better error messages in many cases involving 3.44.14: This release fixes a bug in the shrinker that prevented the optimisations in 3.44.6 from working in some cases. It would not have worked correctly when filtered examples were nested (e.g. with a set of integers in some range). This would not have resulted in any correctness problems, but shrinking may have been slower than it otherwise could be. 3.44.13: This release changes the average bit length of values drawn from ~hypothesis.strategies.integers to be much smaller. Additionally it changes the shrinking order so that now size is considered before sign - e.g. -1 will be preferred to +10. The new internal format for integers required some changes to the minimizer to make work well, so you may also see some improvements to example quality in unrelated areas. 3.44.12: This changes Hypothesis's internal implementation of weighted sampling. This will affect example distribution and quality, but you shouldn't see any other effects. 3.44.11: This is a change to some internals around how Hypothesis handles avoiding generating duplicate examples and seeking out novel regions of the search space. You are unlikely to see much difference as a result of it, but it fixes a bug where an internal assertion could theoretically be triggered and has some minor effects on the distribution of examples so could potentially find bugs that have previously been missed. 3.44.10: This patch avoids creating debug statements when debugging is disabled. Profiling suggests this is a 5-10% performance improvement @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.40 2018/01/01 21:14:47 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.44.16.tar.gz) = bc3b058b907e2dd07dd516d381e3f47eaa6ccc17 RMD160 (hypothesis-3.44.16.tar.gz) = 689ac18f7f34afbf6dd6b3b674012259f78e73d5 SHA512 (hypothesis-3.44.16.tar.gz) = da3f1bdafc0c0ab037916528ebb95ce91392d14719cc7c79a8df70b2978680132e54c80162c4e12153ecdf6ce579ed52b5f5c32f1f5327586636129ad2e58550 Size (hypothesis-3.44.16.tar.gz) = 142797 bytes @ 1.40 log @py-hypothesis: updated to 3.44.4 3.44.4: This release fixes :issue:1044, which slowed tests by up to 6% due to broken caching. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.39 2017/12/22 05:57:50 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.44.4.tar.gz) = 7c49a22e341cb8c67163a4122445c52d02432b29 RMD160 (hypothesis-3.44.4.tar.gz) = d5be0e18976c513521af6651f8ada3ff49e055fe SHA512 (hypothesis-3.44.4.tar.gz) = 589b3394860a330e8d656b65cc5d2744886ce651411ffe374734eba77a74acf1d0542fe5158c43e9134ea7c8c64fef05d1564ed2b64bfc40c951cb89e63e9fc2 Size (hypothesis-3.44.4.tar.gz) = 135658 bytes @ 1.39 log @py-hypothesis: updated to 3.44.3 3.44.3: This release improves the shrinker in cases where examples drawn earlier can affect how much data is drawn later (e.g. when you draw a length parameter in a composite and then draw that many elements). Examples found in cases like this should now be much closer to minimal. 3.44.2: This is a pure refactoring release which changes how Hypothesis manages its set of examples internally. It should have no externally visible effects. 3.44.1: This release fixes :issue:`997`, in which under some circumstances the body of tests run under Hypothesis would not show up when run under coverage even though the tests were run and the code they called outside of the test file would show up normally. 3.44.0: This release adds a new feature: The :ref:`@@reproduce_failure `, designed to make it easy to use Hypothesis's binary format for examples to reproduce a problem locally without having to share your example database between machines. This also changes when seeds are printed: They will no longer be printed for normal falsifying examples, as there are now adequate ways of reproducing those for all cases, so it just contributes noise. They will once again be printed when reusing examples from the database, as health check failures should now be more reliable in this scenario so it will almost always work in this case. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.38 2017/12/13 08:17:10 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.44.3.tar.gz) = 7a3c8c0bba9cee550624b28bab79e08a17dc9fa5 RMD160 (hypothesis-3.44.3.tar.gz) = 98dc5e6c564ebe38a8f8f010c798cb089750e9f6 SHA512 (hypothesis-3.44.3.tar.gz) = 1012cada6e2a7b38f44275a79f3dca90424b814ad2ad4c779eaad3581d58219a72dee37a61d07d472ee7cf8d76d51d866c218d8cd5ec99109ea18f05c8fd5f53 Size (hypothesis-3.44.3.tar.gz) = 135630 bytes @ 1.38 log @py-hypothesis: updated to 3.42.2 3.42.2: This patch fixes :issue:1017, where instances of a list or tuple subtype used as an argument to a strategy would be coerced to tuple. 3.42.1: This release has some internal cleanup, which makes reading the code more pleasant and may shrink large examples slightly faster. 3.42.0: This release deprecates :ref:faker-extra, which was designed as a transition strategy but does not support example shrinking or coverage-guided discovery. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.37 2017/11/16 07:59:55 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.42.2.tar.gz) = 3fc623247fa461f7b33c9deacbbcec619753ea12 RMD160 (hypothesis-3.42.2.tar.gz) = 728c9fd5c730a0d85792d1ca60e455991a6b001a SHA512 (hypothesis-3.42.2.tar.gz) = 38a1f09b37a487bb96f2af007e48ef02f7fc302a173dc588476a7f301d9b433d52476ae9fefb76fcfdf8d5f0f04896417ba0360c688cb21eb303fb5d0750018a Size (hypothesis-3.42.2.tar.gz) = 132761 bytes @ 1.37 log @py-hypothesis: updated to 3.37.0 3.37.0: This is a deprecation release for some health check related features. The following are now deprecated: * Passing exception_in_generation to suppress_health_check. This no longer does anything even when passed - All errors that occur during data generation will now be immediately reraised rather than going through the health check mechanism. * Passing random_module to suppress_health_check. This hasn’t done anything for a long time, but was never explicitly deprecated. Hypothesis always seeds the random module when running @@given tests, so this is no longer an error and suppressing it doesn’t do anything. * Passing non-HealthCheck values in suppress_health_check. This was previously allowed but never did anything useful. In addition, passing a non-iterable value as suppress_health_check will now raise an error immediately (it would never have worked correctly, but it would previously have failed later). Some validation error messages have also been updated. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.36 2017/11/09 07:41:44 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.37.0.tar.gz) = 8a83ffc9a341d0673ed60871347cddd60ad5c4fb RMD160 (hypothesis-3.37.0.tar.gz) = d01989de20392c44b47af113b0c130eb7473d762 SHA512 (hypothesis-3.37.0.tar.gz) = f9ba769af0a45b024a4e4510c383558fdb93e85407f204e7552b215cf53c2912183d9ecf8d88a1be8005252f59bf70644a086e0265cdfef755a81244da7390b3 Size (hypothesis-3.37.0.tar.gz) = 129368 bytes @ 1.36 log @py-hypothesis: updated to 3.36.0 3.36.0: This release adds a setting to the public API, and does some internal cleanup: The :attr:`~hypothesis.settings.derandomize` setting is now documented Removed - and disallowed - all 'bare excepts' in Hypothesis Documented the :attr:`~hypothesis.settings.strict` setting as deprecated, and updated the build so our docs always match deprecations in the code. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.35 2017/11/06 10:39:08 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.36.0.tar.gz) = 6d407e2c6d0d43657a90cd5cb56592ca317e4c0f RMD160 (hypothesis-3.36.0.tar.gz) = fac59ce938bad68a4456b30d3eccb10eaf8b3e34 SHA512 (hypothesis-3.36.0.tar.gz) = ffb02e740a4f84df1ab25ea62a1d526943b6ded75c53c73c0c7172cc80531f22a62bc5017b6492d60ec40e65026643fe3c8b9262c9c0c6b1681153c8419fe529 Size (hypothesis-3.36.0.tar.gz) = 128946 bytes @ 1.35 log @py-hypothesis: updated to 3.34.1 3.34.1: This patch updates the documentation to suggest :func:`builds(callable) ` instead of :func:`just(callable()) `. 3.34.0: Hypothesis now emits deprecation warnings if you apply :func:`@@given ` more than once to a target. Applying :func:`@@given ` repeatedly wraps the target multiple times. Each wrapper will search the space of of possible parameters separately. This is equivalent but will be much more inefficient than doing it with a single call to :func:`@@given `. For example, instead of @@given(booleans()) @@given(integers()), you could write @@given(booleans(), integers()) @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.34 2017/11/02 07:16:35 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.34.1.tar.gz) = a40f5e63325fa69b0312ed6dcc92eaed51b9eae6 RMD160 (hypothesis-3.34.1.tar.gz) = 99da124e32e0d839c068cb9c16b8e42ad7980e71 SHA512 (hypothesis-3.34.1.tar.gz) = 3fd9e538fbb81f46d8e4dfb4336857074ad92f72511c513e09d976e2d3a3f4580586d0765251b9c05cdc3b1c5b54755f4e498b42d2973570e0e2da7399d4f4f9 Size (hypothesis-3.34.1.tar.gz) = 129059 bytes @ 1.34 log @py-hypothesis: updated to 3.33.1 3.33.1: This is a bugfix release: * :func:`~hypothesis.strategies.builds` would try to infer a strategy for required positional arguments of the target from type hints, even if they had been given to :func:`~hypothesis.strategies.builds` as positional arguments (:issue:`946`). Now it only infers missing required arguments. * An internal introspection function wrongly reported self as a required argument for bound methods, which might also have affected :func:`~hypothesis.strategies.builds`. Now it knows better. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.33 2017/10/16 18:35:19 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.33.1.tar.gz) = f11506b47b884927cf18a4cc4fa3cfe408c2f2e5 RMD160 (hypothesis-3.33.1.tar.gz) = ca3059355105e2c4f8880a8b2dcc63d1dcf618b3 SHA512 (hypothesis-3.33.1.tar.gz) = b22723bff33619a2b4e0aae11f26f697e3add4dba25a9687bf0fb4d989b4901daf173bd70a602cb359bec4eeaaf0698c9795501cdd76823fca62a76e06e3609c Size (hypothesis-3.33.1.tar.gz) = 128835 bytes @ 1.33 log @py-hypothesis: update to 3.33.0 3.33.0: This release supports strategy inference for more field types in Django models() - you can now omit an argument for Date, Time, Duration, Slug, IP Address, and UUID fields. Strategy generation for fields with grouped choices now selects choices from each group, instead of selecting from the group names. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.32 2017/10/05 06:48:38 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.33.0.tar.gz) = 2349b06a6f2c094bdc5c76b6ec8c40c7d212a3db RMD160 (hypothesis-3.33.0.tar.gz) = a8ff3bca8e5afc5901b3a8bc26c7022f6b7f92ae SHA512 (hypothesis-3.33.0.tar.gz) = c84099786caecf1d3e5914c3440d6b5cf887274230bcf7ea4f0b2105d87cdb4986abeedffefa65f9345495ee2307903f9315f285a22f8b536c2e3c11116cad6a Size (hypothesis-3.33.0.tar.gz) = 128548 bytes @ 1.32 log @py-hypothesis: update to 3.31.2: This release fixes some formatting and small typos/grammar issues in the documentation, specifically the page docs/settings.rst, and the inline docs for the various settings. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.31 2017/09/30 13:12:04 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.31.2.tar.gz) = 8ae448d9505598480ee7cf9f80dfa3dca0d3fde0 RMD160 (hypothesis-3.31.2.tar.gz) = 7236764bfab5068127fa7791523b4545e34b2b24 SHA512 (hypothesis-3.31.2.tar.gz) = 5b3ebc3cca112c0f1c8e7397457cf95885528db3802662f1f31e40dff5e90921eb86e8c2b185a0da4e128ff106aad9960a5a11135714074ce1e7d440455a44da Size (hypothesis-3.31.2.tar.gz) = 128076 bytes @ 1.31 log @py-hypothesis: update to 3.31.1 3.31.1: This release improves the handling of deadlines so that they act better with the shrinking process. This fixes :issue:`892`. This involves two changes: 1. The deadline is raised during the initial generation and shrinking, and then lowered to the set value for final replay. This restricts our attention to examples which exceed the deadline by a more significant margin, which increases their reliability. 2. When despite the above a test still becomes flaky because it is significantly faster on rerun than it was on its first run, the error message is now more explicit about the nature of this problem, and includes both the initial test run time and the new test run time. In addition, this release also clarifies the documentation of the deadline setting slightly to be more explicit about where it applies. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.30 2017/09/13 06:26:55 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.31.1.tar.gz) = e9efce7bf00df95c4be44b5f61ce856a627d2930 RMD160 (hypothesis-3.31.1.tar.gz) = 98e0823544adbf22d6deede805014173598db8d0 SHA512 (hypothesis-3.31.1.tar.gz) = 3fbe09308be7ae98fb116bfa1cbe428f161d75bcd232e5f5ee9fd9cd627fd2f6817556f997446b9af64a0ac6dcc5643a493e28b18a9c0438fa754c8c371de457 Size (hypothesis-3.31.1.tar.gz) = 128083 bytes @ 1.30 log @py-hypothesis: update to 3.26.0 3.26.0: Hypothesis now emits deprecation warnings if you are using the legacy SQLite example database format, or the tool for merging them. These were already documented as deprecated, so this doesn't change their deprecation status, only that we warn about it. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.29 2017/09/08 11:03:28 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.26.0.tar.gz) = ff548c480b56af82fea009d861c685d40e1fc0f1 RMD160 (hypothesis-3.26.0.tar.gz) = b6da0909719fdab4c1b4a317e89e398943f04f0c SHA512 (hypothesis-3.26.0.tar.gz) = 8c1d89763f36472d901b3628a76002b6c6b6a71094f210e957a1bd25ed0f1398120d2ae00b56068e296cffb1794cbc797c548c48ba3982f71cd56ef548524f94 Size (hypothesis-3.26.0.tar.gz) = 113117 bytes @ 1.29 log @3.24.1: This release improves the reduction of examples involving floating point numbers to produce more human readable examples. It also has some general purpose changes to the way the minimizer works internally, which may see some improvement in quality and slow down of test case reduction in cases that have nothing to do with floating point numbers. 3.24.0: Hypothesis now emits deprecation warnings if you use example() inside a test function or strategy definition (this was never intended to be supported, but is sufficiently widespread that it warrants a deprecation path). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.28 2017/09/04 17:28:45 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.24.1.tar.gz) = 2cf738bab203189322280e459297921821edea87 RMD160 (hypothesis-3.24.1.tar.gz) = 30f7f9d822899a3e10df5d653d677a09855317aa SHA512 (hypothesis-3.24.1.tar.gz) = eaa9784e02f2e30a46abf6b2d1b8df22385f7f98d1cfb444da48cfd196e3c38fea8a39932992bfb6d0d08272cbec2957a6053908ff1e4d8575cc0b91c5a85cd0 Size (hypothesis-3.24.1.tar.gz) = 111662 bytes @ 1.28 log @3.23.2: This is a small refactoring release that removes a now-unused parameter to an internal API. It shouldn’t have any user visible effect. 3.23.1: Hypothesis no longer propagates the dynamic scope of settings into strategy definitions. This release is a small change to something that was never part of the public API and you will almost certainly not notice any effect unless you’re doing something surprising, but for example the following code will now give a different answer in some circumstances: import hypothesis.strategies as st from hypothesis import settings CURRENT_SETTINGS = st.builds(lambda: settings.default) (We don’t actually encourage you writing code like this) Previously this would have generated the settings that were in effect at the point of definition of CURRENT_SETTINGS. Now it will generate the settings that are used for the current test. It is very unlikely to be significant enough to be visible, but you may also notice a small performance improvement. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.27 2017/08/27 12:16:07 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.23.2.tar.gz) = 5876a8eb96516a967d7992d9af4d0f1b5564a378 RMD160 (hypothesis-3.23.2.tar.gz) = 2d2264051ce5178b92197861e5fb9a45656f7929 SHA512 (hypothesis-3.23.2.tar.gz) = da40e782eb8d794ce040c9d6cb387ec1ee8b80b9269744a019e8251cdc43f11c8ce6a9226d17cd3a528ad5940ed4a42313368c1a9906bacd907e1c828f9e9ac0 Size (hypothesis-3.23.2.tar.gz) = 107726 bytes @ 1.27 log @3.22.0: This release provides what should be a substantial performance improvement to numpy arrays generated using provided numpy support, and adds a new fill_value argument to arrays() to control this behaviour. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.26 2017/08/19 12:16:20 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.22.0.tar.gz) = 7c9e78e906604630262dbba050d508de4e56a345 RMD160 (hypothesis-3.22.0.tar.gz) = 4193b282e3caf9338d45f89070744d357cbb2da5 SHA512 (hypothesis-3.22.0.tar.gz) = a530fc14e826c6681b1cffb34f0f7be5705915eb8659fbb6587507876c585ce9e939a925e0c08d5725852d730db50ade9da69f6b16cee9b26cd4547a28bbcdca Size (hypothesis-3.22.0.tar.gz) = 106792 bytes @ 1.26 log @3.18.5: This is a bugfix release for ~hypothesis.strategies.integers. Previously the strategy would hit an internal assertion if passed non-integer bounds for min_value and max_value that had no integers between them. The strategy now raises InvalidArgument instead. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.25 2017/08/13 09:46:55 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.18.5.tar.gz) = c3ac95f414ea3888f6eb5dce790c23cc7b56884f RMD160 (hypothesis-3.18.5.tar.gz) = b171ccc27adc8b099e8cbc381446cebd837f7517 SHA512 (hypothesis-3.18.5.tar.gz) = f2203808cfd39750474d0f26a59d09121102eabf5f4c7bb7d2fa922c87fc645e7b6bb24c53ab64c4c42983fc47bc77fe6fa504f02f80a0fe5a5cd659db182e27 Size (hypothesis-3.18.5.tar.gz) = 98533 bytes @ 1.25 log @3.17.0: This release documents the previously undocumented phases feature”, making it part of the official public API. It also updates how the example database is used. Principally: * A Phases.reuse argument will now correctly control whether examples from the database are run (it previously did exactly the wrong thing and controlled whether examples would be saved). * Hypothesis will no longer try to rerun all previously failing examples. Instead it will replay the smallest previously failing example and a selection of other examples that are likely to trigger any other bugs that will found. This prevents a previous failure from dominating your tests unnecessarily. * As a result of the previous change, Hypothesis will be slower about clearing out old examples from the database that are no longer failing (because it can only clear out ones that it actually runs). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.24 2017/08/07 18:00:41 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.17.0.tar.gz) = a8f966ca12ffb6df181f97e7c9fe2d44fdca1a3c RMD160 (hypothesis-3.17.0.tar.gz) = 668f5836940ab44a4a98bac48d64c73d17062553 SHA512 (hypothesis-3.17.0.tar.gz) = ef123b5de12b75613a6f4901e9abfff8c3e70f941c78bd9e768b926cb7aadcf334119c6a3df7ee5fac732bb42f3ec2db746b8d9a5eeedcd86d7e9652c4aa544c Size (hypothesis-3.17.0.tar.gz) = 96690 bytes @ 1.24 log @3.16.1: This release makes an implementation change to how Hypothesis handles certain internal constructs. The main effect you should see is improvement to the behaviour and performance of collection types, especially ones with a min_size parameter. Many cases that would previously fail due to being unable to generate enough valid examples will now succeed, and other cases should run slightly faster. 3.16.0: This release introduces a deprecation of the timeout feature. This results in the following changes: Creating a settings object with an explicit timeout will emit a deprecation warning. If your test stops because it hits the timeout (and has not found a bug) then it will emit a deprecation warning. There is a new value unlimited which you can import from hypothesis. settings(timeout=unlimited) will not cause a deprecation warning. There is a new health check, hung_test, which will trigger after a test has been running for five minutes if it is not suppressed. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.23 2017/08/04 04:57:52 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.16.1.tar.gz) = 0a9b6e4900d0038829a4acb7d32233545caed6d6 RMD160 (hypothesis-3.16.1.tar.gz) = 3a7daee6545b464606729c3c1b8b5d7a60c5d302 SHA512 (hypothesis-3.16.1.tar.gz) = 39ecae23a0377a4d9c5c6ead904ad19814ce06bf87b83c2ddec6566dbf23fef3009ff12c41f5696f45e234a6a8b1cc46b675898246d202f1e264014f0cc6a746 Size (hypothesis-3.16.1.tar.gz) = 95806 bytes @ 1.23 log @3.14.2: This fixes a bug where Hypothesis would not work correctly on Python 2.7 if you had the typing module backport installed. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.22 2017/08/03 07:42:09 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.14.2.tar.gz) = b00e3ceeb4302517eebecb4df38a5b139ca44e37 RMD160 (hypothesis-3.14.2.tar.gz) = de253a13eafdda46b97cbfe9ccb373b11809df9c SHA512 (hypothesis-3.14.2.tar.gz) = 14c6f934dd81180a1f58cbeb58e61649e967d459a08a2bf9a18d93261458d0ae9753c4c5cf2cc85cc3b021fb71624270674230c236e597b20afccc2d04da56a1 Size (hypothesis-3.14.2.tar.gz) = 94471 bytes @ 1.22 log @3.14.1 Fix bad header that somehow made it in @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.21 2017/07/24 10:23:57 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.14.1.tar.gz) = e1756eb129425a07b59f47cb80e67fdbbc5997cc RMD160 (hypothesis-3.14.1.tar.gz) = 639af12b0eb7030d5c7c13583bd98f63554c1417 SHA512 (hypothesis-3.14.1.tar.gz) = d6409d4a3888a5bce9af5c066c0643c3b5f93ecb3cb58583a485294e523db534cd11bb5ff63a7ae7985e3daa8ffbe589099f53694c54160081b20cb1b8deed99 Size (hypothesis-3.14.1.tar.gz) = 94494 bytes @ 1.21 log @3.14.0: Hypothesis now understands inline type annotations @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.20 2017/07/21 08:40:46 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.14.0.tar.gz) = d6d750abb9e56c74814297c216aef72f6dc6dd59 RMD160 (hypothesis-3.14.0.tar.gz) = 0f08612aebf1596546dbc14e84b885b9e437f7c9 SHA512 (hypothesis-3.14.0.tar.gz) = cec986b0074f8f4f9285e2049451564f4b2b9948953bf5dcb429be85827abce1829f37e7b804e635cbb1ad62bc6db00e974a8a02c9e36293607e77f19def0c17 Size (hypothesis-3.14.0.tar.gz) = 94489 bytes @ 1.20 log @3.13.1: Honour 'skip test' exceptions @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.19 2017/07/17 07:05:34 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.13.1.tar.gz) = 6dc6bf8f7da717a446b18e3c38ef2b37e9757387 RMD160 (hypothesis-3.13.1.tar.gz) = e6780874988729ebe79ae22daf5f390a26795f45 SHA512 (hypothesis-3.13.1.tar.gz) = 4e38916afbbad5e3ad00d51422b12002080a33ed8d33296e20eddd0bf470a3236d53e50b3421d7f43548e5bd24ee161a4f876aabf84309cd68c2d0108c1df8a0 Size (hypothesis-3.13.1.tar.gz) = 88797 bytes @ 1.19 log @3.13.0: This release has two major aspects to it: The first is the introduction of :func:`~hypothesis.strategies.deferred`, which allows more natural definition of recursive (including mutually recursive) strategies. The second is a number of engine changes designed to support this sort of strategy better. These should have a knock-on effect of also improving the performance of any existing strategies that currently generate a lot of data or involve heavy nesting by reducing their typical example size. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.18 2017/07/07 15:41:18 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.13.0.tar.gz) = 168cedfb9a990ae13e10565555fd912f45de65d1 RMD160 (hypothesis-3.13.0.tar.gz) = 7686617db8bb76435fc3ef1065aaf811dd41defa SHA512 (hypothesis-3.13.0.tar.gz) = 5248035af05a5159d7a130427846290b4643f2ee9f3c929262cec5bb208305f1ae694c4983243033b961ecd4f41f47f44af23cd35287eb8b4a640d5b90d3e26f Size (hypothesis-3.13.0.tar.gz) = 88586 bytes @ 1.18 log @3.12.0: This release makes some major internal changes to how Hypothesis represents data internally, as a prelude to some major engine changes that should improve data quality. There are no API changes, but it's a significant enough internal change that a minor version bump seemed warranted. User facing impact should be fairly mild, but includes: * All existing examples in the database will probably be invalidated. Hypothesis handles this automatically, so you don't need to do anything, but if you see all your examples disappear that's why. * Almost all data distributions have changed significantly. Possibly for the better, possibly for the worse. This may result in new bugs being found, but it may also result in Hypothesis being unable to find bugs it previously did. * Data generation may be somewhat faster if your existing bottleneck was in draw_bytes (which is often the case for large examples). * Shrinking will probably be slower, possibly significantly. If you notice any effects you consider to be a significant regression, please open an issue about them. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.17 2017/06/20 07:26:10 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.12.0.tar.gz) = 59bef4635209b7fe713cc9b210ac7f4206940344 RMD160 (hypothesis-3.12.0.tar.gz) = bf919e9d05cc46c1c88e1686200b62cb59031566 SHA512 (hypothesis-3.12.0.tar.gz) = 4a6328f5520907050a4b71a2edb986fc50934fba717c78cc2587fe03eb76d1fc52680f696f4033f31d10c95f2882da37f97484c9807fe8ee7f96e4a446bbe276 Size (hypothesis-3.12.0.tar.gz) = 86431 bytes @ 1.17 log @3.11.6: This release involves no functionality changes, but is the first to ship wheels as well as an sdist. 3.11.5: This release provides a performance improvement to shrinking. For cases where there is some non-trivial "boundary" value (e.g. the bug happens for all values greater than some other value), shrinking should now be substantially faster. Other types of bug will likely see improvements too. This may also result in some changes to the quality of the final examples - it may sometimes be better, but is more likely to get slightly worse in some edge cases. If you see any examples where this happens in practice, please report them. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.16 2017/06/19 06:36:29 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.11.6.tar.gz) = 20117a10b4e98d8f3f7f21c4f92406176ec8cb15 RMD160 (hypothesis-3.11.6.tar.gz) = 363ca4f0bb9b0d365cd87b501755eabd25a0a134 SHA512 (hypothesis-3.11.6.tar.gz) = be3537403ad3acfa080e8e0b79ccd63c949157b48f02fe4b801ed5d9f2dfac960ef69426954e13fb644d7ef55a601e4276f2eefa671feff98959b4d214c13f6a Size (hypothesis-3.11.6.tar.gz) = 85103 bytes @ 1.16 log @Changes 3.11.4 : This is a bugfix release: Hypothesis now prints explicit examples when running in verbose mode. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.15 2017/06/12 10:19:44 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.11.4.tar.gz) = 6110e192813da37e3e12ac4d78b658948b347026 RMD160 (hypothesis-3.11.4.tar.gz) = 533dd43ea7c7dda08623494b7d77237653a0022d SHA512 (hypothesis-3.11.4.tar.gz) = 94ad2503faf7ab83b4ce541dac37fb740d87d3f7c30e9b90e8aed1607e0a7848fed291997cd598c3940a440e82548bfa67eba1b824cb64f6c24bf3dfe54f4788 Size (hypothesis-3.11.4.tar.gz) = 83416 bytes @ 1.15 log @Changes 3.11.3: Ensure we can sample from an OrderedDict without a warning @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.14 2017/06/10 19:18:35 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.11.3.tar.gz) = 0b3719560eeeaeffd89a0b422745abec8f320165 RMD160 (hypothesis-3.11.3.tar.gz) = f40bc05ec0044043cc402458f162c16966dfdd87 SHA512 (hypothesis-3.11.3.tar.gz) = a7f3955282e1c24e6f2de130d441fae942025033c378598835ec83a6518fcef55805c13aa343379ad086be3a6cc09a010e8dbd915ba024f37b6e710d019f5ee0 Size (hypothesis-3.11.3.tar.gz) = 83409 bytes @ 1.14 log @Version 3.11.2: Miscellaneous documentation updates and fixes @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.13 2017/05/29 06:52:11 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.11.2.tar.gz) = 5641b1b866d9c79e0d79bf11841a2d9414170d3e RMD160 (hypothesis-3.11.2.tar.gz) = 2c9428743a64610d51096e93a643edbe3240ab39 SHA512 (hypothesis-3.11.2.tar.gz) = 3fed98a8f08e5e3fcfcd8776f2aa0f9610130f82b78c958dc6b2d2dfbf9ed0a494c5d28682e747fd42288ce31b797cef9ee964c6c4bfa8bcb39511257263d3e5 Size (hypothesis-3.11.2.tar.gz) = 83397 bytes @ 1.13 log @3.11.1: This is a minor ergonomics release. Tracebacks shown by pytest no longer include Hypothesis internals for test functions decorated with @@given. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.12 2017/05/24 11:28:37 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.11.1.tar.gz) = 0c8438eb277328b9ee4f8a94865774c7d7b63477 RMD160 (hypothesis-3.11.1.tar.gz) = 8c71de01adf8c8fb0e6f2844f3b8113db7a71d95 SHA512 (hypothesis-3.11.1.tar.gz) = 34ce58ff5b81d127b88ae10883c7eb1f10276bb5a704ea13fdc2a8330178af8795f73eb5ec7e4f0e7c68da651283df62288069a971fa6706c929630fe00a9fb3 Size (hypothesis-3.11.1.tar.gz) = 83295 bytes @ 1.12 log @Changes 3.11.0: This is a feature release, adding datetime-related strategies to the core strategies. extra.pytz.timezones allows you to sample pytz timezones from the Olsen database. Use directly in a recipe for tz-aware datetimes, or compose with st.none() to allow a mix of aware and naive output. The new dates, times, datetimes, and timedeltas strategies in hypothesis.strategies are all constrained by objects of their type. This means that you can generate dates bounded by a single day (i.e. a single date), or datetimes constrained to the microsecond. times and datetimes take an optional timezones= argument, which defaults to none() for naive times. You can use our extra strategy based on pytz, or roll your own timezones strategy with dateutil or even the standard library. The old dates, times, and datetimes strategies in hypothesis.extra.datetimes are deprecated in favor of the new core strategies, which are more flexible and have no dependencies. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.11 2017/05/23 07:57:50 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.11.0.tar.gz) = f8d5c221e711b6eb1837bcb8a7d4c0419b50b282 RMD160 (hypothesis-3.11.0.tar.gz) = 40ae74d7c1f931b30acf46d15794d60eed1f73d9 SHA512 (hypothesis-3.11.0.tar.gz) = e5f88c6ce5e255cdcc5f3c906fc9f14ecab2d0a611a82cc927536966afc2351f804d8e8f3b9709c2997504fac8930718ae6d79a68415617502419e5a300c1152 Size (hypothesis-3.11.0.tar.gz) = 83191 bytes @ 1.11 log @Changes 3.10.0: Hypothesis now uses inspect.getfullargspec internally. On Python 2, there are no visible changes. On Python 3 @@given and @@composite now preserve annotations on the decorated function. Keyword-only arguments are now either handled correctly (e.g. @@composite), or caught in validation instead of silently discarded or raising an unrelated error later (e.g. @@given). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.10 2017/05/20 05:36:31 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.10.0.tar.gz) = e91b249f34e80d1fddb49d2ce8decab07a58339e RMD160 (hypothesis-3.10.0.tar.gz) = 2f2be0cf26b841c98e346761e1614e061ad23777 SHA512 (hypothesis-3.10.0.tar.gz) = e6c29d3d2e0bb74dfe00058363ceaad4b4026ed83c51cc403ffb2db8ac7930f933677a9217c2227ab48a1ceaaa4d8ee94aee6797280eaf50ac76e40b3a3ceec5 Size (hypothesis-3.10.0.tar.gz) = 80386 bytes @ 1.10 log @3.9.0 - 2017-05-19 This is feature release, expanding the capabilities of the decimals strategy. * The new (optional) places argument allows you to generate decimals with a certain number of places (e.g. cents, thousandths, satoshis). * If allow_infinity is None, setting min_bound no longer excludes positive infinity and setting max_value no longer excludes negative infinity. * All of NaN, -Nan, sNaN, and -sNaN may now be drawn if allow_nan is True, or if allow_nan is None and min_value or max_value is None. * min_value and max_value may be given as decimal strings, e.g. "1.234". @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.9 2017/05/17 13:01:58 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.9.0.tar.gz) = 56cd592ed731fdafa8a582c3de7ba6982b840d0d RMD160 (hypothesis-3.9.0.tar.gz) = b1deffbd1818f0281e2004e81ef74cc8fb08d8f5 SHA512 (hypothesis-3.9.0.tar.gz) = 0d6b62105719d455e7a65b176f176abac639cfa2abb512e7e3fdc62907f0b955dc13c31f22e217c8d0b36f6aa058152ba96424dc79f26ad5bb41dca58690dfa5 Size (hypothesis-3.9.0.tar.gz) = 80050 bytes @ 1.9 log @Changes 3.8.5: Import sqlite3 only if used; minor bugfixes @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.8 2017/05/10 03:45:51 adam Exp $ d3 4 a6 4 SHA1 (hypothesis-3.8.5.tar.gz) = 07a9882f6865388a06723f36aecf1baaa433de1c RMD160 (hypothesis-3.8.5.tar.gz) = 11b9044df466d4863f98eda01479accd67301495 SHA512 (hypothesis-3.8.5.tar.gz) = fe2a70610f3b462229afa67c5c461a3261f1da1613e485b82e051fc048c0c3ff4620c33bcb69a3965e6f5f06c7b64842adcc3b1a4c2de801accad3ca382b9cce Size (hypothesis-3.8.5.tar.gz) = 80761 bytes @ 1.8 log @Changes 3.8.3: Remove pytest version check @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.7 2017/04/27 12:55:54 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-3.8.3.tar.gz) = ad37fe5ff1afbb9c07e6fd2be13e12d7f9b7fab4 RMD160 (hypothesis-3.8.3.tar.gz) = 56d9553c16568191e61cc4fed0e345e60b3f0d24 SHA512 (hypothesis-3.8.3.tar.gz) = 6ad61a84af87263ce639f0cef36dec90c2e1cc9df64fcd053b44c3790b445a2bd103ba99cc17f22e8fb06dfdbcf082833b000764bab94532401ffe30a54cb439 Size (hypothesis-3.8.3.tar.gz) = 79107 bytes @ 1.7 log @Updated py-hypothesis to 3.8.2. 3.8.2 - 2017-04-26 This is a code reorganisation release that moves some internal test helpers out of the main source tree so as to not have changes to them trigger releases in future. 3.8.1 - 2017-04-26 This is a documentation release. Almost all code examples are now doctests checked in CI, eliminating stale examples. 3.8.0 - 2017-04-23 This is a feature release, adding the iterables strategy, equivalent to lists(...).map(iter) but with a much more useful repr. You can use this strategy to check that code doesn’t accidentally depend on sequence properties such as indexing support or repeated iteration. 3.7.4 - 2017-04-22 This is a bug fix release for a single bug: In 3.7.3, using @@example and a pytest fixture in the same test could cause the test to fail to fill the arguments, and throw a TypeError. 3.7.3 - 2017-04-21 This release should include no user visible changes and is purely a refactoring release. This modularises the behaviour of the core “given” function, breaking it up into smaller and more accessible parts, but its actual behaviour should remain unchanged. 3.7.2 - 2017-04-21 This reverts an undocumented change in 3.7.1 which broke installation on debian stable: The specifier for the hypothesis[django] extra_requires had introduced a wild card, which was not supported on the default version of pip. 3.7.1 - 2017-04-21 This is a bug fix and internal improvements release. In particular Hypothesis now tracks a tree of where it has already explored. This allows it to avoid some classes of duplicate examples, and significantly improves the performance of shrinking failing examples by allowing it to skip some shrinks that it can determine can’t possibly work. Hypothesis will no longer seed the global random arbitrarily unless you have asked it to using random_module() Shrinking would previously have not worked correctly in some special cases on Python 2, and would have resulted in suboptimal examples. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.6 2017/04/19 17:27:15 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-3.8.2.tar.gz) = 7416346ebd8ae6f78f482980f80a57764913e27f RMD160 (hypothesis-3.8.2.tar.gz) = 8c4338df4656acaf82e81784e19f4be4139428bd SHA512 (hypothesis-3.8.2.tar.gz) = 373c2eaa4456fbb841ac7459b332bb7f1c11d279bf6b691f3097daf7bc9fab11c49c5fc8a8b2742e14810bda1d1c35f021a341c8f3f8ac784775b7d8401d2fbd Size (hypothesis-3.8.2.tar.gz) = 79204 bytes @ 1.6 log @Updated py-hypothesis to 3.7.0. 3.7.0 - 2017-03-20 This is a feature release. New features: Rule based stateful testing now has an @@invariant decorator that specifies methods that are run after init and after every step, allowing you to encode properties that should be true at all times. Thanks to Tom Prince for this feature. The decimals strategy now supports allow_nan and allow_infinity flags. There are significantly more strategies available for numpy, including for generating arbitrary data types. Thanks to Zac Hatfield Dodds for this feature. When using the data() strategy you can now add a label as an argument to draw(), which will be printed along with the value when an example fails. Thanks to Peter Inglesby for this feature. Bug fixes: Bug fix: @@composite now preserves functions’ docstrings. The build is now reproducible and doesn’t depend on the path you build it from. Thanks to Chris Lamb for this feature. numpy strategies for the void data type did not work correctly. Thanks to Zac Hatfield Dodds for this fix. There have also been a number of performance optimizations: The permutations() strategy is now significantly faster to use for large lists (the underlying algorithm has gone from O(n^2) to O(n)). Shrinking of failing test cases should have got significantly faster in some circumstances where it was previously struggling for a long time. Example generation now involves less indirection, which results in a small speedup in some cases (small enough that you won’t really notice it except in pathological cases). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.5 2017/01/01 15:35:12 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-3.7.0.tar.gz) = ba39a4b49420c6b9d7c4c1909f4f6d6bb0b8063f RMD160 (hypothesis-3.7.0.tar.gz) = 38440540b5d6f982cad4fcb63e40f7e8ec26cbc6 SHA512 (hypothesis-3.7.0.tar.gz) = 81fa8083e91ca7c2e64d06b9fec65209c33fe6517950a9aed9d074200726b979169639fce0b164665d9299d3ac51ea223bb5a0b0e4900a2df9254b365d19e7bd Size (hypothesis-3.7.0.tar.gz) = 79113 bytes @ 1.5 log @Updated py-hypothesis to 3.6.1. 3.6.1 - 2016-12-20 This release fixes a dependency problem and makes some small behind the scenes improvements. The fake-factory dependency was renamed to faker. If you were depending on it through hypothesis[django] or hypothesis[fake-factory] without pinning it yourself then it would have failed to install properly. This release changes it so that hypothesis[fakefactory] (which can now also be installed as hypothesis[faker]) will install the renamed faker package instead. This release also removed the dependency of hypothesis[django] on hypothesis[fakefactory] - it was only being used for emails. These now use a custom strategy that isnt from fakefactory. As a result you should also see performance improvements of tests which generated User objects or other things with email fields, as well as better shrinking of email addresses. The distribution of code using nested calls to one_of or the | operator for combining strategies has been improved, as branches are now flattened to give a more uniform distribution. Examples using composite or flatmap should now shrink better. In particular this will affect things which work by first generating a length and then generating that many items, which have historically not shrunk very well. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.4 2016/11/07 11:10:24 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-3.6.1.tar.gz) = fed3636a400913b61a968b61b91339e738a77217 RMD160 (hypothesis-3.6.1.tar.gz) = 93846c09006b22407cda87cc261487708a425cae SHA512 (hypothesis-3.6.1.tar.gz) = 89a884cfc147b09e6356ea1f2272784b256065a7ff86584c133c00d11cb0fda0a8463e347c15698c605f6c2d8fc7aa09cd4c216849cb2b851566bdf4268c28c4 Size (hypothesis-3.6.1.tar.gz) = 75106 bytes @ 1.4 log @Updated py-hypothesis to 3.6.0. 3.6.0 - 2016-10-31 This release reverts Hypothesis to its old pretty printing of lambda functions based on attempting to extract the source code rather than decompile the bytecode. This is unfortunately slightly inferior in some cases and may result in you occasionally seeing things like lambda x: in statistics reports and strategy reprs. This removes the dependencies on uncompyle6, xdis and spark-parser. The reason for this is that the new functionality was based on uncompyle6, which turns out to introduce a hidden GPLed dependency - it in turn depended on xdis, and although the library was licensed under the MIT license, it contained some GPL licensed source code and thus should have been released under the GPL. My interpretation is that Hypothesis itself was never in violation of the GPL (because the license it is under, the Mozilla Public License v2, is fully compatible with being included in a GPL licensed work), but I have not consulted a lawyer on the subject. Regardless of the answer to this question, adding a GPLed dependency will likely cause a lot of users of Hypothesis to inadvertently be in violation of the GPL. As a result, if you are running Hypothesis 3.5.x you really should upgrade to this release immediately. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2016/10/19 12:42:56 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-3.6.0.tar.gz) = 67b77fc0a769d9502e7ebb5ee10eb426f1343776 RMD160 (hypothesis-3.6.0.tar.gz) = fe7285ac4e1cf8e9dd42000d0fda982503d2c270 SHA512 (hypothesis-3.6.0.tar.gz) = cb885628e5c38ab9312cfb177ebc3c014617d21031737f5fba343ba485c1b8ff82b1302e7bc1d3e79192bfd8324fd0501498c968f3ac8343829f8965f6354389 Size (hypothesis-3.6.0.tar.gz) = 73586 bytes @ 1.3 log @Updated py-hypothesis to 3.5.3. 3.5.3 - 2016-10-05 This is a bug fix release. Bugs fixed: If the same test was running concurrently in two processes and there were examples already in the test database which no longer failed, Hypothesis would sometimes fail with a FileNotFoundError (IOError on Python 2) because an example it was trying to read was deleted before it was read. (Issue #372). Drawing from an integers() strategy with both a min_value and a max_value would reject too many examples needlessly. Now it repeatedly redraws until satisfied. (Pull request #366. Thanks to Calen Pennington for the contribution). 3.5.2 - 2016-09-24 This is a bug fix release. The Hypothesis pytest plugin broke pytest support for doctests. Now it doesn’t. 3.5.1 - 2016-09-23 This is a bug fix release. Hypothesis now runs cleanly in -B and -BB modes, avoiding mixing bytes and unicode. unittest.TestCase tests would now have shown up in the new statistics mode. Now they do. Similarly, stateful tests would not have shown up in statistics and now they do. Statistics now print with pytest node IDs (the names you’d get in pytest verbose mode). 3.5.0 - 2016-09-22 This is a feature release. fractions() and decimals() strategies now support min_value and max_value parameters. Thanks go to Anne Mulhern for the development of this feature. The Hypothesis pytest plugin now supports a –hypothesis-show-statistics parameter that gives detailed statistics about the tests that were run. Huge thanks to Jean-Louis Fuchs and Adfinis-SyGroup for funding the development of this feature. There is a new event() function that can be used to add custom statistics. Additionally there have been some minor bug fixes: In some cases Hypothesis should produce fewer duplicate examples (this will mostly only affect cases with a single parameter). py.test command line parameters are now under an option group for Hypothesis (thanks to David Keijser for fixing this) Hypothesis would previously error if you used function annotations on your tests under Python 3.4. The repr of many strategies using lambdas has been improved to include the lambda body (this was previously supported in many but not all cases). @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2016/08/24 10:20:35 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-3.5.3.tar.gz) = 47a403ac3ff5b56c1332fc9df8c53e12c44bb043 RMD160 (hypothesis-3.5.3.tar.gz) = 1faedc1af8deec39c977121b50dc45e26867a0e0 SHA512 (hypothesis-3.5.3.tar.gz) = 1b22715e3ead84075d58c3e6ddfc074f542b2bce077e4e63fadd5910266bad81b3393b8a5c8d3b77e6f73e6987428fc92bd38a2d02003b5f490dd4ce08bca34c Size (hypothesis-3.5.3.tar.gz) = 73052 bytes @ 1.2 log @Updated py-hypothesis to 3.4.2. 3.4.2 - 2016-07-13 This is a bug fix release, fixing a number of problems with the settings system: Test functions defined using @@given can now be called from other threads (Issue #337) Attempting to delete a settings property would previously have silently done the wrong thing. Now it raises an AttributeError. Creating a settings object with a custom database_file parameter was silently getting ignored and the default was being used instead. Now it’s not. 3.4.1 - 2016-07-07 This is a bug fix release for a single bug: On Windows when running two Hypothesis processes in parallel (e.g. using pytest-xdist) they could race with each other and one would raise an exception due to the non-atomic nature of file renaming on Windows and the fact that you can’t rename over an existing file. This is now fixed. 3.4.0 - 2016-05-27 This release is entirely provided by Lucas Wiman: models() strategies from hypothesis.extra.django will now respect much more of Django’s validations out of the box. Wherever possible full_clean() should succeed. In particular: The max_length, blank and choices kwargs are now respected. Add support for DecimalField. If a field includes validators, the list of validators are used to filter the field strategy. 3.3.0 - 2016-05-27 This release went wrong and is functionally equivalent to 3.2.0. Ignore it. 3.2.0 - 2016-05-19 This is a small single-feature release: All tests using @@given now fix the global random seed. This removes the health check for that. If a non-zero seed is required for the final falsifying example, it will be reported. Otherwise Hypothesis will assume randomization was not a significant factor for the test and be silent on the subject. If you use the random_module() strategy this will continue to work and will always display the seed. 3.1.3 - 2016-05-01 Single bug fix release Another charmap problem. In 3.1.2 text/characters would break on systems which had /tmp/ mounted on a different partition than the Hypothesis storage directory (usually in home). This fixes that. 3.1.2 - 2016-04-30 Single bug fix release: Anything which used a text() or characters() strategy was broken on Windows and I hadn’t updated appveyor to use the new repository location so I didn’t notice. This is now fixed and windows support should work correctly. 3.1.1 - 2016-04-29 Minor bug fix release. Fix concurrency issue when running tests that use text() from multiple processes at once (Bug #302, thanks to Alex Chan). Improve performance of code using lists with max_size (thanks to Cristi Cobzarenco). Fix install on Python 2 with ancient versions of pip so that it installs the enum34 backport (thanks to Donald Stufft for telling me how to do this). Remove duplicated __all__ exports from hypothesis.strategies (thanks to Piët Delport). Update headers to point to new repository location. Allow use of strategies that can’t be used in find() (e.g. choices) in stateful testing. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2016/04/24 09:44:35 wiz Exp $ d3 4 a6 4 SHA1 (hypothesis-3.4.2.tar.gz) = b551adf458dc389fd7735aa98dfecab299893060 RMD160 (hypothesis-3.4.2.tar.gz) = 40d5974b58ea7671adb3c1e8d3aea9f5e934852c SHA512 (hypothesis-3.4.2.tar.gz) = 355815a11c57448a175a984d1ad6e87dcd9cc954acf312bfeff4ec499678166be6b9751173307748ff8b2d325b502cd31151e883e2a52f2d51a0395436bdb039 Size (hypothesis-3.4.2.tar.gz) = 71270 bytes @ 1.1 log @Import py-hypothesis-3.1.0 as devel/py-hypothesis. Hypothesis is a library for testing your Python code against a much larger range of examples than you would ever want to write by hand. It's based on the Haskell library, Quickcheck, and is designed to integrate seamlessly into your existing Python unit testing work flow. Hypothesis is both extremely practical and also advances the state of the art of unit testing by some way. It's easy to use, stable, and extremely powerful. If you're not using Hypothesis to test your project then you're missing out. @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 4 SHA1 (hypothesis-3.1.0.tar.gz) = ed7d1186582516fe9871765d3686a57117af606d RMD160 (hypothesis-3.1.0.tar.gz) = 1f447d90a45f8658981558b5b5f161c9fff30df4 SHA512 (hypothesis-3.1.0.tar.gz) = c258c450960cf8742a54e2c5fb58609f4c529b5ba2cf0fb48966b7a7678223bf2f52919aa4f05690c7e7e7527a4e008fad1ca5ec18b27f3ee5d6546b26881706 Size (hypothesis-3.1.0.tar.gz) = 69051 bytes @